/* Matchup Sheet: dark, purple-undertone analytics look.
   Mint means "play him" (Start, favorable), rose means "careful" (Sit, tough), violet is the accent. */
:root {
  --bg: #0E0A18;
  --bg-glow-1: rgba(124, 58, 237, .28);
  --bg-glow-2: rgba(76, 29, 149, .35);
  --surface: rgba(30, 22, 48, .72);
  --surface-solid: #1C1530;
  --surface-hi: rgba(52, 38, 82, .65);
  --line: rgba(167, 139, 250, .16);
  --line-strong: rgba(167, 139, 250, .32);
  --text: #EEEAF7;
  --muted: #A69CBF;
  --faint: #7A7094;
  --violet: #A78BFA;
  --violet-strong: #8B5CF6;
  --mint: #4ADE9B;
  --mint-bg: rgba(74, 222, 155, .14);
  --rose: #FB7199;
  --rose-bg: rgba(251, 113, 153, .14);
  --amber: #FBBF60;
  --focus: #C4B5FD;

  --font: "Sora", "Segoe UI", system-ui, sans-serif;
  --step--1: .8rem;
  --step-0: .925rem;
  --step-1: 1.075rem;
  --step-2: 1.4rem;
  --step-3: 2rem;
  --step-4: 2.75rem;
  --radius: 14px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  color: var(--text);
  font: 400 var(--step-0)/1.5 var(--font);
  background:
    radial-gradient(60rem 40rem at 10% -10%, var(--bg-glow-2), transparent 60%),
    radial-gradient(50rem 35rem at 100% 0%, var(--bg-glow-1), transparent 55%),
    radial-gradient(40rem 30rem at 50% 110%, rgba(91, 33, 182, .18), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.sheet-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 10, 24, .55); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 15;
}
.title-block { display: flex; flex-direction: column; gap: .35rem; }
.brand { margin: 0; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--muted); font-size: var(--step--1); }
.brand::before {
  content: ""; width: 1.1rem; height: 1.1rem; border-radius: 5px;
  background: linear-gradient(135deg, var(--violet), var(--mint));
}
.week-nav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
h1#week-title { margin: 0; font: 700 var(--step-3)/1 var(--font); letter-spacing: -.02em; min-width: 6.5ch; }
.step {
  width: 2.1rem; height: 2.1rem; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); cursor: pointer; font-size: 1.15rem; line-height: 1; padding: 0 0 .1rem;
}
.step:hover:not(:disabled) { border-color: var(--violet); }
.step:disabled { opacity: .3; cursor: default; }
select {
  appearance: none; padding: .5rem 2rem .5rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: var(--step--1); font-weight: 600; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A69CBF' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right .8rem center;
}
select option { background: var(--surface-solid); color: var(--text); }
.meta { margin: 0; color: var(--muted); font-size: var(--step--1); }

.controls { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.positions { display: flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.positions button {
  border: 0; background: transparent; padding: .4rem .85rem; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: var(--step--1); color: var(--muted);
}
.positions button[aria-selected="true"] { background: var(--violet-strong); color: #fff; }
.search { position: relative; }
.search input {
  width: min(17rem, 70vw); padding: .55rem .9rem .55rem 2.2rem; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: var(--step--1);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23A69CBF' stroke-width='1.8'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='M9.5 9.5L13 13'/%3E%3C/svg%3E") no-repeat .8rem center;
}
.search input::placeholder { color: var(--faint); }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; margin: 0; padding: .3rem;
  list-style: none; background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.suggest li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .65rem; border-radius: 7px; cursor: pointer;
  font-weight: 600; font-size: var(--step--1);
}
.suggest li span { font-weight: 400; color: var(--muted); }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--surface-hi); }

/* ---------- notes under the header ---------- */
.week-note {
  margin: 1rem clamp(1rem, 4vw, 2.5rem) 0; padding: .7rem 1rem; border-radius: var(--radius-sm);
  font-size: var(--step--1); color: var(--muted); background: var(--surface); border: 1px solid var(--line);
}
.week-note.final { border-left: 3px solid var(--violet); }
.week-note.upcoming { border-left: 3px dashed var(--faint); }

