@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #101312;
  --sidebar: #141816;
  --panel: #1b201e;
  --line: #343a36;
  --soft: #a8b0a9;
  --ink: #f3f5ef;
  --lime: #cef787;
  --deep: #1c2818;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
button {
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.skip {
  position: fixed;
  left: 0;
  top: -100px;
  background: var(--lime);
  color: #101710;
  z-index: 12;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
}
aside {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  border-right: 1px solid #303530;
  padding: 0 15px;
  z-index: 4;
  overflow: auto;
}
.brand {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
}
.brand img {
  width: 37px;
  height: 37px;
}
.brand strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 790;
  letter-spacing: -1.25px;
}
.brand small {
  display: block;
  letter-spacing: 1.7px;
  font-size: 0.61rem;
  color: #b8c0b6;
  margin-top: 5px;
  font-weight: 700;
}
.club-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 12px;
  background: #202521;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 14px 1px 8px;
}
.club-card strong,
.rail-bottom strong,
.save-row strong {
  display: block;
  font-size: 0.94rem;
}
.club-card small,
.rail-bottom small,
.save-row small {
  display: block;
  color: var(--soft);
  font-size: 0.8rem;
  margin-top: 4px;
}
.crest {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  width: 56px;
  height: 62px;
  background: #ddd4b9;
  clip-path: polygon(
    3% 4%,
    50% 0,
    97% 4%,
    94% 60%,
    83% 79%,
    50% 100%,
    17% 79%,
    6% 60%
  );
  color: white;
  font-weight: 850;
  font-size: 0.95rem;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 2px #000;
}
.crest:before {
  content: "";
  position: absolute;
  inset: 3px 3px 4px;
  clip-path: inherit;
  background:
    repeating-linear-gradient(110deg, transparent 0 5px, #ffffff1a 5px 8px),
    var(--club);
  z-index: -1;
}
.crest.mini {
  width: 31px;
  height: 35px;
  font-size: 0.58rem;
  flex: none;
}
.crest.mini:before {
  inset: 2px 2px 3px;
}
.nav-title,
.eyebrow,
.hero-tag {
  font-size: 0.69rem;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  font-weight: 750;
}
.nav-title {
  color: #a0aaa1;
  margin: 27px 12px 9px;
}
nav {
  display: grid;
  gap: 4px;
}
.nav {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 7px;
  text-align: left;
  color: #bbc2bb;
  font-size: 0.92rem;
  font-weight: 540;
}
.nav:hover {
  background: #222823;
  color: white;
}
.nav.selected {
  background: #2d3a25;
  color: var(--lime);
}
.rail-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 20px 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rail-bottom > svg {
  padding: 8px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #30372e;
  color: #c4d1bd;
}
.rail-bottom div {
  min-width: 0;
}
.rail-bottom strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace {
  min-width: 0;
}
header {
  height: 72px;
  border-bottom: 1px solid #2c322e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3.5vw, 64px);
  gap: 12px;
  background: #121614;
}
.crumb,
.top-actions,
.mode,
.primary,
.secondary,
.hero-button,
.iconbtn,
.hero-tag,
.stadium,
.panel-foot > span,
.link,
.action-bar,
.dialog-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.crumb {
  font-size: 0.88rem;
  color: var(--soft);
}
.crumb svg {
  width: 14px;
  height: 14px;
}
.crumb b {
  font-weight: 550;
  color: #e5e9df;
}
.top-actions {
  gap: 18px;
}
.mode {
  font-size: 0.81rem;
  color: #b4bdb4;
}
.mode:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #a2ab9d;
  border-radius: 50%;
}
.primary,
.secondary,
.hero-button,
.iconbtn {
  justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 680;
  font-size: 0.88rem;
  padding: 10px 15px;
  min-height: 39px;
  transition: background 0.16s ease;
}
.primary {
  background: var(--lime);
  color: #182014;
}
.primary:hover,
.hero-button:hover {
  background: #dfffab;
  color: #17210f;
}
.primary svg,
.hero-button svg,
.secondary svg {
  width: 16px;
  height: 16px;
}
.secondary,
.iconbtn {
  background: #2a302b;
  border-color: #414940;
}
.secondary:hover,
.iconbtn:hover {
  background: #394036;
}
.small {
  font-size: 0.8rem;
  min-height: 30px;
  padding: 5px 11px;
}
.iconbtn {
  padding: 7px;
  min-height: auto;
}
.mobile-menu,
.mobile-close {
  display: none;
}
main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 34px clamp(20px, 3.5vw, 64px) 44px;
}
.page-title {
  margin: 0 0 25px;
}
.eyebrow {
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow i {
  width: 16px;
  height: 2px;
  background: var(--lime);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.45rem);
  font-weight: 730;
  letter-spacing: -0.056em;
  line-height: 1.12;
  margin: 8px 0 7px;
}
.page-title p {
  color: #b4bbb4;
  font-size: 0.91rem;
}
.page-title p span {
  color: #535d54;
  margin: 0 7px;
}
.dashboard-top,
.dashboard-bottom,
.tactic-layout,
.save-grid {
  display: grid;
  gap: 18px;
}
.dashboard-top {
  grid-template-columns: minmax(0, 1.8fr) minmax(225px, 0.92fr);
}
.dashboard-bottom {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  margin-top: 18px;
}
.panel,
.hero {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  min-width: 0;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 284px;
  display: flex;
  align-items: stretch;
  background: #23382a url("/assets/stadium.jpg") center 55% / cover no-repeat;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 16, 10, 0.91) 0%,
      rgba(8, 20, 13, 0.69) 46%,
      rgba(6, 15, 10, 0.08) 100%
    ),
    linear-gradient(0deg, #071a12a6, transparent 62%);
}
.hero-content {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.hero-tag {
  color: #e0f5c2;
  gap: 7px;
}
.hero-tag svg {
  height: 16px;
  width: 16px;
}
.hero-meta {
  font-size: 0.84rem;
  color: #e1e6df;
  margin: 22px 0 7px;
}
.hero-meta b {
  color: var(--lime);
  padding: 0 4px;
}
.hero h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: -0.055em;
  line-height: 1.03;
  font-weight: 740;
  max-width: 100%;
  text-wrap: balance;
}
.hero h2 em {
  display: inline-block;
  color: var(--lime);
  font-weight: 460;
  font-size: 0.57em;
  vertical-align: middle;
  margin: 0 0.42em;
}
.stadium {
  font-size: 0.82rem;
  color: #d2dbd0;
  margin-top: 9px;
}
.stadium svg {
  width: 15px;
  height: 15px;
}
.hero-button {
  background: #f2f5eb;
  color: #1d251e;
  margin-top: 24px;
  padding: 9px 14px;
  min-height: 35px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  min-height: 59px;
}
.panel h2 {
  font-size: 1.09rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.overview .panel-head {
  border: 0;
  padding-bottom: 6px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.stat:last-child {
  border-bottom: none;
}
.stat-icon {
  width: 37px;
  height: 37px;
  border: 1px solid #3c4836;
  background: #283126;
  color: #c6dfae;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.stat-icon svg {
  width: 18px;
}
.stat small,
.market-bar small {
  display: block;
  color: var(--soft);
  font-size: 0.8rem;
}
.stat strong,
.market-bar strong {
  font-size: 1.35rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.stat em {
  font-size: 0.9rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
}
.link,
.rowlink {
  background: none;
  border: 0;
  padding: 2px 0;
  text-align: left;
  font: inherit;
  color: var(--lime);
}
.link {
  font-size: 0.82rem;
  font-weight: 580;
  white-space: nowrap;
}
.link:hover,
.rowlink:hover {
  text-decoration: underline;
}
.board-wrap {
  padding: 15px 17px 0;
}
.pitch {
  position: relative;
  isolation: isolate;
  background: repeating-linear-gradient(
    0deg,
    #293f32 0%,
    #293f32 12.5%,
    #2d4536 12.5%,
    #2d4536 25%
  );
  border-radius: 7px;
  overflow: hidden;
}
.field {
  position: absolute;
  inset: 10px 12px;
  border: 1px solid #90a99169;
  z-index: -1;
}
.field b {
  position: absolute;
  display: block;
  border: 1px solid #90a99169;
}
.field .half {
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  border-width: 1px 0 0;
}
.field .circle {
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.field .box,
.field .six {
  width: 40%;
  height: 17%;
  left: 30%;
}
.field .six {
  width: 19%;
  left: 40.5%;
  height: 7%;
}
.top {
  top: -1px;
}
.bottom {
  bottom: -1px;
}
.players {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  min-height: 253px;
  padding: 9px 12px;
}
.pitch-row {
  display: flex;
  justify-content: space-evenly;
  gap: 2px;
}
.marker {
  min-width: 0;
  flex: 1;
  max-width: 28%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  background: none;
  border: 0;
  padding: 0;
  color: #f2f6ef;
}
.marker b {
  border: 1px solid #e2efce;
  background: #d4f5a6;
  color: #1e301e;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  box-shadow: 0 2px 4px #14251ab0;
}
.keeper b {
  background: #f6d89a;
  border-color: #ffedb1;
}
.marker small {
  font-size: 0.69rem;
  line-height: 1.1;
  background: #1a2d22d9;
  padding: 2px 4px;
  border-radius: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-foot {
  padding: 12px 19px;
  font-size: 0.81rem;
  color: #bfc6bd;
  line-height: 1.5;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.panel-foot > span + span {
  border-left: 1px solid var(--line);
  padding-left: 13px;
}
.panel-foot svg {
  width: 16px;
  height: 16px;
}
.fixtures {
  padding: 0 18px;
}
.fixture-row,
.save-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  min-height: 74px;
}
.fixture-row:last-child,
.save-row:last-child {
  border-bottom: 0;
}
.week-tile {
  width: 39px;
  height: 41px;
  border: 1px solid #3c443e;
  background: #262d27;
  border-radius: 5px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  flex: none;
}
.week-tile small {
  font-size: 0.58rem;
  letter-spacing: 0.6px;
  color: var(--soft);
  font-weight: 650;
}
.week-tile b {
  font-size: 1.03rem;
}
.fixture-name {
  flex: 1;
  min-width: 0;
}
.fixture-name strong {
  font-size: 0.9rem;
  display: block;
}
.fixture-name small {
  font-size: 0.74rem;
  color: var(--soft);
  display: block;
  margin-top: 3px;
}
.venue,
.chip {
  background: #2b322d;
  border: 1px solid #3d463e;
  border-radius: 4px;
  color: #c5cdbf;
  font-size: 0.69rem;
  font-weight: 650;
  text-align: center;
  padding: 2px 5px;
}
.venue {
  min-width: 21px;
}
.score {
  min-width: 18px;
  color: #b4bdb2;
  text-align: right;
  white-space: nowrap;
  font-size: 0.87rem;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  white-space: nowrap;
}
th {
  font-size: 0.77rem;
  font-weight: 600;
  color: #b6c0b6;
  background: #1f2621;
}
td,
th {
  padding: 12px 15px;
  border-bottom: 1px solid #323a33;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.own {
  background: #263024;
}
.ability {
  color: var(--lime);
}
.rowlink {
  color: var(--ink);
  font-weight: 580;
}
.below {
  margin-top: 18px;
}
.tactic-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(235px, 0.85fr);
  align-items: start;
}
.large .players {
  min-height: 400px;
}
.large .marker b {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
}
.large .marker small {
  font-size: 0.8rem;
}
.controls form,
.empty {
  padding: 18px 20px;
}
.controls p,
dialog p,
.empty {
  color: var(--soft);
  font-size: 0.91rem;
  line-height: 1.55;
}
.controls p {
  margin: 12px 0 20px;
}
.market-bar,
.action-bar {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.market-bar > div {
  margin-left: auto;
}
.market-bar label {
  margin: 0;
}
.market-bar input {
  min-width: 150px;
}
.save-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.save-row {
  margin: 0 18px;
}
.save-row div {
  min-width: 0;
}
.save-row strong {
  overflow-wrap: anywhere;
}
.save-row button {
  margin-left: auto;
}
.action-bar {
  align-items: center;
}
.action-bar:empty {
  display: none;
}
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #d9e0d6;
  margin: 0 0 15px;
}
input,
select {
  display: block;
  background: #141a16;
  color: var(--ink);
  border: 1px solid #4b564a;
  border-radius: 6px;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 0.95rem;
  min-height: 41px;
}
select {
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #c3cbbe 50%),
    linear-gradient(135deg, #c3cbbe 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 52%,
    calc(100% - 11px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
dialog {
  background: #1c231e;
  color: var(--ink);
  border: 1px solid #434f42;
  border-radius: 13px;
  width: min(440px, calc(100% - 24px));
  padding: 23px;
  max-height: 90dvh;
  box-shadow: 0 24px 80px #0009;
}
dialog::backdrop {
  background: #080e0bd4;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 1.43rem;
  letter-spacing: -0.04em;
}
.dialog-head button {
  border: 0;
  background: transparent;
}
dialog h3 {
  font-size: 1rem;
  margin: 14px 0 5px;
}
.dialog-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.form-error {
  color: #ffd1a5;
  font-size: 0.86rem;
  line-height: 1.45;
}
.form-error:not(:empty) {
  margin-top: 12px;
}
dl {
  margin: 12px 0;
}
dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 0.88rem;
}
dt {
  color: var(--soft);
}
dd {
  margin: 0;
  text-align: right;
}
.match-pair,
.result {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
  padding: 20px 0 5px;
}
.result > b {
  font-size: 2.3rem;
  white-space: nowrap;
}
.center {
  text-align: center;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 8;
  transform: translate(-50%, 20px);
  width: max-content;
  max-width: 90vw;
  color: #edf5e8;
  background: #303d2d;
  border: 1px solid #596c51;
  border-radius: 8px;
  padding: 10px 16px;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
body[aria-busy="true"] button {
  cursor: progress;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 320px;
  }
  .players {
    min-height: 285px;
  }
  .fixture-row {
    min-height: 83px;
  }
}
@media (max-width: 1120px) {
  .shell {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  aside {
    padding: 0 10px;
  }
  main {
    padding: 27px 23px;
  }
  header {
    padding: 0 23px;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 1.65fr) minmax(205px, 0.9fr);
  }
  .dashboard-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .fixtures {
    padding: 0 12px;
  }
  .fixture-row {
    gap: 8px;
  }
  .hero-content {
    padding: 22px;
  }
  .panel-head {
    padding: 16px;
  }
  .board-wrap {
    padding: 12px 12px 0;
  }
}
@media (max-width: 850px) {
  .shell {
    display: block;
  }
  aside {
    position: fixed;
    left: -260px;
    width: 235px;
    box-shadow: 20px 0 50px #0006;
    transition: left 0.18s;
  }
  aside.open {
    left: 0;
  }
  .mobile-menu,
  .mobile-close {
    display: inline-flex;
  }
  .mobile-close {
    margin-left: auto;
  }
  .mobile-menu {
    margin-right: 5px;
  }
  .crumb .mobile-menu svg {
    width: 18px;
    height: 18px;
  }
  header {
    height: 61px;
  }
  .hero h2 {
    font-size: 2.4rem;
  }
}
@media (max-width: 650px) {
  main {
    padding: 24px 14px;
  }
  .page-title {
    margin-bottom: 18px;
  }
  .dashboard-top,
  .dashboard-bottom,
  .tactic-layout,
  .save-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dashboard-bottom {
    margin-top: 14px;
  }
  .hero {
    min-height: 245px;
  }
  .hero-content {
    padding: 23px;
  }
  .hero h2 {
    font-size: 2.25rem;
  }
  .overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 10px 13px;
  }
  .overview .panel-head {
    grid-column: 1/-1;
    padding: 14px 4px;
    min-height: auto;
  }
  .stat {
    display: block;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-left: 1px solid var(--line);
  }
  .stat:nth-child(2) {
    border: 0;
    padding-left: 4px;
  }
  .stat-icon {
    display: none;
  }
  .stat strong {
    font-size: 1.09rem;
  }
  .stat small {
    font-size: 0.72rem;
  }
  .stat em {
    font-size: 0.77rem;
  }
  .top-actions {
    gap: 8px;
  }
  .mode {
    display: none;
  }
  header {
    padding: 0 14px;
  }
  .crumb {
    gap: 4px;
  }
  .crumb > span,
  .crumb > svg {
    display: none;
  }
  .brand .mobile-close {
    display: inline-flex;
  }
  .primary,
  .secondary {
    padding: 9px 12px;
  }
  .market-bar > div {
    margin-left: 0;
  }
  .market-bar label {
    max-width: 100%;
  }
  .large .players {
    min-height: 320px;
  }
  .fixture-row {
    min-height: 68px;
  }
  .page-title p {
    font-size: 0.84rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.goal-log {
  margin: 12px 0;
}
.goal-log > div {
  display: flex;
  gap: 12px;
  padding: 6px 10px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
}
.goal-log b {
  min-width: 25px;
  color: var(--lime);
}
.goal-log small {
  margin-left: auto;
  color: var(--soft);
}
.brand small {
  white-space: nowrap;
}

[hidden]{display:none!important}.photo-credit{position:absolute;right:10px;bottom:6px;font-size:.66rem;color:#f1f4e9;background:#142119b0;padding:2px 4px;border-radius:2px;text-decoration:none}.photo-credit:hover{text-decoration:underline}label small{display:block;color:var(--soft);font-weight:400;margin-top:5px}label a{color:var(--lime)}
