/* Shadynasty league components. Colors and fonts come from the Shady Arcade theme, with fallbacks here. */
:root {
  --sd-ink: #070A1C; --sd-navy: #0B1035; --sd-panel: #111850; --sd-panel-2: #1A2478; --sd-line: #2E3A8C;
  --sd-blue: #2459FF; --sd-cyan: #3FE0FF; --sd-yellow: #FFD31A; --sd-orange: #FF7A00; --sd-red: #F0202F;
  --sd-green: #2FD15C; --sd-turf: #1B7A33; --sd-text: #F2F5FF; --sd-dim: #A9B3E0;
}

/* Headings */
.sd-pagehead { padding: 44px 0 4px; max-width: 880px; }
.sd-kicker { display: inline-block; font-family: var(--sd-hand, monospace); font-size: 11px; line-height: 1.7; letter-spacing: .05em; text-transform: uppercase; color: var(--sd-yellow); text-shadow: 2px 2px 0 #000; }
.sd-kicker::before { content: '\25B6\00a0'; color: var(--sd-red); }
.sd-h1 { margin: 10px 0 12px 4px; font-family: var(--sd-slab, Impact, sans-serif); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; text-transform: uppercase; color: #FFFFFF; text-shadow: 3px 3px 0 var(--sd-ink), 5px 5px 0 var(--sd-blue); transform: skewX(-7deg); transform-origin: 0 100%; overflow-wrap: anywhere; }
.sd-h1-xl { font-size: clamp(46px, 8vw, 92px); text-shadow: 4px 4px 0 var(--sd-ink), 7px 7px 0 var(--sd-red); }
.sd-lead { margin: 0 0 8px; max-width: 740px; font-size: 19px; color: #D3DAF7; }
.sd-small { font-size: .85em; opacity: .85; }
.sd-section { margin-top: 46px; }
.sd-h2row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 4px solid var(--sd-yellow); box-shadow: 0 4px 0 var(--sd-red); }
.sd-h2 { margin: 0; font-family: var(--sd-slab, Impact, sans-serif); font-weight: 400; font-size: 28px; line-height: 1.15; text-transform: uppercase; color: #FFFFFF; text-shadow: 3px 3px 0 var(--sd-blue); transform: skewX(-7deg); transform-origin: 0 100%; }
.sd-alias { display: inline-block; margin-left: 10px; font-family: var(--sd-cond, sans-serif); font-size: 23px; line-height: 1; letter-spacing: .02em; text-transform: none; text-shadow: none; color: var(--sd-cyan); }
.sd-note { font-family: var(--sd-cond, sans-serif); font-size: 20px; line-height: 1.1; letter-spacing: .02em; color: var(--sd-dim); }
.sd-link { color: var(--sd-yellow); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sd-link:hover { color: var(--sd-cyan); text-decoration-thickness: 2px; }
.sd-link-light { color: var(--sd-cyan); font-weight: 600; }
.sd-up { color: var(--sd-green); font-weight: 700; }
.sd-down { color: #FF5A68; font-weight: 700; }
.sd-footnote { max-width: 920px; margin: 16px 0 0; font-size: 14px; color: var(--sd-dim); }

/* Arcade buttons */
.sd-btnrow { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-left: 6px; }
.sd-btn { display: inline-block; padding: 11px 22px 9px; font-family: var(--sd-slab, Impact, sans-serif); font-size: 17px; line-height: 1; text-transform: uppercase; text-decoration: none; color: var(--sd-ink); background: linear-gradient(180deg, #FFE76A, #F2B800); border: 3px solid #000; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -4px 0 rgba(0, 0, 0, .25), 4px 4px 0 #000; transform: skewX(-10deg); }
.sd-btn:hover, .sd-btn:focus-visible { transform: skewX(-10deg) translate(-1px, -2px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -4px 0 rgba(0, 0, 0, .25), 5px 6px 0 #000, 0 0 18px rgba(255, 211, 26, .6); }
.sd-btn-ghost { color: #FFFFFF; background: linear-gradient(180deg, #4A75FF, #1C3FC0); }

/* Tables: the scoreboard */
.sd-table-wrap { overflow-x: auto; background: var(--sd-panel); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sd-line), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-table { width: 100%; border-collapse: collapse; color: var(--sd-text); font-size: 16px; }
.sd-table th { padding: 10px 12px 6px; text-align: left; white-space: nowrap; font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 19px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-yellow); background: #000; }
.sd-table td { padding: 9px 12px; vertical-align: middle; border-bottom: 1px solid rgba(169, 179, 224, .14); }
.sd-table tbody tr:last-child td { border-bottom: 0; }
.sd-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .035); }
.sd-table tr.sd-gold td { background: rgba(255, 211, 26, .17); }
.sd-table tr.sd-gold td:first-child { box-shadow: inset 5px 0 0 var(--sd-yellow); }
.sd-table tr.sd-mud td { background: rgba(240, 32, 47, .16); }
.sd-table tr.sd-mud td:first-child { box-shadow: inset 5px 0 0 var(--sd-red); }
.sd-table th.sd-num, .sd-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sd-rank { width: 44px; text-align: center; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 26px; line-height: 1; color: var(--sd-yellow); }
.sd-strong { font-weight: 600; }
.sd-team { font-style: italic; color: var(--sd-dim); }
.sd-total { font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 24px; line-height: 1; }
.sd-table-wide { font-size: 15px; }
.sd-table-wide th, .sd-table-wide td { padding: 8px 9px; }
.sd-table-wide th { padding-bottom: 5px; }
.sd-table-wide td:first-child { white-space: nowrap; }
.sd-table-wide th:first-child, .sd-table-wide td:first-child { position: sticky; left: 0; z-index: 1; background: var(--sd-panel); box-shadow: 2px 0 0 rgba(0, 0, 0, .5); }
.sd-table-wide th:first-child { background: #000; }
.sd-table-wide tbody tr:nth-child(even) td:first-child { background: #161D57; }
.sd-table .sd-small { opacity: 1; color: var(--sd-dim); }

/* Badges: slanted arcade labels */
.sd-badge { display: inline-block; padding: 2px 9px 0; white-space: nowrap; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 17px; line-height: 1.15; letter-spacing: .05em; text-transform: uppercase; color: var(--sd-ink); background: var(--sd-dim); border: 2px solid #000; transform: skewX(-12deg); }
.sd-badge-gold { background: var(--sd-yellow); }
.sd-badge-green { background: var(--sd-green); }
.sd-badge-mud, .sd-badge-orange { color: #FFFFFF; background: var(--sd-red); }
.sd-badge-reed { color: #FFFFFF; background: #5D6AA8; }
.sd-badge-ghost { color: var(--sd-cyan); background: transparent; border: 2px dashed var(--sd-cyan); }
.sd-pos { display: inline-block; padding: 1px 5px 0; vertical-align: 1px; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 15px; line-height: 1.05; letter-spacing: .04em; color: #FFFFFF; background: var(--sd-blue); border-radius: 2px; }

/* Hero */
.sd-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 64px; padding: 48px 0 8px; }
.sd-hero-main { flex: 999 1 460px; min-width: 0; }
.sd-hero .sd-small { color: var(--sd-dim); }

/* Player select card */
.sd-pc { position: relative; display: block; padding: 10px 12px 12px; color: var(--sd-text); text-decoration: none; background: linear-gradient(180deg, #1F2D8E 0%, #111850 55%, #0B1036 100%); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px #4A64FF, 6px 7px 0 rgba(0, 0, 0, .55); transition: transform .12s ease, box-shadow .12s ease; }
a.sd-pc:hover, a.sd-pc:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--sd-yellow), 0 0 0 3px var(--sd-yellow), 0 0 26px rgba(255, 211, 26, .5), 6px 11px 0 rgba(0, 0, 0, .55); outline: none; }
.sd-pc-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-family: var(--sd-cond, sans-serif); font-size: 18px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-dim); }
.sd-pc-no { font-family: var(--sd-hand, monospace); font-size: 11px; color: var(--sd-yellow); text-shadow: 2px 2px 0 #000; }
.sd-pc-photo { position: relative; display: block; background: radial-gradient(circle at 50% 62%, #8FF3FF 0, var(--sd-cyan) 18%, var(--sd-blue) 52%, #0D1340 100%); border: 3px solid #000; clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.sd-pc .sd-avatar { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.sd-avatar-empty { display: flex; align-items: center; justify-content: center; }
.sd-avatar-empty .sd-helmet { width: 66%; fill: #0D1340; color: var(--sd-yellow); }
.sd-pc .sd-avatar-empty .sd-helmet { width: 70%; transform: scaleX(-1); }
.sd-pc-name { display: block; margin-top: 10px; font-family: var(--sd-slab, Impact, sans-serif); font-size: 18px; line-height: 1.12; text-transform: uppercase; color: #FFFFFF; text-shadow: 2px 2px 0 #000, 3px 3px 0 var(--sd-blue); transform: skewX(-6deg); overflow-wrap: anywhere; }
.sd-pc-team { display: block; margin-top: 3px; font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 20px; line-height: 1.05; letter-spacing: .02em; color: var(--sd-yellow); overflow-wrap: anywhere; }
.sd-bars { display: grid; gap: 6px; margin-top: 10px; }
.sd-bar { display: grid; grid-template-columns: 58px 1fr 48px; align-items: center; gap: 8px; }
.sd-bar-label { font-family: var(--sd-cond, sans-serif); font-size: 17px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--sd-dim); }
.sd-bar-track { display: block; height: 11px; background: #050818; border: 1px solid var(--sd-line); }
.sd-bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--sd-red), var(--sd-orange) 45%, var(--sd-yellow)); -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px); mask-image: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px); }
.sd-bar-val { font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 19px; line-height: 1; text-align: right; color: #FFFFFF; }
.sd-tag { position: absolute; z-index: 3; top: 30px; right: -16px; width: 70px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 15px; line-height: .9; letter-spacing: .04em; text-transform: uppercase; color: var(--sd-ink); background: var(--sd-yellow); clip-path: polygon(50.0% 0.0%, 58.0% 9.8%, 69.1% 3.8%, 72.8% 15.9%, 85.4% 14.6%, 84.1% 27.2%, 96.2% 30.9%, 90.2% 42.0%, 100.0% 50.0%, 90.2% 58.0%, 96.2% 69.1%, 84.1% 72.8%, 85.4% 85.4%, 72.8% 84.1%, 69.1% 96.2%, 58.0% 90.2%, 50.0% 100.0%, 42.0% 90.2%, 30.9% 96.2%, 27.2% 84.1%, 14.6% 85.4%, 15.9% 72.8%, 3.8% 69.1%, 9.8% 58.0%, 0.0% 50.0%, 9.8% 42.0%, 3.8% 30.9%, 15.9% 27.2%, 14.6% 14.6%, 27.2% 15.9%, 30.9% 3.8%, 42.0% 9.8%); filter: drop-shadow(2px 2px 0 #000); transform: rotate(10deg); }
.sd-tag-big { font-family: var(--sd-slab, Impact, sans-serif); font-size: 20px; line-height: 1; }
.sd-pc-lg { flex: 0 1 330px; min-width: 250px; }
.sd-pc-lg .sd-pc-name { font-size: 24px; }
.sd-pc-lg .sd-tag { width: 84px; height: 84px; font-size: 17px; }
.sd-cardline { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 7px; border-top: 1px dashed var(--sd-line); font-family: var(--sd-cond, sans-serif); font-size: 18px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--sd-dim); white-space: nowrap; }
.sd-cardline span { overflow: hidden; text-overflow: ellipsis; }

/* Members grid */
.sd-cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 30px 26px; margin-top: 36px; }
.sd-pc-sm { min-width: 0; }

/* Tiles and panels */
.sd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sd-tile { padding: 12px 14px 10px; background: linear-gradient(180deg, var(--sd-panel-2), var(--sd-panel)); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sd-line), 5px 6px 0 rgba(0, 0, 0, .5); }
.sd-tile-label { font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 18px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-yellow); }
.sd-tile-value { margin: 6px 0 2px; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 50px; line-height: .85; color: #FFFFFF; text-shadow: 2px 2px 0 var(--sd-blue); }
.sd-tile-sub { font-size: 14px; color: var(--sd-dim); }
.sd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 22px; }
.sd-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.sd-card { padding: 18px 20px; background: linear-gradient(180deg, var(--sd-panel-2), var(--sd-panel)); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sd-line), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-empty { margin-top: 44px; }
.sd-label { margin-bottom: 4px; font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 19px; line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-yellow); }
.sd-label-light { margin-bottom: 10px; color: var(--sd-cyan); }
.sd-big { font-family: var(--sd-slab, Impact, sans-serif); font-size: 21px; line-height: 1.2; text-transform: uppercase; }
.sd-sub { margin-top: 4px; font-size: 15px; color: var(--sd-dim); }
.sd-card .sd-small, .sd-rc .sd-small, .sd-trade .sd-small { opacity: 1; color: var(--sd-dim); }
.sd-plist { margin: 10px 0 0; padding: 0; list-style: none; }
.sd-plist li { padding: 8px 0; border-top: 1px dashed var(--sd-line); }
.sd-plist li:first-child { border-top: 0; }
.sd-plist .sd-label { display: block; margin-bottom: 2px; font-size: 16px; }
.sd-plist-n { display: block; margin-top: 2px; font-size: 14px; color: var(--sd-dim); }

/* Scouting report: drawn up on the playbook board */
.sd-notes { position: relative; padding: 22px 26px 18px; background-color: #0E3A22; background-image: repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, .07) 78px 80px), radial-gradient(ellipse at 30% 0, rgba(255, 255, 255, .08), transparent 60%); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 6px #0E3A22, inset 0 0 0 8px rgba(255, 255, 255, .55), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-notes-title { margin-bottom: 10px; font-family: var(--sd-slab, Impact, sans-serif); font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #FFFFFF; text-shadow: 2px 2px 0 #000; }
.sd-notes-title::after { content: 'X  O  X'; margin-left: 14px; font-family: var(--sd-hand, monospace); font-size: 11px; letter-spacing: .1em; vertical-align: 5px; color: rgba(255, 255, 255, .45); text-shadow: none; white-space: pre; }
.sd-notes-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 34px; margin: 0; }
.sd-notes-list div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.sd-notes-list dt { font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 19px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--sd-yellow); }
.sd-notes-list dd { margin: 0; font-size: 16px; line-height: 1.45; color: #FFFFFF; }

/* Report card */
.sd-report { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.sd-rc { position: relative; display: flex; flex-direction: column; padding: 18px 20px; background: linear-gradient(180deg, var(--sd-panel-2), var(--sd-panel)); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sd-line), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sd-rc-title { font-family: var(--sd-slab, Impact, sans-serif); font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.sd-grade { flex: 0 0 auto; width: 72px; height: 72px; margin: -6px -4px 0 0; display: flex; align-items: center; justify-content: center; font-family: var(--sd-slab, Impact, sans-serif); font-size: 38px; line-height: 1; border: 5px double currentColor; border-radius: 50%; text-shadow: 0 0 14px currentColor; box-shadow: 0 0 16px -4px currentColor; transform: rotate(-10deg); }
.sd-grade-a { color: var(--sd-green); }
.sd-grade-b { color: var(--sd-cyan); }
.sd-grade-c { color: var(--sd-yellow); }
.sd-grade-d { color: var(--sd-orange); }
.sd-grade-f { color: #FF4555; }
.sd-grade-none { color: #6E79B0; text-shadow: none; box-shadow: none; }
.sd-grade-sm { display: inline-block; min-width: 32px; padding: 1px 4px 0; text-align: center; font-family: var(--sd-slab, Impact, sans-serif); font-size: 15px; line-height: 1.6; border: 2px solid currentColor; border-radius: 50%; }
.sd-rc-big { margin-top: 4px; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 32px; line-height: 1; }
.sd-rc-more { display: inline-block; margin-top: auto; padding-top: 10px; }

/* Hall of champions: victory screens */
.sd-plaques { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 30px 26px; margin-top: 30px; }
.sd-plaque { position: relative; overflow: hidden; padding: 20px 18px 20px; text-align: center; color: #FFFFFF; background: repeating-conic-gradient(from 0deg at 50% 36%, rgba(255, 255, 255, .08) 0 8deg, transparent 8deg 16deg), radial-gradient(circle at 50% 36%, #FFB000 0, #F0202F 30%, #3E0E62 68%, #140A30 100%); border: 5px solid; border-image: linear-gradient(180deg, #FFFFFF, #9AA6D8 45%, #39437A 55%, #DDE3FF) 1; box-shadow: 0 0 0 3px #000, 6px 7px 0 3px rgba(0, 0, 0, .5); }
.sd-plaque-year { font-family: var(--sd-slab, Impact, sans-serif); font-size: 36px; line-height: 1; color: #FFFFFF; text-shadow: 3px 3px 0 #000, 5px 5px 0 var(--sd-blue); transform: skewX(-8deg); }
.sd-plaque-avatar { display: block; width: 112px; height: 112px; margin: 14px auto; object-fit: cover; background: radial-gradient(circle at 50% 62%, var(--sd-cyan), var(--sd-blue) 55%, #0D1340); border: 4px solid var(--sd-yellow); border-radius: 50%; box-shadow: 0 0 0 3px #000, 0 0 26px rgba(255, 211, 26, .7); }
span.sd-plaque-avatar .sd-helmet { width: 70%; transform: scaleX(-1); }
.sd-brass { max-width: 236px; margin: 0 auto; padding: 7px 10px 5px; color: var(--sd-ink); background: linear-gradient(180deg, #FFE76A, #F2B800); border: 3px solid #000; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 3px 3px 0 #000; transform: skewX(-8deg); }
.sd-brass-name { font-family: var(--sd-slab, Impact, sans-serif); font-size: 17px; line-height: 1.15; text-transform: uppercase; }
.sd-brass-name a { color: var(--sd-ink); text-decoration: none; }
.sd-brass-name a:hover { text-decoration: underline; }
.sd-brass-team { font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 19px; line-height: 1.05; overflow-wrap: anywhere; }
.sd-plaque-lines { margin-top: 14px; font-size: 15px; line-height: 1.5; text-shadow: 1px 1px 0 #000; }
.sd-plaque-sacko { display: inline-block; margin-top: 8px; padding: 3px 8px 2px; font-family: var(--sd-cond, sans-serif); font-size: 18px; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: #FFFFFF; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); }
.sd-plaque-note { margin-top: 6px; font-style: italic; }
.sd-plaque-hero { flex: 0 1 290px; min-width: 240px; }
.sd-plaque-hero .sd-plaque-year { font-size: 24px; text-transform: uppercase; }

/* Trades */
.sd-trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(470px, 100%), 1fr)); gap: 24px; }
.sd-trade { overflow: hidden; background: linear-gradient(180deg, var(--sd-panel-2), var(--sd-panel)); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sd-line), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-trade-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; padding: 8px 14px 6px; color: #FFFFFF; background: linear-gradient(90deg, #C8101E, var(--sd-red) 40%, var(--sd-orange)); border-bottom: 3px solid #000; }
.sd-trade-head .sd-small { color: #FFFFFF; opacity: .9; }
.sd-trade-date { font-family: var(--sd-slab, Impact, sans-serif); font-size: 15px; text-transform: uppercase; text-shadow: 2px 2px 0 rgba(0, 0, 0, .5); }
.sd-trade-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sd-trade-side { display: flex; flex-direction: column; padding: 12px 14px; }
.sd-trade-side + .sd-trade-side { border-left: 2px dashed var(--sd-line); }
.sd-trade-who { margin-bottom: 6px; font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--sd-dim); }
.sd-trade-who .sd-link { font-weight: 600; }
.sd-trade-items { margin: 0 0 10px; padding: 0; list-style: none; }
.sd-trade-items li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 15px; border-bottom: 1px dotted rgba(169, 179, 224, .3); }
.sd-trade-asset .sd-small { display: block; }
.sd-trade-story { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--sd-dim); }
.sd-trade-pts { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 21px; line-height: 1; }
.sd-trade-proj { margin-top: 3px; font-family: var(--sd-body, sans-serif); font-size: 12px; font-weight: 500; color: var(--sd-dim); }
.sd-trade-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: auto; font-size: 15px; }
.sd-trade-net { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 24px; line-height: 1; }
.sd-trade-net .sd-small { margin-top: 3px; font-family: var(--sd-body, sans-serif); font-weight: 400; font-size: 12px; }
.sd-badges { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 3px; }
.sd-method-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px 30px; margin: 10px 0 12px; }
.sd-method-list dt { font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; color: #FFFFFF; }
.sd-method-list dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: #D3DAF7; }
.sd-gap-sm { margin-top: 10px; }
.sd-method .sd-details .sd-table-wrap { box-shadow: inset 0 0 0 2px var(--sd-line); }

/* Trade awards */
.sd-awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(470px, 100%), 1fr)); gap: 26px; align-items: start; }
.sd-award { display: flex; flex-direction: column; }
.sd-award-head { align-self: flex-start; margin: 0 0 10px 6px; padding: 8px 18px 6px; font-family: var(--sd-slab, Impact, sans-serif); font-size: 19px; line-height: 1; text-transform: uppercase; color: var(--sd-ink); border: 3px solid #000; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), 4px 4px 0 #000; transform: skewX(-10deg); }
.sd-award-head > span { display: inline-block; transform: skewX(10deg); }
.sd-award-fair .sd-award-head { background: linear-gradient(180deg, #8DFFB0, var(--sd-green)); }
.sd-award-lopsided .sd-award-head { color: #FFFFFF; background: linear-gradient(180deg, #FF6A3D, var(--sd-red)); text-shadow: 2px 2px 0 rgba(0, 0, 0, .45); }
.sd-award-line { margin: 0 0 14px; max-width: 560px; font-size: 16px; color: #D3DAF7; }
.sd-award-fair .sd-trade { box-shadow: inset 0 0 0 2px var(--sd-green), 0 0 22px rgba(47, 209, 92, .25), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-award-lopsided .sd-trade { box-shadow: inset 0 0 0 2px var(--sd-red), 0 0 22px rgba(240, 32, 47, .3), 6px 7px 0 rgba(0, 0, 0, .55); }

/* Weekly report */
.sd-block { display: block; font-weight: 400; font-size: 14px; }
.sd-table tr.sd-cut td { border-bottom: 3px dashed var(--sd-yellow); }
.sd-odds { min-width: 112px; }
.sd-odds > span:last-child { display: inline-block; min-width: 46px; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 21px; line-height: 1; }
.sd-meter { display: inline-block; width: 54px; height: 9px; margin-right: 8px; vertical-align: 2px; background: #050818; border: 1px solid var(--sd-line); }
.sd-meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--sd-red), var(--sd-orange) 45%, var(--sd-yellow)); }
.sd-clinch { color: var(--sd-green); }
.sd-out { color: #FF5A68; }
.sd-matchups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 24px; }
.sd-match { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--sd-panel-2), var(--sd-panel)); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sd-line), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-match-gotw { box-shadow: inset 0 0 0 2px var(--sd-yellow), 0 0 26px rgba(255, 211, 26, .35), 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-sticker { position: absolute; z-index: 2; top: -16px; left: 50%; padding: 5px 12px 3px; font-family: var(--sd-slab, Impact, sans-serif); font-size: 13px; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--sd-ink); background: var(--sd-yellow); border: 3px solid #000; box-shadow: 3px 3px 0 #000; transform: translateX(-50%) rotate(-3deg); }
.sd-match-sides { display: grid; grid-template-columns: 1fr 1fr; }
.sd-match-side { padding: 18px 14px 10px; min-width: 0; }
.sd-match-side + .sd-match-side { border-left: 2px dashed var(--sd-line); }
.sd-match-who { font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 22px; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.sd-match-proj { margin-top: 8px; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 46px; line-height: .85; color: var(--sd-dim); }
.sd-fav .sd-match-proj { color: #FFFFFF; text-shadow: 2px 2px 0 var(--sd-blue); }
.sd-match-proj span { margin-left: 4px; font-size: 18px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--sd-dim); text-shadow: none; }
.sd-match-pct { margin-top: 8px; white-space: nowrap; }
.sd-match-pct .sd-meter { width: 70px; }
.sd-match-pct > span:last-child { font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 22px; line-height: 1; }
.sd-fav .sd-match-pct > span:last-child { color: var(--sd-yellow); }
.sd-match-top { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; }
.sd-match-top li { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0; border-top: 1px dotted rgba(169, 179, 224, .3); }
.sd-match-top li > span:last-child { font-family: var(--sd-cond, sans-serif); font-weight: 500; font-size: 18px; line-height: 1.1; }
.sd-match-stats { margin-top: 6px; font-size: 13px; color: var(--sd-dim); }
.sd-match-foot { margin-top: auto; padding: 8px 14px 7px; font-family: var(--sd-cond, sans-serif); font-size: 18px; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--sd-dim); background: rgba(0, 0, 0, .35); border-top: 2px solid #000; }
.sd-ros-table td.sd-ros { min-width: 104px; padding: 6px 9px; line-height: 1.15; }
.sd-ros-opp { display: block; font-size: 13px; color: var(--sd-dim); white-space: nowrap; }
.sd-ros-pct { display: block; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 22px; line-height: 1; }
.sd-table td.sd-cell-good { background: rgba(47, 209, 92, .16); }
.sd-table td.sd-cell-good .sd-ros-pct { color: var(--sd-green); }
.sd-table td.sd-cell-bad { background: rgba(240, 32, 47, .14); }
.sd-table td.sd-cell-bad .sd-ros-pct { color: #FF5A68; }
.sd-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-jump a { padding: 6px 14px 3px; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 19px; line-height: 1; text-transform: uppercase; text-decoration: none; color: #FFFFFF; background: linear-gradient(180deg, #4A75FF, #1C3FC0); border: 2px solid #000; box-shadow: 3px 3px 0 #000; }
.sd-jump a:hover { color: var(--sd-ink); background: linear-gradient(180deg, #FFE76A, #F2B800); }
.sd-h1 a { color: inherit; text-decoration: none; }

/* How to score: the instruction card on the cabinet */
.sd-clipboard { position: relative; max-width: 640px; margin-top: 18px; padding: 20px 26px 16px; color: var(--sd-ink); background: linear-gradient(180deg, #FFE45C, var(--sd-yellow)); border: 3px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 4px var(--sd-yellow), inset 0 0 0 6px #000, 6px 7px 0 rgba(0, 0, 0, .55); }
.sd-clip { display: none; }
.sd-clipboard .sd-label { margin-bottom: 8px; font-family: var(--sd-slab, Impact, sans-serif); font-size: 18px; letter-spacing: 0; color: var(--sd-ink); }
.sd-rules { margin: 0; padding-left: 22px; list-style: square; font-weight: 600; font-size: 17px; line-height: 1.6; }
.sd-rules li::marker { color: var(--sd-red); }
.sd-reclist { margin: 6px 0 0; padding: 0; list-style: none; }
.sd-reclist li { display: grid; grid-template-columns: 92px 1fr; gap: 0 12px; padding: 7px 0; border-top: 1px dashed var(--sd-line); }
.sd-reclist li:first-child { border-top: 0; }
.sd-rec-val { grid-row: span 2; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 28px; line-height: 1; }
.sd-rec-top .sd-rec-val { font-size: 32px; color: var(--sd-yellow); }
.sd-rec-detail { font-size: 14px; color: var(--sd-dim); }

/* Drafts */
.sd-details > summary { display: inline-block; margin: 0 0 12px 4px; padding: 6px 16px 3px; cursor: pointer; font-family: var(--sd-cond, sans-serif); font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #FFFFFF; background: linear-gradient(180deg, #4A75FF, #1C3FC0); border: 2px solid #000; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 3px 3px 0 #000; transform: skewX(-10deg); }
.sd-details[open] > summary { color: var(--sd-ink); background: linear-gradient(180deg, #FFE76A, #F2B800); }

@media (max-width: 900px) {
  .sd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones: player cards turn sideways, photo on the left */
@media (max-width: 560px) {
  .sd-report-table .sd-block, .sd-report-table .sd-meter, .sd-report-table th:nth-child(5), .sd-report-table td:nth-child(5) { display: none; }
  .sd-report-table th, .sd-report-table td { padding-left: 6px; padding-right: 6px; }
  .sd-report-table th { white-space: normal; font-size: 16px; }
  .sd-report-table .sd-rank { width: 28px; font-size: 21px; }
  .sd-report-table td { font-size: 15px; }
  .sd-odds { min-width: 0; }
  .sd-cardgrid { gap: 18px; margin-top: 28px; }
  .sd-pc-sm { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "top top" "photo name" "photo team" "bars bars"; grid-template-rows: auto auto 1fr auto; column-gap: 12px; align-items: start; }
  .sd-pc-sm .sd-pc-top { grid-area: top; }
  .sd-pc-sm .sd-pc-photo { grid-area: photo; }
  .sd-pc-sm .sd-pc-name { grid-area: name; margin-top: 2px; font-size: 17px; }
  .sd-pc-sm .sd-pc-team { grid-area: team; }
  .sd-pc-sm .sd-bars { grid-area: bars; }
  .sd-pc-sm .sd-tag { top: 22px; right: -8px; width: 58px; height: 58px; font-size: 13px; }
  .sd-pc-sm .sd-tag-big { font-size: 16px; }
}

@media (max-width: 700px) {
  .sd-hero { gap: 36px; padding-top: 32px; }
  .sd-pc-lg { margin: 0 auto; }
  .sd-h2 { font-size: 23px; }
  .sd-lead { font-size: 17px; }
  .sd-tile-value { font-size: 40px; }
  .sd-notes { padding: 20px 18px 14px; }
  .sd-notes-title::after { display: none; }
  .sd-tag { right: -6px; }
  .sd-trade-side + .sd-trade-side { border-left: 0; border-top: 2px dashed var(--sd-line); }
  .sd-clipboard { padding-left: 20px; padding-right: 16px; }
  .sd-match-proj { font-size: 38px; }
  .sd-match-side { padding: 18px 10px 10px; }
}
