:root {
  color-scheme: light;
  --canvas: #fbf5ed;
  --paper: #fffdf8;
  --ink: #182e37;
  --muted: #4e6469;
  --line: #e8dacb;
  --teal: #096961;
  --pink: #a81554;
  --peach: #ffded0;
  --mint: #ddf4ed;
  --yellow: #fff1bd;
  --font: "DM Sans","Avenir Next",system-ui,sans-serif;
  --display: "Barlow Condensed","Avenir Next Condensed","Avenir Next",sans-serif;
  --mono: "IBM Plex Mono",ui-monospace,monospace;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  min-width: 320px;
}
button,input,select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 3px solid #c2276e;
  outline-offset: 3px;
}
h1,h2,h3,p,dl,dd {
  margin: 0;
}
h1,h2,h3 {
  line-height: 1.12;
  letter-spacing: -.035em;
}
h1 {
  font: 850 clamp(2.65rem,5vw,4.9rem)/.97 var(--display);
  letter-spacing: -.05em;
}
h2 {
  font-size: 1.58rem;
  font-weight: 800;
}
h3 {
  font-size: 1.17rem;
  font-weight: 800;
}
.muted,small {
  color: var(--muted);
}
.initial,noscript {
  padding: 2rem;
}
.skip {
  position: fixed;
  z-index: 10;
  left: 10px;
  top: 10px;
  color: white;
  background: var(--pink);
  padding: 10px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
#content:focus {
  outline: none;
}