/* ---------- board ---------- */
.rating-tabs { display: none; }
.board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem) 2rem;
}
.column {
  min-width: 0; padding: 1.1rem 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.column h2 { margin: 0; display: flex; align-items: baseline; gap: .5rem; font: 700 var(--step-2)/1.1 var(--font); }
#col-Auto { color: var(--mint); }
#col-Start { color: #9EEBC4; }
#col-Flex { color: var(--violet); }
#col-Sit { color: var(--rose); }
.column h2 .count { font-size: var(--step-0); font-weight: 600; color: var(--faint); }
.rule-text { margin: .3rem 0 .9rem; color: var(--muted); font-size: var(--step--1); }
.grade { margin: -.4rem 0 .9rem; font-weight: 600; font-size: var(--step--1); color: var(--violet); }
.out-head { margin-top: 1.4rem; font-weight: 600; }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .9rem; align-items: center;
  padding: .6rem .7rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: rgba(255, 255, 255, .025); color: inherit; text-decoration: none;
}
.row:hover, .row:focus-visible { background: var(--surface-hi); border-color: var(--line-strong); }
.name { font-weight: 600; font-size: var(--step-0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub { grid-column: 1; font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.nums { grid-row: 1 / span 2; grid-column: 2; text-align: right; }
.proj { display: block; font: 700 var(--step-1)/1.1 var(--font); font-variant-numeric: tabular-nums; }
.delta { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.is-auto { box-shadow: inset 4px 0 0 var(--mint); background: rgba(74, 222, 155, .06); }
.is-auto .delta { color: var(--mint); font-weight: 700; }
.is-target { box-shadow: inset 3px 0 0 rgba(74, 222, 155, .55); }
.is-avoid { box-shadow: inset 3px 0 0 var(--rose); }
.is-target .delta { color: #9EEBC4; font-weight: 600; }
.is-avoid .delta { color: var(--rose); font-weight: 600; }
.proj.beat { color: var(--mint); }
.proj.fell { color: var(--rose); }
.proj.dnp { color: var(--faint); }

.tag, .mtag {
  display: inline-block; padding: .05rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 600; white-space: nowrap;
}
.tag { color: var(--amber); background: rgba(251, 191, 96, .12); }
.tag.soft { color: var(--muted); background: rgba(255, 255, 255, .06); }
.mtag.fav { color: var(--mint); background: var(--mint-bg); }
.mtag.tough { color: var(--rose); background: var(--rose-bg); }
.mtag.neutral { color: var(--muted); background: rgba(255, 255, 255, .06); }

.more {
  margin-top: .8rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; font-weight: 600; font-size: var(--step--1); cursor: pointer;
}
.more:hover { border-color: var(--violet); }
.empty { color: var(--muted); padding: .6rem .2rem; font-size: var(--step--1); }
.error, .loading { padding: 2rem clamp(1rem, 4vw, 2.5rem); max-width: 60ch; color: var(--muted); }

.sheet-foot { padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 3rem; border-top: 1px solid var(--line); color: var(--faint); font-size: var(--step--1); }
.sheet-foot p { max-width: 80ch; margin: 0; }

/* ---------- player page ---------- */
body.on-player .positions, body.on-player .rating-tabs { display: none; }
.page { padding: 1.25rem clamp(1rem, 4vw, 2.5rem) 2.5rem; }
.back { display: inline-flex; gap: .35rem; margin-bottom: 1rem; color: var(--muted); font-size: var(--step--1); text-decoration: none; }
.back:hover { color: var(--text); }
.back::before { content: "‹"; }

.panel {
  min-width: 0; padding: 1.25rem 1.35rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.panel-title { margin: 0 0 .85rem; font: 600 var(--step-1)/1.2 var(--font); }
.panel section { margin-top: 1.75rem; }
.panel section:first-of-type { margin-top: .5rem; }
.panel h3 { margin: 0 0 .6rem; font: 600 var(--step-0)/1.2 var(--font); color: var(--violet); }
.vs-title { margin-top: 2rem; }

/* hero: avatar with jersey number, name, call and matchup */
.hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; margin-bottom: 1.1rem; }
.avatar {
  position: relative; width: 6.5rem; height: 6.5rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #8B5CF6, #4C1D95 70%);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .25), 0 12px 30px rgba(76, 29, 149, .5);
  font: 700 2.6rem/1 var(--font); letter-spacing: -.03em;
}
.avatar em {
  position: absolute; right: -.2rem; bottom: -.1rem; padding: .15rem .45rem; border-radius: 999px;
  font: 700 .7rem/1.2 var(--font); font-style: normal; background: var(--surface-solid); border: 1px solid var(--line-strong);
}
.hero-meta { margin: 0; color: var(--muted); font-size: var(--step--1); }
.hero h1 { margin: .15rem 0 .55rem; font: 700 var(--step-4)/1.05 var(--font); letter-spacing: -.02em; outline: none; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.pills .mtag, .pills .tag { font-size: var(--step--1); padding: .25rem .7rem; }

.badge {
  display: inline-flex; align-items: center; padding: .25rem .8rem; border-radius: 999px;
  font-weight: 700; font-size: var(--step--1); border: 1px solid currentColor;
}
.badge.Auto { color: #0E0A18; background: var(--mint); border-color: var(--mint); }
.badge.Start { color: var(--mint); background: var(--mint-bg); }
.badge.Flex { color: var(--violet); background: rgba(139, 92, 246, .14); }
.badge.Sit { color: var(--rose); background: var(--rose-bg); }
.badge.Neutral { color: var(--muted); }
.badge.Out { color: var(--text); background: rgba(255, 255, 255, .08); }

/* stat tiles */
.tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1.1rem;
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(110deg, rgba(76, 29, 149, .35), rgba(30, 22, 48, .6) 55%, rgba(13, 148, 136, .14));
}
.tiles div { padding: 1rem 1.2rem; min-width: 0; }
.tiles div + div { border-left: 1px solid var(--line); }
.tiles dt { color: var(--muted); font-size: var(--step--1); }
.tiles dd { margin: .2rem 0 0; font: 700 var(--step-3)/1.05 var(--font); font-variant-numeric: tabular-nums; }
.tiles .sub-val { display: block; margin-top: .25rem; font: 400 var(--step--1)/1.3 var(--font); color: var(--muted); }
.tiles .good { color: var(--mint); }
.tiles .bad { color: var(--rose); }
.tiles .accent { color: var(--violet); }

.player-grid {
  display: grid; gap: 1.1rem; align-items: start;
  grid-template-columns: minmax(18rem, 27rem) minmax(0, 1fr);
  grid-template-areas: "history projection" "history breakdown";
}
.projection { grid-area: projection; }
.history { grid-area: history; }
.breakdown { grid-area: breakdown; }

.verdict { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 0 0 .5rem; }
.big-proj { font: 700 var(--step-2)/1 var(--font); }
.vs-normal { color: var(--muted); font-size: var(--step--1); }
.result { margin: 0 0 .7rem; font-size: var(--step--1); }
.result.beat strong { color: var(--mint); }
.result.fell strong { color: var(--rose); }

.statline, .compare, .facts { display: grid; gap: .45rem; margin: 0; }
.statline { grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); }
.compare { grid-template-columns: repeat(3, 1fr); margin-top: .6rem; }
.facts { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.statline div, .compare div, .facts div {
  padding: .55rem .7rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
}
.statline dt, .compare dt, .facts dt { color: var(--muted); font-size: .72rem; }
.statline dd, .compare dd { margin: .1rem 0 0; font: 700 var(--step-1)/1.15 var(--font); font-variant-numeric: tabular-nums; }
.facts dd { margin: .1rem 0 0; font-weight: 600; }
.statline .actual { display: block; font: 400 .72rem/1.3 var(--font); color: var(--muted); }
.compare .ours { border-color: var(--violet); background: rgba(139, 92, 246, .12); }

.note {
  margin: .7rem 0 0; padding: .6rem .8rem; border-radius: var(--radius-sm); font-size: var(--step--1);
  color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.note.injury { border-color: rgba(251, 191, 96, .4); color: var(--amber); }

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.reasons li {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: .8rem; align-items: baseline;
  padding: .55rem .75rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  font-size: var(--step--1);
}
.reasons .pts { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.reasons .up { color: var(--mint); }
.reasons .down { color: var(--rose); }

/* last-10 line chart */
.trend { margin: 0 0 1.4rem; }
.trend svg { width: 100%; height: auto; display: block; overflow: visible; }
.trend .area { fill: url(#trendFill); }
.trend .line { fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.trend .normal { stroke: var(--faint); stroke-dasharray: 4 4; stroke-width: 1.2; }
.trend .dot { stroke: var(--surface-solid); stroke-width: 2; }
.trend .dot.up { fill: var(--mint); }
.trend .dot.down { fill: var(--rose); }
.trend text { fill: var(--muted); font: 500 9px var(--font); }
.trend .val { fill: var(--text); font-weight: 600; }

/* game logs */
.table-wrap { overflow-x: auto; }
table.log { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--step--1); }
table.log th, table.log td { padding: .4rem .3rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.log thead th { color: var(--faint); font-weight: 500; font-size: .72rem; }
table.log th:first-child { text-align: left; }
table.log tbody th { font-weight: 600; }
table.log .opp { font-weight: 400; color: var(--muted); margin-left: .2rem; }
table.log .yr { font-weight: 400; color: var(--faint); margin-left: .1rem; }
table.log td.pts { font-weight: 700; }
table.log td.pts.beat { color: var(--mint); }
table.log td.pts.fell { color: var(--rose); }
table.log .season-break td { text-align: left; font-size: .72rem; font-weight: 600; color: var(--violet); padding-top: .7rem; }
.table-key { margin: .5rem 0 0; font-size: .75rem; color: var(--faint); }

/* season strip */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(2.9rem, 1fr)); gap: 4px; }
.tile {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: .35rem .1rem;
  border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer;
  font-size: .66rem; line-height: 1.15;
}
.tile .wk { color: var(--faint); }
.tile .opp { font-weight: 600; }
.tile .pts { font-weight: 700; font-size: .85rem; min-height: .95rem; font-variant-numeric: tabular-nums; }
.tile.t { background: var(--mint-bg); border-color: rgba(74, 222, 155, .45); }
.tile.t .pts { color: var(--mint); }
.tile.t.auto { background: rgba(74, 222, 155, .3); border-color: var(--mint); }
.tile.t.auto .pts { color: #fff; }
.tile.a { background: var(--rose-bg); border-color: rgba(251, 113, 153, .45); }
.tile.a .pts { color: var(--rose); }
.tile.o { background: rgba(255, 255, 255, .08); }
.tile.none { background: transparent; color: var(--faint); }
.tile.past:not(.here) { opacity: .7; }
.tile.here { outline: 2px solid var(--violet); outline-offset: 1px; opacity: 1; }
.tile:hover { border-color: var(--violet); }
.strip-key { margin: .45rem 0 0; font-size: .75rem; color: var(--faint); }

/* route tree */
.routes { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.1fr); gap: 1.2rem; align-items: center; }
.route-tree { width: 100%; max-width: 21rem; display: block; margin: 0 auto; overflow: visible; }
.route { fill: none; stroke: var(--violet); stroke-linecap: round; stroke-linejoin: round; }
.route-hi { fill: none; stroke: var(--mint); stroke-opacity: .28; stroke-linecap: round; stroke-linejoin: round; }
.route-arrow { fill: var(--violet); }
.route-start { fill: var(--surface-solid); stroke: var(--text); stroke-width: 2.5; }
.los { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 5 4; }
.los-label, .side-label { fill: var(--faint); font: 500 8.5px var(--font); }
.routes-table tr.top th { color: var(--mint); }

/* how the defense plays */
.ranks { margin: 0; }
.ranks div { display: grid; grid-template-columns: 1fr 3.4rem 10.5rem; gap: .6rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.ranks dt { font-size: var(--step--1); }
.ranks dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-size: var(--step--1); }
.ranks dd.rank { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; color: var(--muted); }
.rankbar { display: inline-block; flex: none; width: 3.6rem; height: .4rem; border-radius: 999px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.rankbar span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; background: var(--faint); }
.rankbar.soft span { background: var(--mint); }
.rankbar.tough span { background: var(--rose); }

/* usage mixes */
.mix { margin: .4rem 0 .9rem; }
.mix p { margin: 0 0 .3rem; font-size: var(--step--1); color: var(--muted); }
.mixbar { display: flex; height: 1.7rem; border-radius: 8px; overflow: hidden; gap: 2px; }
.mixbar span { display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.mixbar span:nth-child(1) { background: rgba(167, 139, 250, .55); }
.mixbar span:nth-child(2) { background: rgba(167, 139, 250, .38); }
.mixbar span:nth-child(3) { background: rgba(167, 139, 250, .24); }
.mixbar span:nth-child(4) { background: rgba(167, 139, 250, .14); }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .player-grid { grid-template-columns: 1fr; grid-template-areas: "projection" "history" "breakdown"; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles div:nth-child(3) { border-left: 0; }
  .tiles div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .sheet-head { position: static; }
  .rating-tabs {
    display: flex; gap: .4rem; padding: .75rem 1rem; position: sticky; top: 0; z-index: 12;
    background: rgba(14, 10, 24, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  }
  .rating-tabs button {
    flex: 1; padding: .5rem; border-radius: 999px; border: 1px solid var(--line-strong);
    background: var(--surface); font-weight: 600; font-size: var(--step--1); cursor: pointer;
  }
  .rating-tabs button[aria-pressed="true"] { background: var(--violet-strong); border-color: var(--violet-strong); color: #fff; }
  .board { grid-template-columns: 1fr; padding: 1rem; }
  .column:not(.active) { display: none; }
  .controls, .search, .search input, .league, .league select, .week-pick, .week-pick select { width: 100%; }
  .positions { width: 100%; justify-content: space-between; }
  .positions button { flex: 1; }
  .hero { gap: .9rem; }
  .avatar { width: 4.5rem; height: 4.5rem; font-size: 1.8rem; }
  .hero h1 { font-size: var(--step-3); }
  .tiles dd { font-size: var(--step-2); }
  .routes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .row, .step, .tile, .more { transition: background-color .15s, border-color .15s; }
}
@media (max-width: 1250px) and (min-width: 861px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