.header {
  background: #fffaf2;
  border-bottom: 1px solid #eaddce;
}
.topbar {
  max-width: 1480px;
  margin: auto;
  padding: 0 clamp(18px,3vw,44px);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand,.profile {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 0;
  white-space: nowrap;
}
.brand {
  font: 900 1.48rem/.92 var(--display);
  letter-spacing: -.055em;
}
.brand-dot {
  color: var(--pink);
}
.brand small,.profile small {
  display: block;
  font: 700 .58rem/1.25 var(--mono);
  letter-spacing: .085em;
  margin-top: 5px;
  color: var(--teal);
}
.basket-mark {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(90deg,transparent 47%,#fff8ed 49% 52%,transparent 54%),linear-gradient(transparent 47%,#fff8ed 49% 52%,transparent 54%),radial-gradient(ellipse 42% 75% at 0% 50%,transparent 80%,#fff8ed 84% 90%,transparent 95%),radial-gradient(ellipse 42% 75% at 100% 50%,transparent 80%,#fff8ed 84% 90%,transparent 95%),#d44b79;
  transform: rotate(-25deg);
}
.primary-nav {
  display: flex;
  justify-content: center;
  align-self: stretch;
  gap: 4px;
}
.primary-nav button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  padding: 0 clamp(8px,1vw,16px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: .89rem;
  font-weight: 760;
  color: #465b61;
}
.primary-nav button:hover {
  background: #faeee8;
}
.primary-nav [aria-current] {
  border-color: #bc2862;
  color: var(--pink);
  background: #fbeaf0;
}
.profile strong {
  font-size: .93rem;
}
.profile small {
  font: 650 .68rem var(--font);
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 1px;
}
.nav-icon {
  display: block;
  width: 13px;
  height: 13px;
  position: relative;
  border: 1.5px solid currentColor;
  flex: none;
  border-radius: 3px;
  opacity: .85;
}
.nav-icon.court,.nav-icon.people {
  border-radius: 50%;
}
.nav-icon.court:before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 4px;
  border-top: 1px solid currentColor;
}
.nav-icon.people:after {
  content: "";
  position: absolute;
  inset: 6px -3px -3px;
  border: 1.5px solid currentColor;
  border-radius: 7px;
  background: #fffaf2;
}
.nav-icon.search {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.nav-icon.search:after {
  content: "";
  position: absolute;
  width: 5px;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  right: -4px;
  bottom: -2px;
}
.nav-icon.cards {
  transform: rotate(-9deg);
}
.nav-icon.stand:after {
  content: "";
  position: absolute;
  inset: 3px 2px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}
.nav-icon.club:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 3px;
  border: 1px solid;
  left: 2.5px;
  top: -4px;
  border-radius: 2px;
}

.workspace {
  max-width: 1328px;
  margin: auto;
  padding: 26px clamp(16px,3vw,42px) 0;
}
.eyebrow {
  display: block;
  color: var(--teal);
  font: 750 .7rem/1.2 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.section-head,.view-head,.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
}
.section-head .eyebrow,.view-head .eyebrow {
  margin-bottom: 7px;
}
.view-head,.section-head:has(h1) {
  margin: 8px 0 25px;
}
.view-head h1,.section-head h1 {
  font-size: clamp(2.4rem,4vw,4rem);
}
.view-head .muted,.section-head .muted {
  margin-top: 6px;
}
.compact h2 {
  font-size: 1.45rem;
}
.compact {
  margin-bottom: 13px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .87rem;
  line-height: 1.25;
  font-weight: 780;
  text-align: center;
  white-space: normal;
}
.btn.primary {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.btn.primary:hover:not(:disabled) {
  background: #84103f;
}
.btn.secondary {
  background: #fffdf8;
  border-color: #ddcfc1;
  color: #24504e;
}
.btn.secondary:hover:not(:disabled) {
  border-color: #9fbeb3;
  background: #f0f9f3;
}
.btn.active {
  background: #f9e3ed;
  border-color: #c9789b;
  color: var(--pink);
}
.btn:disabled {
  opacity: .54;
}
.link-btn {
  border: 0;
  background: none;
  text-decoration: underline;
  color: var(--teal);
  font-weight: 650;
}
.chip,.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  white-space: nowrap;
  background: #f5ebe2;
  color: #645c5c;
  padding: 5px 9px;
  font: 750 .66rem/1.15 var(--mono);
  letter-spacing: .025em;
}
.chip.success,.badge-success {
  background: #dbf0e4;
  color: #1a644e;
}
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #329977;
}
.team-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: color-mix(in srgb,var(--team,var(--team-color,#548b81)) 17%,#fff9ef);
  border: 1px solid color-mix(in srgb,var(--team,var(--team-color,#548b81)) 37%,#eedecd);
  color: #25454c;
  font: 800 .79rem var(--mono);
  letter-spacing: .03em;
}
.team-mark.large {
  width: 69px;
  height: 69px;
  border-radius: 13px;
  font-size: 1.08rem;
}
.team-mark.tiny {
  width: 37px;
  height: 37px;
  font-size: .7rem;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 19px;
  min-width: 0;
  box-shadow: 0 2px 7px #54351407;
}
.panel>p:not(.eyebrow) {
  color: var(--muted);
  margin: 7px 0 13px;
}
.panel>.eyebrow {
  margin-bottom: 5px;
}
.panel h2+p,.panel h3+p {
  margin-top: 7px;
}
.panel .section-head {
  align-items: flex-start;
}
.panel .section-head h2 {
  font-size: 1.38rem;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.toast {
  position: fixed;
  z-index: 8;
  bottom: 24px;
  right: 24px;
  max-width: calc(100% - 48px);
  padding: 12px 18px;
  border-radius: 12px;
  background: #144e4c;
  color: white;
  box-shadow: 0 6px 24px #1e333539;
  font-weight: 720;
}
.toast[hidden] {
  display: none;
}

.day-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 0 0 18px;
}
.day-intro-copy h1 {
  margin: 3px 0 4px;
}
.day-intro-copy h1 span {
  color: #bd3470;
}
.day-intro p {
  color: #4d6265;
  font-size: 1rem;
}
.intro-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .72rem;
  color: #59686a;
}
.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cda289;
}
.intro-deadline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .79rem;
  padding-bottom: 2px;
}
.intro-deadline strong {
  color: var(--ink);
}

.matchup {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  display: grid;
  grid-template-rows: 37px 1fr 35px;
  align-items: center;
  padding: 12px clamp(18px,5vw,80px);
  border: 1px solid #e4c8af;
  border-radius: 18px;
  background: linear-gradient(116deg,#ffe0c7 3%,#fff1c0 48%,#c9efe4 100%);
  margin-bottom: 21px;
}
.matchup:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px;
  border: 1px solid #aa9c775c;
  border-radius: 11px;
  pointer-events: none;
}
.matchup:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9px auto 9px 50%;
  width: 1px;
  background: #658f8256;
}
.match-center {
  align-self: start;
  text-align: center;
}
.match-center>span {
  display: inline-block;
  background: #fff9eb;
  border: 1px solid #e4c9b8;
  border-radius: 999px;
  padding: 5px 10px;
  color: #7b4352;
  font: 780 .64rem var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr minmax(86px,1fr) 1fr;
  align-items: center;
  gap: 14px;
}
.match-side {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  min-width: 0;
}
.match-side.away {
  flex-direction: row-reverse;
  justify-self: end;
  text-align: right;
}
.match-side div {
  display: grid;
  gap: 4px;
}
.match-side strong {
  font: 900 clamp(1.35rem,3.5vw,3rem)/.93 var(--display);
  letter-spacing: -.05em;
}
.match-side small,.match-side div>span {
  font: 700 .62rem var(--mono);
  color: #4e615e;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.court-middle {
  position: relative;
  display: grid;
  justify-items: center;
  isolation: isolate;
}
.court-middle:before {
  content: "";
  width: 135px;
  height: 135px;
  border: 1px solid #698d8160;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.versus {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #90a69a;
  border-radius: 50%;
  background: #fff8db;
  color: #43655b;
  font: 800 .69rem var(--mono);
}
.score {
  white-space: nowrap;
  font: 900 clamp(1.9rem,6vw,5.25rem)/1 var(--display);
  letter-spacing: -.04em;
  color: var(--pink);
  background: #fff3ce77;
}
.score span {
  padding: 0 .08em;
  color: #686662;
}
.match-note {
  text-align: center;
  color: #5b6456;
  font-size: .73rem;
  align-self: end;
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(0,3.2fr) minmax(225px,1fr);
  gap: 17px;
  align-items: start;
}
.day-side,.outcome-grid>aside {
  display: grid;
  gap: 13px;
}
.tactics>.section-head .btn {
  min-height: 34px;
  padding: 5px 10px;
  font-size: .78rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  min-height: 215px;
  border: 1px solid #ead6c8;
  border-top: 4px solid #ca5184;
  border-radius: 13px;
  background: #fff4f6;
  text-align: left;
  min-width: 0;
  color: var(--ink);
}
.plan-card.tempo {
  background: #fff9e3;
  border-top-color: #d88b14;
}
.plan-card.glass,.plan-card.other {
  background: #edf9f4;
  border-top-color: #269b88;
}
.plan-card.selected {
  outline: 2px solid #ac245c;
  outline-offset: -1px;
  box-shadow: 0 0 0 2px #fae3ee;
}
.plan-card:enabled:hover {
  border-color: #b6748b;
  box-shadow: 0 4px 14px #7b41431a;
}
.card-type {
  font: 750 .64rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pink);
}
.tempo .card-type {
  color: #8b520e;
}
.glass .card-type,.other .card-type {
  color: #0e7063;
}
.plan-card>strong {
  font-size: 1.06rem;
  line-height: 1.12;
  letter-spacing: -.023em;
  font-weight: 850;
  margin-bottom: 2px;
}
.card-detail-copy {
  font-size: .77rem;
  line-height: 1.34;
  color: #456064;
}
.card-detail-copy b {
  display: block;
  font: 800 .58rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #136b58;
  margin-bottom: 3px;
}
.risk b {
  color: #9e3b52;
}
.duration {
  font: 700 .62rem var(--mono);
  color: #5a6c6c;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #cfb9ab60;
}
.decision {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  margin-top: 11px;
}
.decision strong {
  font-size: .86rem;
}
.decision small {
  display: block;
  font-size: .72rem;
  margin-top: 1px;
}
.manager-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f0e5d8;
}
.manager-row strong,.manager-row small {
  display: block;
  line-height: 1.21;
}
.manager-row strong {
  font-size: .83rem;
}
.manager-row small {
  font-size: .7rem;
  margin-top: 3px;
}
.managers .section-head {
  align-items: center;
  margin-bottom: 9px;
}
.managers,.scout-card {
  padding: 14px;
}
.scout-card {
  background: #fff4e1;
}
.scout-card h2 {
  font-size: 1.22rem;
}
.scout-card>p {
  font-size: .82rem;
}
.simulation-controls {
  margin-top: 7px;
}
.simulation-controls p {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 7px;
}
.simulation-controls .btn {
  min-height: 36px;
  font-size: .75rem;
}
.outcome-grid {
  grid-template-columns: minmax(0,2fr) minmax(230px,1fr);
}
.outcome .explanation {
  margin: 15px 0;
  padding-left: 11px;
  border-left: 3px solid #eb978c;
}
.reveal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reveal-grid>div {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f3e9;
  border-radius: 10px;
  padding: 8px;
}
.reveal-grid small,.reveal-grid strong {
  display: block;
}
.reveal-grid strong {
  font-size: .84rem;
}
.reward-panel {
  background: #fff2c7;
}
.next-links {
  margin-top: 16px;
}
.entry-panel {
  min-height: 420px;
  padding: clamp(20px,6vw,75px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #ebcdb9;
  border-radius: 18px;
  background: linear-gradient(90deg,#fff5e9 0%,#fff4e8eb 40%,#fff5e922 82%),url('court.jpg') center/cover;
}
.entry-panel h1 {
  max-width: 600px;
}
.entry-panel p {
  max-width: 480px;
}

.view-head+.panel,.view-head+.layout-split {
  margin-top: 4px;
}
.subnav {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 15px;
}
.team-picker,.host-panel,.team-current,.roster-panel,.round-results {
  margin-bottom: 16px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 9px;
}
.team-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 8px;
  text-align: left;
  background: #fffdf9;
  border: 1px solid #e8ddcf;
  border-radius: 10px;
}
.team-option:enabled:hover {
  background: #edf9f4;
  border-color: #a5c9bb;
}
.team-option.selected {
  background: #f9e7ee;
  border-color: #bf6e95;
}
.team-option:disabled {
  background: #faf4eb;
}
.team-option strong,.team-option small {
  display: block;
  line-height: 1.18;
}
.team-option strong {
  font-size: .84rem;
}
.team-option small {
  font-size: .69rem;
  margin-top: 4px;
}
.team-option .team-mark {
  width: 35px;
  height: 35px;
  font-size: .69rem;
}
.team-picker-footer {
  justify-content: space-between;
  margin-top: 15px;
}
.field {
  display: grid;
  gap: 5px;
  max-width: 420px;
  margin: 0 0 13px;
  font-size: .87rem;
  font-weight: 750;
  color: #3f565b;
}
.field input,.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d9ccbd;
  background: #fffdf8;
  border-radius: 8px;
  padding: 7px 10px;
}
.field :disabled {
  background: #f4ede5;
  color: #706459;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
  margin-top: 14px;
  max-width: 760px;
}
.notice {
  padding: 13px;
  background: #fff3d7;
  border: 1px solid #eadab1;
  border-radius: 10px;
  margin: 12px 0;
}
.notice strong {
  color: #754713;
}
.notice p {
  margin: 4px 0 8px;
  color: #5e5e56;
  font-size: .86rem;
}
.invite-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.invite-box code {
  color: var(--pink);
  font-weight: 850;
  letter-spacing: .11em;
  font-size: 1rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(105px,1fr));
  gap: 7px;
  margin: 9px 0 13px;
}
.stat-grid>div {
  background: #edf6ef;
  border: 1px solid #dfebdf;
  border-radius: 9px;
  padding: 8px;
  min-width: 0;
}
.stat-grid dt {
  color: #4f6365;
  font-size: .72rem;
}
.stat-grid dd {
  font: 780 .92rem var(--mono);
  color: #234a49;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.layout-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.35fr);
  gap: 15px;
  align-items: start;
  margin-bottom: 14px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-bottom: 13px;
}
.club-option {
  border: 1px solid #ead6c8;
  border-radius: 10px;
  background: #fff5e6;
  text-align: left;
  padding: 11px;
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}
.club-option strong {
  color: #85476a;
}
.club-option span {
  font-size: .84rem;
  line-height: 1.28;
}
.club-option.selected {
  border-color: #be6f96;
  background: #fceaf0;
}
.club-option:disabled {
  opacity: .55;
}
.view-head~.panel+.panel {
  margin-top: 15px;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.data-table th,.data-table td {
  border-bottom: 1px solid #eee4d8;
  text-align: left;
  padding: 9px 7px;
  white-space: nowrap;
}
.data-table thead th {
  color: #566668;
  font: 750 .68rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.data-table tbody th {
  font-weight: 720;
}
.data-table td strong {
  color: #12695d;
}
.data-table tr.current {
  background: #fce7ee;
}
.team-label {
  display: flex;
  gap: 7px;
  align-items: center;
}
.team-label .team-mark {
  width: 30px;
  height: 30px;
  font-size: .6rem;
}
.round-results summary {
  font-weight: 740;
  cursor: pointer;
}
.round-results[open] summary {
  margin-bottom: 13px;
}
.comparison-panel .data-table th:first-child {
  white-space: normal;
}
.scout-panel>.eyebrow {
  margin-top: 8px;
}

@media (max-width:1050px) {
  .topbar {
    gap: 10px;
  }
  .primary-nav button {
    gap: 5px;
    padding-inline: 9px;
  }
  .nav-icon {
    display: none;
  }
  .team-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 11px;
    gap: 8px;
  }
  .brand {
    font-size: 1.2rem;
  }
  .basket-mark {
    width: 29px;
    height: 29px;
  }
  .profile {
    margin-left: auto;
  }
  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow: auto;
    gap: 0;
  }
  .primary-nav button {
    padding: 12px 7px 8px;
    font-size: .78rem;
  }
  .workspace {
    padding-top: 16px;
  }
  .day-grid,.layout-split {
    grid-template-columns: 1fr;
  }
  .day-side {
    grid-template-columns: 1fr 1fr;
  }
  .matchup {
    min-height: 158px;
    margin-bottom: 16px;
  }
  .match-teams {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }
  .match-side {
    gap: 7px;
  }
  .team-mark.large {
    width: 48px;
    height: 48px;
    font-size: .8rem;
  }
  .court-middle:before {
    width: 82px;
    height: 82px;
  }
  .match-side small,.match-side div>span {
    font-size: .53rem;
  }
  .team-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width:495px) {
  .day-intro {
    gap: 9px;
    align-items: start;
  }
  .day-intro p {
    font-size: .83rem;
  }
  .intro-deadline {
    display: grid;
    justify-items: end;
    white-space: nowrap;
    font-size: .71rem;
  }
  .intro-deadline .chip {
    font-size: .56rem;
  }
  .card-grid,.choice-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    min-height: 157px;
  }
  .day-side {
    grid-template-columns: 1fr;
  }
  .decision,.view-head,.section-head:has(h1) {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .decision .actions .btn {
    min-height: 40px;
  }
  .team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .matchup {
    padding-inline: 14px;
  }
  .match-side {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .match-side.away {
    flex-direction: column;
    align-items: flex-end;
  }
  .match-side small {
    display: none;
  }
  .match-side>div>span {
    font-size: .51rem;
  }
  .match-note {
    font-size: .63rem;
  }
  .reveal-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .data-table th,.data-table td {
    padding: 8px 5px;
  }
}

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

.standings-table tr[data-own="true"] { background: #fce7ee; }
.hero-actions { margin-top: 12px; }
.training-readout {
  padding: 9px 12px;
  margin-top: 8px;
  width: fit-content;
  border: 1px solid #c8e4d9;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal);
  font-weight: 750;
}

.day-intro {
  min-height: 151px;
  align-items: center;
  padding: 17px 25px;
  border: 1px solid #eccebc;
  border-radius: 16px;
  background:
    linear-gradient(90deg, #fff3e4 0%, #fff3e4 36%, #fff3e4ed 51%, #fff3e404 82%),
    url('court.jpg') right 55% / min(70%, 780px) auto no-repeat,
    #fff3e4;
}
.intro-deadline {
  align-self: flex-end;
  padding: 5px 7px;
  border-radius: 8px;
  background: #fffaf2ee;
}
@media (max-width: 630px) {
  .day-intro {
    padding: 15px;
    min-height: 134px;
    background:
      linear-gradient(90deg, #fff3e4 0%, #fff3e4 30%, #fff3e4b8 100%),
      url('court.jpg') right center / 65% auto no-repeat,
      #fff3e4;
  }
}

.move-lane {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: clamp(17px, 3vw, 29px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.move-lane > div > strong { display: block; margin-bottom: 3px; font-size: 1.16rem; line-height: 1.15; }
.move-lane p { color: var(--muted); max-width: 56ch; }
.move-lane .actions { flex-shrink: 0; }
.text-button {
  background: transparent;
  color: var(--teal);
  border: 0;
  border-radius: 7px;
  min-height: 36px;
  padding-inline: 8px;
}
.text-button:hover { background: var(--mint); }
.scouting-line, .result-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 3px;
  margin-top: 5px;
  font-size: .84rem;
  color: var(--muted);
}
.scouting-line p, .result-line p:nth-child(2) { flex: 1; }
.scouting-line strong { color: var(--ink); margin-right: 4px; }
.scouting-line .nav-icon { flex-shrink: 0; color: var(--teal); }
.scouting-line .btn, .result-line .btn { white-space: nowrap; }
.result-line { gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 13px; }
.matchup.match-compact { min-height: 154px; grid-template-rows: 26px 1fr 25px; margin-bottom: 14px; }
.match-compact .court-middle:before { height: 110px; width: 110px; }
.tactical-panel { margin: 5px 0 0; }
.tactical-panel .move-lane { margin-top: 10px; }
.tactical-panel[hidden] { display: none; }
.tactical-panel .plan-card { min-height: 195px; }
.plan-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-level {
  border-radius: 99px;
  border: 1px solid #cbb9ae;
  padding: 3px 8px;
  color: #583c48;
  background: #fffdf9;
  font: 760 .62rem var(--mono);
  white-space: nowrap;
}
.plan-level.level-2 { color: #065f54; background: #dbf0e8; border-color: #8fc2b3; }
.plan-level.level-3 { color: #74400c; background: #ffedb7; border-color: #deaf54; }
.plan-impact {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  min-height: 34px;
  gap: 3px 9px;
  color: #235957;
  font-size: .83rem;
  font-weight: 720;
}
.plan-impact b { color: #096961; font-size: 1.34rem; font-variant-numeric: tabular-nums; }
.tactical-panel .decision { padding: 13px 16px; }
.result-growth {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 13px;
  margin-bottom: 15px;
  padding: 10px 13px;
  background: #fff2c7;
  border-radius: 9px;
  color: #684315;
}
.result-growth .btn { min-height: 36px; }
.secondary-disclosure {
  border: 1px solid var(--line);
  border-radius: 11px;
  margin: 12px 0;
  padding: 10px 13px;
  background: #fffaf2;
}
.secondary-disclosure summary { cursor: pointer; font-weight: 760; padding: 4px; color: var(--teal); }
.secondary-disclosure[open] summary { margin-bottom: 10px; }
.stat-change { display: inline-block; margin-left: 4px; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.stat-change.good { color: #146247; }
.stat-change.cost { color: #9c2956; }

@media (max-width: 800px) {
  .move-lane { flex-wrap: wrap; gap: 12px; }
  .move-lane .actions { flex-shrink: 1; }
}

.league-team-list { list-style: none; padding: 0; margin: 0; }
.league-team-list .team-option { cursor: default; }
.club-flow .actions { margin-top: 12px; }

@media (max-width: 495px) {
  .matchup.match-compact { min-height: 148px; }
  .match-compact .court-middle:before { height: 73px; width: 73px; }
  .scouting-line { align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
  .scouting-line .btn { margin-left: auto; }
  .result-line { gap: 7px; }
  .result-line p:nth-child(2) { flex-basis: 100%; }
}
