@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap");

:root {
  --bg: #07100d;
  --bg-soft: #0b1713;
  --panel: #101d18;
  --panel-2: #14241e;
  --panel-3: #192a23;
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f2f6f3;
  --muted: #8fa098;
  --muted-2: #687a72;
  --lime: #b9f227;
  --lime-bright: #d4ff58;
  --lime-dark: #7eae0e;
  --cyan: #48d8c4;
  --gold: #f4c557;
  --orange: #ff9c52;
  --red: #ff626d;
  --blue: #6ca8ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --radius: 18px;
  --font: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: "Barlow Condensed", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 20%, rgba(89, 145, 38, 0.12), transparent 27%),
    linear-gradient(135deg, #07100d, #081510 54%, #050b09);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

[hidden] {
  display: none !important;
}

#app {
  position: relative;
  min-height: 100vh;
}

.pitch-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.pitch-glow--one {
  top: -160px;
  right: -80px;
  background: var(--lime);
}

.pitch-glow--two {
  bottom: -220px;
  left: 8%;
  background: #31ae7c;
}

/* Topbar */
.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.25vw;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 14, 11, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  gap: 12px;
  text-align: left;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #11180c;
  background: var(--lime);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.topbar__season {
  display: flex;
  position: absolute;
  left: 50%;
  align-items: center;
  padding: 7px 13px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 30px;
  color: #cbd5d0;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.topbar__actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  min-width: 62px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  transition: 0.2s ease;
}

.icon-button:hover {
  border-color: var(--line-bright);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Shared */
main {
  min-height: 100vh;
}

.screen {
  display: none;
  min-height: 100vh;
  padding-top: 72px;
}

.screen--active {
  display: flex;
  animation: screen-in 0.45s ease both;
}

@keyframes screen-in {
  from {
    transform: translateY(5px);
    opacity: 0;
  }
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  color: var(--lime);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  gap: 8px;
}

.eyebrow > span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  gap: 12px;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button--primary {
  color: #11180c;
  background: var(--lime);
  box-shadow: 0 12px 30px rgba(185, 242, 39, 0.12);
}

.button--primary:hover:not(:disabled) {
  background: var(--lime-bright);
  box-shadow: 0 15px 35px rgba(185, 242, 39, 0.2);
}

.button--ghost {
  border-color: var(--line-bright);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.button--ghost:hover:not(:disabled) {
  border-color: rgba(185, 242, 39, 0.35);
  background: rgba(185, 242, 39, 0.06);
}

.button--danger {
  color: white;
  background: #be3944;
}

.button--large {
  min-width: 188px;
  padding: 15px 20px;
  font-size: 14px;
}

.button--xl {
  padding: 17px 25px;
  font-size: 15px;
}

.button--wide {
  width: 100%;
  padding: 15px 20px;
}

.button b {
  font-size: 18px;
}

/* Welcome */
.welcome-screen {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  padding-right: 6vw;
  padding-left: 8vw;
}

.welcome-screen::before {
  position: absolute;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 52%;
  content: "";
  opacity: 0.16;
  background:
    repeating-linear-gradient(90deg, transparent 0 75px, rgba(255, 255, 255, 0.055) 76px 77px),
    repeating-linear-gradient(0deg, transparent 0 75px, rgba(255, 255, 255, 0.04) 76px 77px);
  mask-image: linear-gradient(90deg, transparent, black);
  transform: perspective(800px) rotateX(58deg) translateY(35%);
  transform-origin: bottom;
}

.welcome-hero {
  z-index: 2;
  display: flex;
  width: 54%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 0;
}

.welcome-hero h1 {
  display: flex;
  margin: 24px 0 24px;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(62px, 6.2vw, 104px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.welcome-hero h1 span,
.welcome-hero h1 em {
  display: block;
  white-space: nowrap;
}

.welcome-hero h1 em {
  color: var(--lime);
  font-style: normal;
  text-shadow: 0 0 55px rgba(185, 242, 39, 0.15);
}

.welcome-hero > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.welcome-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.welcome-features {
  display: flex;
  margin-top: 55px;
  gap: 48px;
}

.welcome-features > div {
  display: flex;
  flex-direction: column;
}

.welcome-features b {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
}

.welcome-features span {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.welcome-visual {
  position: relative;
  z-index: 1;
  width: 50%;
  min-height: calc(100vh - 72px);
}

.player-silhouette {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: min(41vw, 560px);
  height: 88%;
  opacity: 0.86;
  background:
    radial-gradient(circle at 50% 7%, #24382f 0 7%, transparent 7.5%),
    linear-gradient(100deg, transparent 20%, #1d3028 20.5% 42%, #263d33 48%, #13241e 71%, transparent 71.5%);
  filter: drop-shadow(-35px 15px 45px rgba(0, 0, 0, 0.5));
  clip-path: polygon(38% 0, 56% 0, 62% 11%, 69% 20%, 86% 29%, 99% 50%, 84% 54%, 78% 43%, 75% 100%, 17% 100%, 24% 45%, 0 63%, 2% 43%, 27% 22%, 35% 13%);
}

.player-silhouette::after {
  position: absolute;
  inset: 18% 14% 0;
  content: "";
  opacity: 0.18;
  background: repeating-linear-gradient(96deg, transparent 0 18px, rgba(185, 242, 39, 0.35) 19px 20px);
  clip-path: polygon(0 0, 100% 8%, 88% 100%, 5% 100%);
}

.player-number {
  position: absolute;
  z-index: 2;
  top: 34%;
  left: 34%;
  color: rgba(185, 242, 39, 0.22);
  font-family: var(--display);
  font-size: 11vw;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-3deg);
}

.visual-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(16, 29, 24, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.visual-card--rating {
  top: 24%;
  right: -1%;
  display: grid;
  width: 112px;
  height: 126px;
  place-content: center;
  text-align: center;
  transform: rotate(3deg);
}

.visual-card--rating small {
  color: var(--muted);
  font-size: 10px;
}

.visual-card--rating strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 58px;
  line-height: 0.95;
}

.visual-card--rating span {
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.25em;
}

.visual-card--story {
  bottom: 15%;
  left: 2%;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 13px;
  transform: rotate(-2deg);
}

.visual-card--story .visual-card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #17200d;
  background: var(--lime);
}

.visual-card--story div {
  display: flex;
  flex-direction: column;
}

.visual-card--story small {
  color: var(--muted);
  font-size: 10px;
}

.visual-card--story strong {
  font-size: 14px;
}

.field-lines {
  position: absolute;
  right: -30%;
  bottom: -25%;
  width: 115%;
  aspect-ratio: 1;
  border: 1px solid rgba(185, 242, 39, 0.17);
  border-radius: 50%;
}

/* Setup */
.setup-screen {
  justify-content: center;
  padding-right: 4vw;
  padding-bottom: 60px;
  padding-left: 4vw;
}

.setup-wrap {
  width: min(1280px, 100%);
  padding-top: 42px;
}

.back-link {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.back-link:hover {
  color: var(--lime);
}

.section-heading {
  margin-top: 32px;
}

.setup-screen .section-heading .eyebrow {
  font-size: 13px;
}

.section-heading h2,
.tab-heading h2 {
  margin: 11px 0 7px;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
}

.setup-screen .section-heading h2 {
  font-size: 44px;
}

.section-heading p,
.tab-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.setup-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.8fr);
  gap: 16px;
}

.setup-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 29, 24, 0.82);
  box-shadow: 0 13px 35px rgba(0, 0, 0, 0.15);
}

.panel-label {
  margin-bottom: 22px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.field {
  display: flex;
  margin-bottom: 18px;
  flex-direction: column;
  gap: 8px;
}

.field > span {
  color: #c4cec9;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #0a1511;
  font-size: 13px;
  transition: 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-color: rgba(185, 242, 39, 0.55);
}

.origin-note,
.contract-note {
  display: flex;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(185, 242, 39, 0.12);
  border-radius: 8px;
  background: rgba(185, 242, 39, 0.035);
  gap: 10px;
}

.origin-note > span,
.contract-note > span {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  place-items: center;
  border-radius: 50%;
  color: #121a0d;
  background: var(--lime);
  font-family: serif;
  font-size: 11px;
  font-weight: 800;
}

.origin-note p,
.contract-note p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.setup-screen .origin-note p {
  font-size: 12px;
}

.position-selector {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(340px, 1.05fr) minmax(480px, 1.5fr);
  gap: 16px;
}

.tactical-board {
  position: sticky;
  top: 82px;
  min-height: 520px;
  overflow: hidden;
  border: 2px solid rgba(185, 242, 39, 0.34);
  border-radius: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 54px, rgba(185, 242, 39, 0.025) 54px 108px),
    linear-gradient(135deg, #173d29, #0b2619);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.3);
}

.tactical-board::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 7px;
  pointer-events: none;
}

.pitch-line,
.pitch-circle,
.pitch-box {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.pitch-line--half {
  top: 50%;
  right: 12px;
  left: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.pitch-circle {
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.pitch-box {
  left: 50%;
  width: 126px;
  height: 62px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.pitch-box--top {
  top: 12px;
  border-top: 0;
}

.pitch-box--bottom {
  bottom: 12px;
  border-bottom: 0;
}

.tactical-markers {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.tactical-marker {
  position: absolute;
  width: 68px;
  height: 42px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9px;
  color: #e8efe9;
  background: rgba(4, 14, 9, 0.82);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s ease;
}

.tactical-marker:hover {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.12);
  border-color: var(--lime);
}

.tactical-marker--active {
  z-index: 4;
  color: #102009;
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(185, 242, 39, 0.18), 0 0 20px rgba(185, 242, 39, 0.42);
}

.position-role-preview {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(185, 242, 39, 0.2);
  border-radius: 12px;
  background: rgba(185, 242, 39, 0.045);
}

.position-role-preview small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.position-role-preview strong {
  color: var(--lime);
  font-size: 16px;
}

.position-role-preview p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.position-card {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: flex-start;
  justify-content: center;
  padding: 15px 13px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
  text-align: center;
  transition: 0.25s ease;
}

.position-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.035);
}

.position-card--selected {
  border-color: rgba(185, 242, 39, 0.65);
  background: linear-gradient(180deg, rgba(185, 242, 39, 0.09), rgba(185, 242, 39, 0.025));
  box-shadow: inset 0 0 0 1px rgba(185, 242, 39, 0.1);
}

.position-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.position-card__pitch {
  position: relative;
  width: 68px;
  height: 84px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(transparent 49%, rgba(255, 255, 255, 0.1) 49% 51%, transparent 51%),
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.08) 49% 51%, transparent 51%);
}

.position-card__pitch::before,
.position-card__pitch::after {
  position: absolute;
  left: 50%;
  width: 30px;
  height: 14px;
  content: "";
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.position-card__pitch::before {
  top: -1px;
}

.position-card__pitch::after {
  bottom: -1px;
}

.pos-dot {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.pos-dot--st {
  top: 19%;
}

.pos-dot--mf {
  top: 50%;
}

.pos-dot--df {
  top: 76%;
}

.pos-dot--gk {
  top: 92%;
}

.position-card b {
  font-size: 17px;
}

.position-card small {
  margin-top: 5px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.position-card p {
  margin: 11px 0 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.55;
}

.initial-preview {
  display: grid;
  margin-top: 17px;
  padding: 15px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.initial-preview > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.initial-preview > div:last-child {
  border: 0;
}

.initial-preview small {
  color: var(--muted);
  font-size: 11px;
}

.initial-preview strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 22px;
}

.setup-submit {
  grid-column: 1 / -1;
  font-size: 17px;
}

/* Career layout */
.career-screen {
  align-items: stretch;
}

.sidebar {
  position: fixed;
  z-index: 20;
  top: 72px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 220px;
  padding: 24px 15px 18px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(8, 18, 14, 0.94);
}

.player-mini {
  display: flex;
  align-items: center;
  padding: 0 8px 23px;
  border-bottom: 1px solid var(--line);
  gap: 11px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(185, 242, 39, 0.25);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(185, 242, 39, 0.08);
  font-size: 16px;
  font-weight: 800;
}

.player-mini > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.player-mini strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-mini span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.player-mini i {
  margin-right: 4px;
  font-style: normal;
}

.career-nav {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  gap: 5px;
}

.career-nav__item {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  transition: 0.2s;
  gap: 11px;
}

.career-nav__item span {
  width: 17px;
  color: var(--muted-2);
  font-size: 16px;
  text-align: center;
}

.career-nav__item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.career-nav__item--active {
  border-color: rgba(185, 242, 39, 0.09);
  color: var(--text);
  background: rgba(185, 242, 39, 0.08);
}

.career-nav__item--active span {
  color: var(--lime);
}

.sidebar__bottom {
  display: flex;
  margin-top: auto;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}

.exit-request-link,
.retire-link {
  width: 100%;
  padding: 9px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
}

.exit-request-link {
  border: 1px solid rgba(245, 183, 68, 0.2);
  color: #c9a65f;
  background: rgba(245, 183, 68, 0.035);
}

.exit-request-link:hover:not(:disabled) {
  border-color: rgba(245, 183, 68, 0.45);
  color: #f5c66d;
}

.exit-request-link:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.retire-link {
  border: 1px solid rgba(255, 98, 109, 0.15);
  color: #bf777d;
  background: rgba(255, 98, 109, 0.025);
}

.retire-link:hover {
  border-color: rgba(255, 98, 109, 0.35);
  color: var(--red);
}

.sidebar__bottom small {
  color: #4e5e56;
  font-size: 8px;
}

.career-content {
  width: calc(100% - 236px);
  min-width: 0;
  margin-left: 236px;
  padding: 38px clamp(28px, 4vw, 72px) 76px;
}

.career-tab {
  display: none;
  width: min(1380px, 100%);
  margin: 0 auto;
}

.career-tab--active {
  display: block;
  animation: tab-in 0.35s ease;
}

@keyframes tab-in {
  from {
    transform: translateY(7px);
    opacity: 0;
  }
}

.dashboard-head,
.tab-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 20px;
}

.breadcrumb {
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb span {
  margin: 0 5px;
}

.breadcrumb b {
  color: var(--lime);
}

.dashboard-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.1;
}

.dashboard-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contract-chip {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.contract-chip span {
  color: var(--muted-2);
  font-size: 8px;
}

.contract-chip strong {
  margin-top: 3px;
  font-size: 10px;
}

/* Hero player */
.hero-player-card {
  position: relative;
  display: grid;
  min-height: 202px;
  margin-bottom: 20px;
  padding: 34px 42px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: 1.25fr 1.6fr;
  border: 1px solid rgba(185, 242, 39, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(108deg, rgba(185, 242, 39, 0.095), transparent 37%),
    linear-gradient(100deg, #13231c, #0e1b16);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

.hero-player-card::before {
  position: absolute;
  top: -120px;
  left: 5%;
  width: 310px;
  height: 310px;
  content: "";
  opacity: 0.1;
  border: 50px solid var(--lime);
  border-radius: 50%;
}

.hero-player-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 100%;
  content: "";
  opacity: 0.08;
  background: repeating-linear-gradient(110deg, transparent 0 20px, white 21px 22px);
}

.hero-player-card__identity {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.shirt-number-control {
  display: flex;
  width: 92px;
  flex: 0 0 92px;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}

.shirt-number {
  width: 86px;
  padding: 0;
  border: 0;
  color: rgba(185, 242, 39, 0.65);
  background: transparent;
  font-family: var(--display);
  font-size: 79px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.shirt-number:disabled {
  cursor: default;
  opacity: 0.72;
}

.shirt-number--editable {
  position: relative;
  color: var(--lime);
  cursor: pointer;
  text-shadow: 0 0 20px rgba(185, 242, 39, 0.3);
  transition: transform 160ms ease, text-shadow 160ms ease;
}

.shirt-number--newly-unlocked::after {
  position: absolute;
  top: 4px;
  right: -2px;
  width: 9px;
  height: 9px;
  border: 2px solid #13231b;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.15);
  content: "";
}

.shirt-number--editable:hover,
.shirt-number--editable:focus-visible {
  transform: translateY(-2px) scale(1.04);
  outline: none;
  text-shadow: 0 0 24px rgba(185, 242, 39, 0.45);
}

.shirt-number-control small {
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
}

.shirt-number-control .shirt-number-control__hint--unlocked {
  color: var(--lime);
}

.status-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--lime);
  background: rgba(185, 242, 39, 0.1);
  font-size: 8px;
  font-weight: 700;
}

.hero-player-card__identity h3 {
  max-width: 320px;
  margin: 9px 0 4px;
  overflow: hidden;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-player-card__identity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-player-card__metrics {
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.metric small {
  color: var(--muted);
  font-size: 11px;
}

.metric strong {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
}

.metric span {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 8px;
}

.metric--ovr strong {
  color: var(--lime);
  font-size: 43px;
}

.metric--market-value {
  position: relative;
}

.metric--market-value strong {
  font-size: clamp(23px, 2.1vw, 33px);
  letter-spacing: -0.03em;
}

.metric--market-value .market-value-trend {
  position: absolute;
  top: 1px;
  right: 12px;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.metric--market-value .market-value-trend--up {
  color: var(--lime);
}

.metric--market-value .market-value-trend--down {
  color: var(--red);
}

.metric--market-value .market-value-trend--flat {
  color: var(--muted);
}

.metric--market-value .market-value-previous {
  margin-top: 6px;
  font-size: 9px;
}

.hero-player-card__arc {
  position: absolute;
  z-index: 1;
  right: 1.5%;
  bottom: -28px;
  width: 180px;
  opacity: 0.13;
}

.hero-player-card__arc path {
  fill: none;
  stroke-width: 3;
}

.arc-bg {
  stroke: white;
}

.arc-value {
  stroke: var(--lime);
  stroke-dasharray: 251;
  stroke-dashoffset: 75;
}

/* Dashboard cards */
.dashboard-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.78fr);
  gap: 16px;
}

.result-column,
.main-column,
.side-column,
.milestones-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 28, 22, 0.82);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.content-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.content-card__head h3 {
  margin: 6px 0 0;
  font-size: 18px;
}

.kicker {
  font-size: 10px;
}

.season-action-card {
  padding: 25px;
}

.season-number {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
}

.season-action-card > p {
  margin: 13px 0 19px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.readiness-list {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.readiness-list > div {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.016);
  gap: 8px;
}

.readiness-icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(244, 197, 87, 0.1);
  font-size: 9px;
}

.readiness-icon--good {
  color: var(--lime);
  background: rgba(185, 242, 39, 0.09);
}

.readiness-list p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.readiness-list strong {
  font-size: 9px;
}

.readiness-list small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button--season {
  width: 100%;
  padding: 14px 18px;
}

.action-hint {
  display: block;
  margin-top: 9px;
  color: #53635b;
  font-size: 7px;
  text-align: center;
}

.club-card {
  padding: 21px;
}

.club-card__top {
  display: flex;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.club-crest {
  display: grid;
  width: 48px;
  height: 53px;
  flex: 0 0 48px;
  place-items: center;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
}

.club-crest img {
  display: block;
  width: 48px;
  height: 53px;
  object-fit: contain;
}

.club-crest .crest-placeholder {
  width: 100%;
  height: 100%;
}

.club-card__top small {
  color: var(--muted-2);
  font-size: 8px;
}

.club-card__top h3 {
  margin: 2px 0;
  font-size: 15px;
}

.club-card__top p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
}

.club-details {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 1fr 1fr;
  gap: 12px 15px;
}

.club-details div {
  display: flex;
  flex-direction: column;
}

.club-details span {
  color: var(--muted-2);
  font-size: 7px;
}

.club-details strong {
  margin-top: 3px;
  font-size: 9px;
}

.status-card,
.milestones-card {
  padding: 20px;
}

.status-list {
  display: flex;
  margin-top: 17px;
  flex-direction: column;
  gap: 13px;
}

.status-list > div {
  display: grid;
  align-items: center;
  grid-template-columns: 64px 1fr 62px;
  gap: 7px;
}

.status-list span {
  color: var(--muted);
  font-size: 8px;
}

.status-list em {
  color: #b6c1bb;
  font-size: 8px;
  font-style: normal;
  text-align: right;
}

.meter {
  height: 4px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
}

.meter i {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
  transition: width 0.8s ease;
}

.milestone-list {
  display: flex;
  margin-top: 15px;
  flex-direction: column;
  gap: 8px;
}

.milestone {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: rgba(185, 242, 39, 0.04);
  gap: 9px;
}

.milestone > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  color: #121a0c;
  background: var(--lime);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
}

.milestone p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.milestone strong {
  font-size: 8px;
}

.milestone small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 7px;
}

.milestone--locked {
  opacity: 0.5;
  filter: grayscale(1);
}

.timeline-card,
.latest-season-card {
  padding: 23px;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--lime);
  background: none;
  cursor: pointer;
  font-size: 8px;
}

.timeline {
  position: relative;
  display: flex;
  margin-top: 19px;
  padding-left: 19px;
  flex-direction: column;
  gap: 14px;
}

.timeline::before {
  position: absolute;
  top: 7px;
  bottom: 8px;
  left: 4px;
  width: 1px;
  content: "";
  background: var(--line-bright);
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-item::before {
  position: absolute;
  top: 5px;
  left: -19px;
  width: 7px;
  height: 7px;
  content: "";
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--muted-2);
  box-shadow: 0 0 0 1px var(--line-bright);
}

.timeline-item--highlight::before {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(185, 242, 39, 0.5);
}

.timeline-item--injury::before {
  background: var(--red);
}

.timeline-item--national::before {
  background: var(--blue);
}

.timeline-item small {
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline-item strong {
  margin-top: 2px;
  font-size: 9px;
}

.timeline-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.rating-pill {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #15200c;
  background: var(--lime);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
}

.stats-strip {
  display: grid;
  margin: 18px 0;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.stat-tile {
  display: flex;
  padding: 12px 8px;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.stat-tile:last-child {
  border: 0;
}

.stat-tile strong {
  font-family: var(--display);
  font-size: 20px;
}

.stat-tile span {
  color: var(--muted-2);
  font-size: 7px;
}

.result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-tag {
  padding: 5px 8px;
  border-radius: 5px;
  color: #cad4ce;
  background: rgba(255, 255, 255, 0.045);
  font-size: 8px;
}

.result-tag--gold {
  color: var(--gold);
  background: rgba(244, 197, 87, 0.09);
}

/* Tabs */
.tab-heading {
  align-items: center;
  min-height: 76px;
}

.career-totals {
  display: flex;
  gap: 7px;
}

.total-chip {
  display: flex;
  min-width: 74px;
  padding: 9px 12px;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.total-chip strong {
  font-family: var(--display);
  font-size: 20px;
}

.total-chip span {
  color: var(--muted);
  font-size: 7px;
}

.market-value-history-card {
  margin-bottom: 16px;
  padding: 22px 24px 18px;
  overflow: hidden;
}

.market-value-chart__latest {
  display: grid;
  align-items: baseline;
  justify-items: end;
  grid-template-columns: auto auto;
  column-gap: 9px;
}

.market-value-chart__latest small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
}

.market-value-chart__latest strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 24px;
}

.market-value-chart__latest span {
  font-size: 11px;
  font-weight: 700;
}

.market-value-chart__latest .is-up {
  color: var(--lime);
}

.market-value-chart__latest .is-down {
  color: var(--red);
}

.market-value-chart__latest .is-flat {
  color: var(--muted);
}

.market-value-chart {
  min-height: 240px;
  margin-top: 14px;
  color: var(--lime);
  overflow-x: auto;
  scrollbar-width: thin;
}

.market-value-chart__svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
  overflow: visible;
}

.market-value-chart__grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.market-value-chart__grid text,
.market-value-chart__labels text {
  fill: var(--muted);
  font-size: 9px;
}

.market-value-chart__area {
  fill: url("#marketValueAreaGradient");
}

.market-value-chart__line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.market-value-chart__point circle {
  fill: var(--bg);
  stroke: currentColor;
  stroke-width: 3;
}

.market-value-chart__point--latest circle {
  fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(184, 232, 45, 0.55));
}

.market-value-chart__empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.table-card {
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.02);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

td {
  color: #c6d0cb;
}

td strong {
  color: var(--text);
}

td .table-ovr {
  color: var(--lime);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.table-honour {
  color: var(--gold);
}

.empty-state {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted-2);
  text-align: center;
}

.empty-state > span {
  font-size: 32px;
  opacity: 0.6;
}

.empty-state h3 {
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 12px;
}

.empty-state p {
  margin: 0;
  font-size: 9px;
}

.club-journey-card,
.honours-log-card {
  margin-top: 16px;
  padding: 22px;
}

.club-journey {
  display: flex;
  margin-top: 18px;
  overflow-x: auto;
  gap: 28px;
}

.journey-item {
  position: relative;
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 11px;
}

.journey-item:not(:last-child)::after {
  position: absolute;
  top: 23px;
  right: -23px;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--line-bright);
}

.journey-crest {
  display: grid;
  width: 44px;
  height: 48px;
  flex: 0 0 44px;
  place-items: center;
  font-weight: 900;
}

.journey-crest img {
  display: block;
  width: 44px;
  height: 48px;
  object-fit: contain;
}

.journey-crest .crest-placeholder {
  width: 100%;
  height: 100%;
}

.journey-item div:last-child {
  display: flex;
  flex-direction: column;
}

.journey-item strong {
  font-size: 10px;
}

.journey-item span,
.journey-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.career-highlights-card {
  margin-top: 16px;
  padding: 22px;
}

.career-highlights {
  display: grid;
  margin-top: 17px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.career-highlight {
  display: grid;
  padding: 14px;
  grid-template-columns: 92px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(185, 242, 39, 0.035);
  gap: 12px;
}

.career-highlight time {
  color: var(--lime);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.career-highlight strong {
  font-size: 13px;
}

.career-highlight p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.empty-state--compact {
  min-height: 150px;
}

/* Trophies */
.honour-count {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.honour-count strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
}

.honour-count span {
  color: var(--muted);
  font-size: 8px;
}

.trophy-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trophy-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 190px;
  padding: 18px;
  overflow: hidden;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at 50% 35%, rgba(244, 197, 87, 0.13), transparent 40%),
    var(--panel);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trophy-card:hover,
.trophy-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  outline: none;
  transform: translateY(-3px);
}

.trophy-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(244, 197, 87, 0.28), 0 14px 32px rgba(0, 0, 0, 0.2);
}

.trophy-card__media {
  display: grid;
  width: 100%;
  min-height: 76px;
  place-items: center;
}

.trophy-card__logo {
  width: min(100%, 112px);
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 7px 15px rgba(0, 0, 0, 0.3));
}

.trophy-card > strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trophy-showcase__empty {
  grid-column: 1 / -1;
}

.trophy-card__mark {
  display: grid;
  min-height: 58px;
  padding: 8px 12px;
  place-items: center;
  border-block: 1px solid rgba(244, 197, 87, 0.55);
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.45;
}

.trophy-card strong {
  margin-top: 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.trophy-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.trophy-card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #1a180d;
  background: var(--gold);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
}

.trophy-card--locked {
  border-color: var(--line);
  background: var(--panel-2);
}

.trophy-card--locked .trophy-card__media {
  opacity: 0.58;
}

.trophy-card--locked .trophy-card__logo {
  filter: grayscale(1);
}

.trophy-card--locked .trophy-card__mark {
  border-color: var(--line-bright);
  color: var(--muted);
}

.honours-log {
  display: flex;
  margin-top: 17px;
  flex-direction: column;
}

.honour-row {
  display: grid;
  padding: 13px 3px;
  align-items: center;
  grid-template-columns: 46px 70px 1fr 120px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.honour-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
}

.honour-mark__image {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.honour-mark__text {
  color: var(--gold);
  font-family: var(--display);
  font-size: 5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
}

.honour-row:last-child {
  border: 0;
}

.honour-row time {
  color: var(--muted);
}

.honour-row strong {
  color: var(--gold);
}

.honour-row span {
  color: var(--muted);
  text-align: right;
}

/* Event archive */
.event-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.filter-button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
}

.filter-button--active {
  border-color: rgba(185, 242, 39, 0.35);
  color: var(--lime);
  background: rgba(185, 242, 39, 0.07);
}

.event-archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.archive-item {
  display: grid;
  padding: 16px;
  grid-template-columns: 45px 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 28, 22, 0.72);
  gap: 13px;
}

.archive-item__date {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--muted);
  font-family: var(--display);
  font-size: 8px;
}

.archive-item__date strong {
  color: var(--text);
  font-size: 16px;
}

.archive-item__body {
  padding-left: 13px;
  border-left: 1px solid var(--line);
}

.archive-item__type {
  color: var(--lime);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.archive-item--injury .archive-item__type {
  color: var(--red);
}

.archive-item--national .archive-item__type {
  color: var(--blue);
}

.archive-item--transfer .archive-item__type {
  color: var(--gold);
}

.archive-item h3 {
  margin: 5px 0;
  font-size: 10px;
}

.archive-item p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.archive-item__effect {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  color: #c5d0ca;
  background: rgba(255, 255, 255, 0.04);
  font-size: 7px;
}

/* Simulation */
.simulation-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  opacity: 0;
  background: rgba(4, 10, 7, 0.96);
  transition: 0.3s ease;
}

.simulation-overlay--active {
  visibility: visible;
  opacity: 1;
}

.simulation-box {
  width: min(540px, 100%);
  text-align: center;
}

.sim-ball {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto 25px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(185, 242, 39, 0.2);
  animation: sim-spin 1.5s linear infinite;
}

.sim-ball::before,
.sim-ball::after,
.sim-ball span {
  position: absolute;
  content: "";
  background: var(--lime);
}

.sim-ball::before {
  top: 11px;
  left: 24px;
  width: 11px;
  height: 12px;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

.sim-ball::after {
  right: 8px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

.sim-ball span {
  bottom: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

@keyframes sim-spin {
  to {
    transform: rotate(360deg);
  }
}

.simulation-box h2 {
  margin: 9px 0;
  font-family: var(--display);
  font-size: 31px;
}

.simulation-box > p {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.simulation-progress {
  height: 4px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.simulation-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
  transition: width 0.45s ease;
}

.simulation-months {
  display: flex;
  margin-top: 10px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 8px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  visibility: hidden;
  overflow-y: auto;
  place-items: center;
  padding: 25px;
  opacity: 0;
  background: rgba(2, 7, 5, 0.86);
  backdrop-filter: blur(9px);
  transition: 0.25s ease;
}

.modal-backdrop--active {
  visibility: visible;
  opacity: 1;
}

.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  background: #0e1b16;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(13px) scale(0.985);
  transition: 0.25s ease;
}

.modal-backdrop--active .modal {
  transform: none;
}

.modal__accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--lime);
}

.event-modal {
  padding: 35px;
  text-align: center;
}

.event-modal__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  place-items: center;
  border: 1px solid rgba(185, 242, 39, 0.35);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(185, 242, 39, 0.07);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
}

.event-modal h2 {
  margin: 9px 0;
  font-family: var(--display);
  font-size: 32px;
}

.event-modal__lead {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.event-context {
  display: flex;
  margin: 20px 0;
  padding: 11px;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  gap: 16px;
}

.context-chip {
  display: flex;
  flex-direction: column;
}

.context-chip small {
  color: var(--muted-2);
  font-size: 7px;
}

.context-chip strong {
  margin-top: 3px;
  font-size: 9px;
}

.choice-list {
  display: grid;
  gap: 8px;
  text-align: left;
}

.choice-button {
  position: relative;
  display: grid;
  width: 100%;
  padding: 13px 38px 13px 15px;
  grid-template-columns: 34px 1fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
  gap: 12px;
}

.choice-button:hover {
  transform: translateX(3px);
  border-color: rgba(185, 242, 39, 0.35);
  background: rgba(185, 242, 39, 0.045);
}

.choice-button::after {
  position: absolute;
  top: 50%;
  right: 15px;
  content: "→";
  color: var(--muted);
  transform: translateY(-50%);
}

.choice-button__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: var(--lime);
  background: rgba(185, 242, 39, 0.08);
  font-size: 14px;
}

.choice-button__body {
  display: flex;
  flex-direction: column;
}

.choice-button strong {
  font-size: 10px;
}

.choice-button p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.choice-effects {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.effect-tag {
  color: #98a9a0;
  font-size: 7px;
}

.effect-tag--good {
  color: var(--lime);
}

.effect-tag--bad {
  color: var(--red);
}

.modal-footnote {
  display: block;
  margin-top: 15px;
  color: var(--muted-2);
  font-size: 10px;
}

.event-modal__lead {
  font-size: 13px;
}

.context-chip small {
  font-size: 10px;
}

.context-chip strong {
  font-size: 12px;
}

.choice-button strong {
  font-size: 14px;
}

.choice-button p {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.65;
}

.effect-tag {
  font-size: 10px;
}

/* Contract */
.contract-modal {
  width: min(1060px, 100%);
  padding: 30px;
}

.modal-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.modal-heading h2 {
  margin: 6px 0 4px;
  font-family: var(--display);
  font-size: 31px;
}

.modal-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.market-value {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.market-value small {
  color: var(--muted);
  font-size: 7px;
}

.market-value strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 23px;
}

.offer-grid {
  display: grid;
  margin: 23px 0 13px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.offer-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 17px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  transition: 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 242, 39, 0.3);
  background: rgba(185, 242, 39, 0.025);
}

.offer-card--recommended::before {
  position: absolute;
  top: -1px;
  right: 15px;
  padding: 4px 7px;
  content: "推荐";
  border-radius: 0 0 5px 5px;
  color: #11180c;
  background: var(--lime);
  font-size: 7px;
  font-weight: 800;
}

.offer-club {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-crest {
  display: grid;
  width: 42px;
  height: 46px;
  flex: 0 0 42px;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.offer-crest img {
  display: block;
  width: 42px;
  height: 46px;
  object-fit: contain;
}

.offer-crest .crest-placeholder {
  width: 100%;
  height: 100%;
}

.crest-placeholder {
  display: grid;
  place-items: center;
  color: #11180c;
  background: var(--lime);
  clip-path: polygon(50% 0, 95% 18%, 86% 75%, 50% 100%, 14% 75%, 5% 18%);
}

.offer-club > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.offer-club strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-club span {
  color: var(--muted);
  font-size: 8px;
}

.offer-positioning {
  display: flex;
  margin: 13px 0;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-tier,
.offer-role {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
}

.offer-tier {
  color: var(--gold);
  background: rgba(245, 196, 81, 0.1);
}

.offer-role {
  color: var(--lime);
  background: rgba(185, 242, 39, 0.08);
}

.offer-details {
  display: flex;
  flex-direction: column;
}

.offer-details > div {
  display: flex;
  padding: 7px 0;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.offer-details span {
  color: var(--muted);
}

.offer-details strong {
  font-size: 8px;
}

.offer-risk {
  margin: 11px 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.5;
}

.offer-risk b {
  color: var(--gold);
}

.offer-advisor {
  margin: 0 0 11px;
  padding: 8px;
  border-left: 2px solid var(--lime);
  color: var(--muted);
  background: rgba(185, 242, 39, 0.055);
  font-size: 7px;
  line-height: 1.5;
}

.offer-advisor b {
  color: var(--lime);
}

.offer-card .button {
  margin-top: auto;
  padding: 10px;
  font-size: 9px;
}

/* Summary */
.summary-modal {
  width: min(780px, 100%);
}

.summary-hero {
  padding: 30px 32px 22px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(185, 242, 39, 0.13), transparent 35%),
    rgba(185, 242, 39, 0.025);
}

.summary-hero .kicker {
  font-size: 15px;
}

.summary-hero h2 {
  margin: 7px 0 3px;
  font-family: var(--display);
  font-size: 32px;
}

.summary-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.summary-body {
  position: relative;
  padding: 25px 32px 30px;
}

.summary-rating {
  position: absolute;
  top: -61px;
  right: 34px;
  display: flex;
  width: 92px;
  height: 92px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 5px solid #0e1b16;
  border-radius: 50%;
  color: #12190c;
  background: var(--lime);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-rating span,
.summary-rating small {
  font-size: 7px;
}

.summary-rating strong {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.summary-stats {
  display: grid;
  margin-right: 110px;
  grid-template-columns: repeat(5, 1fr);
}

.summary-stat {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.summary-stat:last-child {
  border: 0;
}

.summary-stat strong {
  font-family: var(--display);
  font-size: 22px;
}

.summary-stat span {
  color: var(--muted);
  font-size: 7px;
}

.summary-sections {
  display: grid;
  margin-top: 26px;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.summary-sections > div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.summary-sections h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-result {
  display: flex;
  padding: 6px 0;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.summary-result:last-child {
  border: 0;
}

.summary-result span {
  color: var(--muted);
}

.summary-result strong {
  flex-shrink: 0;
  margin-left: 12px;
  white-space: nowrap;
}

.summary-result strong.gold {
  color: var(--gold);
}

.summary-highlights {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.summary-highlights > h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.summary-highlight {
  display: grid;
  padding: 10px 0;
  grid-template-columns: 42px 1fr;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}

.summary-highlight:last-child {
  border-bottom: 0;
}

.summary-highlight > span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.summary-highlight strong {
  font-size: 12px;
}

.summary-highlight p,
.summary-highlights__empty {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.attribute-changes {
  display: flex;
  margin: 15px 0;
  flex-wrap: wrap;
  gap: 6px;
}

.attribute-change {
  display: flex;
  min-width: 115px;
  padding: 8px 10px;
  flex: 1;
  justify-content: space-between;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
}

.attribute-change span {
  color: var(--muted);
}

.attribute-change strong.positive {
  color: var(--lime);
}

.attribute-change strong.negative {
  color: var(--red);
}

/* Save manager */
.save-modal {
  width: min(620px, 100%);
  padding: 34px;
}

.save-modal h2 {
  margin: 8px 0;
  font-family: var(--display);
  font-size: 30px;
}

.save-modal > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.save-slot-list {
  display: grid;
  gap: 10px;
}

.save-slot {
  display: grid;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.save-slot--automatic {
  border-color: rgba(185, 242, 39, 0.22);
  background: rgba(185, 242, 39, 0.035);
}

.save-slot__index {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(185, 242, 39, 0.08);
  font-family: var(--display);
  font-weight: 800;
  place-items: center;
}

.save-slot__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.save-slot__content small {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.save-slot__content strong,
.save-slot__content span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.save-slot__content strong {
  font-size: 12px;
}

.save-slot__content span {
  color: var(--muted);
  font-size: 9px;
}

.save-slot__content .save-slot__error {
  color: var(--red);
}

.save-slot__action .button {
  min-width: 68px;
  min-height: 34px;
  padding: 8px 13px;
}

.save-slot__automatic {
  color: var(--muted-2);
  font-size: 8px;
  white-space: nowrap;
}

/* Retire / legacy */
.trophy-detail-modal {
  width: min(520px, 100%);
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(244, 197, 87, 0.14), transparent 42%),
    #0e1b16;
}

.trophy-detail-modal__media {
  display: grid;
  min-height: 120px;
  margin: 18px 0 8px;
  place-items: center;
}

.trophy-detail-modal__media .trophy-card__logo {
  width: min(180px, 70vw);
  height: 120px;
}

.trophy-detail-modal h2 {
  margin: 8px 0 5px;
  font-family: var(--display);
  font-size: 27px;
}

.trophy-detail-modal > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.trophy-detail-modal__years-title {
  margin: 24px 0 8px;
  color: var(--gold);
  font-size: 12px;
  text-align: left;
}

.trophy-detail-years {
  display: flex;
  max-height: min(285px, 38vh);
  margin: 0;
  padding: 0 6px 0 32px;
  overflow-y: auto;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.trophy-detail-years li {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(62px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.trophy-detail-years time {
  color: var(--gold);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.trophy-detail-years span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.retire-modal {
  width: min(480px, 100%);
  padding: 35px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.retire-icon {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 35px;
}

.retire-modal h2 {
  margin: 9px 0;
  font-family: var(--display);
  font-size: 29px;
}

.retire-modal > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.confirm-check {
  display: flex;
  margin: 20px 0;
  padding: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #bcc8c1;
  cursor: pointer;
  font-size: 9px;
  gap: 8px;
}

.confirm-check input {
  accent-color: var(--red);
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.modal-actions .button {
  min-width: 135px;
  padding: 11px 15px;
  font-size: 9px;
}

.legacy-modal {
  width: min(700px, 100%);
  padding: 35px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(244, 197, 87, 0.13), transparent 35%),
    #0e1b16;
}

.legacy-modal h2 {
  margin: 8px 0 20px;
  font-family: var(--display);
  font-size: 35px;
}

.legacy-rank {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  flex-direction: column;
}

.legacy-rank small {
  color: var(--muted);
  font-size: 8px;
}

.legacy-rank strong {
  margin: 3px 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 31px;
}

.legacy-rank span {
  color: var(--gold);
  letter-spacing: 0.2em;
}

.legacy-modal > p {
  max-width: 570px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.legacy-numbers {
  display: grid;
  margin-bottom: 14px;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.legacy-number {
  display: flex;
  padding: 12px 5px;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.legacy-number:last-child {
  border: 0;
}

.legacy-number strong {
  font-family: var(--display);
  font-size: 22px;
}

.legacy-number span {
  color: var(--muted);
  font-size: 7px;
}

.legacy-highlights {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 9px;
}

/* Toasts */
.toast-stack {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  width: min(330px, calc(100vw - 40px));
  padding: 12px 14px;
  align-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 9px;
  color: #f2f6f3;
  background: #14231d;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  animation: toast-in 0.3s ease;
  gap: 9px;
}

.toast::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  content: "✓";
  border-radius: 50%;
  color: #11180c;
  background: var(--lime);
  font-size: 9px;
  font-weight: 900;
}

.toast--warning::before {
  content: "!";
  background: var(--gold);
}

.toast--error::before {
  content: "×";
  color: white;
  background: var(--red);
}

@keyframes toast-in {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 1050px) {
  .welcome-screen {
    padding-left: 6vw;
  }

  .welcome-hero {
    width: 58%;
  }

  .welcome-visual {
    width: 42%;
  }

  .visual-card--story {
    left: -18%;
  }

  .setup-grid {
    grid-template-columns: 1fr;
  }

  .setup-submit {
    grid-column: auto;
  }

  .position-selector {
    grid-template-columns: 1fr;
  }

  .tactical-board {
    position: relative;
    top: auto;
    min-height: 430px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .side-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .club-card,
  .status-card,
  .milestones-card {
    min-width: 0;
  }

  .club-details {
    grid-template-columns: 1fr;
  }

  .status-list > div {
    grid-template-columns: 54px 1fr;
  }

  .status-list em {
    display: none;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .topbar {
    height: 62px;
    padding: 0 16px;
  }

  .brand small {
    display: none;
  }

  .topbar__season {
    display: none !important;
  }

  .screen {
    padding-top: 62px;
  }

  .welcome-screen {
    display: none;
    padding: 80px 25px 45px;
  }

  .welcome-screen.screen--active {
    display: flex;
  }

  .welcome-hero {
    width: 100%;
    padding: 0;
  }

  .welcome-hero h1 {
    font-size: clamp(59px, 17vw, 90px);
  }

  .welcome-visual {
    position: absolute;
    z-index: 0;
    right: -120px;
    bottom: 0;
    width: 70%;
    opacity: 0.3;
  }

  .welcome-features {
    margin-top: 42px;
  }

  .setup-screen {
    padding: 62px 16px 45px;
  }

  .position-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar {
    position: fixed;
    z-index: 45;
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 58px;
    padding: 5px 10px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .player-mini,
  .sidebar__bottom {
    display: none;
  }

  .career-nav {
    display: grid;
    height: 100%;
    margin: 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
  }

  .career-nav__item {
    justify-content: center;
    padding: 4px;
    flex-direction: column;
    font-size: 7px;
    gap: 1px;
  }

  .career-nav__item span {
    font-size: 15px;
  }

  .career-content {
    width: 100%;
    margin-left: 0;
    padding: 24px 16px 85px;
  }

  .hero-player-card {
    padding: 21px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-player-card__metrics {
    padding-top: 17px;
    border-top: 1px solid var(--line);
  }

  .metric:first-child {
    border-left: 0;
  }

  .side-column {
    display: flex;
  }

  .club-details {
    grid-template-columns: 1fr 1fr;
  }

  .status-list > div {
    grid-template-columns: 64px 1fr 65px;
  }

  .status-list em {
    display: block;
  }

  .trophy-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-archive {
    grid-template-columns: 1fr;
  }

  .tab-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-filters {
    justify-content: flex-start;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero-player-card__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-player-card__metrics .metric:nth-child(4) {
    border-left: 0;
  }

  .hero-player-card__metrics .metric:nth-child(n + 4) {
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .hero-player-card__metrics .metric--market-value {
    grid-column: span 2;
  }

  .brand__mark {
    width: 33px;
    height: 33px;
  }

  .brand strong {
    font-size: 13px;
  }

  .icon-button {
    min-width: 48px;
    padding: 7px;
    font-size: 9px;
  }

  .welcome-actions {
    width: 100%;
  }

  .welcome-actions .button {
    width: 100%;
  }

  .welcome-features {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .setup-wrap {
    padding-top: 30px;
  }

  .setup-panel {
    padding: 18px;
  }

  .position-card {
    min-height: 195px;
  }

  .initial-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
  }

  .initial-preview > div:nth-child(2) {
    border-right: 0;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contract-chip {
    align-items: flex-start;
  }

  .hero-player-card__identity h3 {
    font-size: 27px;
  }

  .shirt-number {
    width: 64px;
    font-size: 64px;
  }

  .metric strong {
    font-size: 25px;
  }

  .metric--ovr strong {
    font-size: 34px;
  }

  .readiness-list {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(5, minmax(55px, 1fr));
    overflow-x: auto;
  }

  .career-totals {
    width: 100%;
    overflow-x: auto;
  }

  .market-value-history-card {
    padding: 18px 14px 12px;
  }

  .market-value-history-card .content-card__head {
    align-items: flex-start;
  }

  .market-value-chart__latest strong {
    font-size: 20px;
  }

  .market-value-chart {
    min-height: 210px;
  }

  .total-chip {
    flex: 1;
  }

  .trophy-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .trophy-card {
    min-height: 165px;
  }

  .honour-row {
    grid-template-columns: 38px 58px minmax(120px, 1fr);
  }

  .honour-row > span:last-child {
    display: none;
  }

  .modal-backdrop {
    padding: 10px;
    align-items: end;
  }

  .modal {
    max-height: calc(100vh - 20px);
    border-radius: 17px 17px 10px 10px;
  }

  .event-modal,
  .contract-modal,
  .save-modal,
  .retire-modal,
  .legacy-modal,
  .trophy-detail-modal {
    padding: 24px 18px;
  }

  .trophy-detail-modal h2 {
    font-size: 23px;
  }

  .trophy-detail-years {
    max-height: 34vh;
    padding-left: 27px;
  }

  .trophy-detail-years li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .save-slot {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .save-slot__index {
    width: 30px;
    height: 30px;
  }

  .save-slot__action .button {
    min-width: 58px;
    padding-inline: 10px;
  }

  .summary-hero {
    padding: 24px 20px 20px;
  }

  .summary-body {
    padding: 22px 20px 25px;
  }

  .summary-rating {
    position: static;
    width: 72px;
    height: 72px;
    margin: -10px auto 15px;
    border-width: 3px;
  }

  .summary-stats {
    margin-right: 0;
  }

  .summary-sections {
    grid-template-columns: 1fr;
  }

  .choice-button {
    grid-template-columns: 30px 1fr;
    padding-left: 11px;
  }

  .choice-button__icon {
    width: 30px;
    height: 30px;
  }

  .modal-heading {
    align-items: flex-start;
  }

  .market-value strong {
    font-size: 18px;
  }

  .legacy-numbers {
    grid-template-columns: repeat(3, 1fr);
  }

  .legacy-number:nth-child(3) {
    border-right: 0;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .button {
    width: 100%;
  }
}

/* Day mode: dark remains the default night mode. */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f7f1;
  --bg-soft: #e7efe8;
  --panel: #ffffff;
  --panel-2: #f3f8f2;
  --panel-3: #e8f1e7;
  --line: rgba(22, 48, 35, 0.13);
  --line-bright: rgba(22, 48, 35, 0.25);
  --text: #15231c;
  --muted: #52675d;
  --muted-2: #718279;
  --lime: #78a800;
  --lime-bright: #97c915;
  --lime-dark: #5d8500;
  --shadow: 0 18px 50px rgba(38, 66, 50, 0.12);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 80% 18%, rgba(120, 168, 0, 0.13), transparent 30%),
    linear-gradient(135deg, #f8fbf6, #edf4ed 55%, #e4eee5);
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .sidebar {
  background: rgba(249, 252, 248, 0.94);
  box-shadow: 0 10px 34px rgba(38, 66, 50, 0.08);
}

html[data-theme="light"] .setup-panel,
html[data-theme="light"] .content-card,
html[data-theme="light"] .archive-item {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 13px 35px rgba(38, 66, 50, 0.09);
}

html[data-theme="light"] .market-value-chart__point circle {
  fill: #ffffff;
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .modal {
  color: var(--text);
  background: #ffffff;
}

html[data-theme="light"] .field > span {
  color: #40564b;
}

html[data-theme="light"] .hero-player-card {
  background:
    linear-gradient(108deg, rgba(120, 168, 0, 0.14), transparent 39%),
    linear-gradient(100deg, #ffffff, #edf5eb);
  box-shadow: 0 15px 40px rgba(38, 66, 50, 0.12);
}

html[data-theme="light"] .trophy-card {
  background:
    radial-gradient(circle at 50% 35%, rgba(180, 116, 0, 0.1), transparent 42%),
    #ffffff;
  box-shadow: 0 10px 28px rgba(38, 66, 50, 0.09);
}

html[data-theme="light"] .trophy-card--locked {
  background: #eef3ee;
}

html[data-theme="light"] .trophy-card__mark,
html[data-theme="light"] .honour-count strong,
html[data-theme="light"] .honour-row strong {
  color: #a66100;
}

html[data-theme="light"] .trophy-card--locked .trophy-card__mark {
  color: #52675d;
}

html[data-theme="light"] .welcome-screen::before {
  opacity: 0.24;
  filter: invert(1);
}

html[data-theme="light"] .player-silhouette {
  opacity: 0.22;
}

html[data-theme="light"] .position-card {
  background: rgba(255, 255, 255, 0.6);
}

html[data-theme="light"] .position-card:hover {
  background: #ffffff;
}

html[data-theme="light"] .position-card--selected {
  background: linear-gradient(180deg, rgba(120, 168, 0, 0.16), rgba(120, 168, 0, 0.04));
}

html[data-theme="light"] .button--secondary,
html[data-theme="light"] .icon-button {
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .modal-backdrop {
  background: rgba(28, 43, 35, 0.42);
}

html[data-theme="light"] .simulation-overlay {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 38%, rgba(120, 168, 0, 0.14), transparent 32%),
    rgba(246, 250, 244, 0.97);
}

html[data-theme="light"] .simulation-progress {
  background: rgba(22, 48, 35, 0.13);
}

/* Improve in-game readability without inflating the compact navigation. */
.career-content .breadcrumb,
.career-content .contract-chip span,
.career-content .contract-chip strong {
  font-size: 13px;
}

.career-content .season-action-card > p,
.career-content .club-card__top p,
.career-content .status-list span,
.career-content .status-list em,
.career-content .timeline-item p,
.career-content .archive-item p,
.career-content .empty-state p {
  font-size: 13px;
}

.career-content .readiness-list strong,
.career-content .club-details strong,
.career-content .timeline-item strong,
.career-content .journey-item strong,
.career-content .archive-item h3,
.career-content td,
.career-content table {
  font-size: 14px;
}

.career-content .readiness-list small,
.career-content .club-card__top small,
.career-content .club-details span,
.career-content .milestone small,
.career-content .timeline-item small,
.career-content .stat-tile span,
.career-content .total-chip span,
.career-content th,
.career-content .journey-item span,
.career-content .journey-item small,
.career-content .archive-item__type,
.career-content .archive-item__effect {
  font-size: 12px;
}

.career-content .milestone strong,
.career-content .result-tag,
.career-content .text-button,
.career-content .filter-button {
  font-size: 13px;
}

.career-content .stat-tile strong,
.career-content .total-chip strong {
  font-size: 26px;
}

@media (max-width: 560px) {
  .position-card {
    min-height: 82px;
  }
}

/* Single-page career dashboard and archive overlays */
.career-screen .sidebar {
  display: none;
}

.career-screen .career-content {
  width: 100%;
  margin-left: 0;
}

.career-quick-actions {
  display: grid;
  margin-bottom: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.career-quick-actions button {
  display: grid;
  min-width: 0;
  padding: 10px 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.career-quick-actions button:hover {
  border-color: rgba(185, 242, 39, 0.38);
  transform: translateY(-1px);
}

.career-quick-actions button > span {
  grid-row: 1 / 3;
  color: var(--lime);
  font-size: 18px;
}

.career-quick-actions button > b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.career-quick-actions button > small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.career-quick-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.career-quick-actions .career-quick-actions__retire > span {
  color: var(--red);
}

.career-archive-dialog.career-tab--active {
  position: fixed;
  z-index: 60;
  top: 88px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: block;
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 28px;
  overflow-y: auto;
  border: 1px solid var(--line-bright);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.archive-dialog-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.position-card {
  min-height: 54px;
  padding: 8px 12px;
}

.position-grid {
  gap: 6px 8px;
}

.position-role-preview {
  margin-bottom: 8px;
  padding: 10px 14px;
}

.position-role-preview p {
  margin-top: 4px;
}

.tactical-board {
  min-height: 430px;
  max-height: 430px;
  overflow: hidden;
}

@media (min-width: 1051px) {
  .setup-screen {
    padding-bottom: 16px;
  }

  .setup-wrap {
    padding-top: 20px;
  }

  .tactical-board {
    min-height: 402px;
    max-height: 402px;
  }

  .section-heading {
    margin-top: 18px;
  }

  .section-heading h2 {
    margin-top: 8px;
  }

  .setup-screen .section-heading h2 {
    font-size: 38px;
  }

  .setup-grid {
    margin-top: 16px;
    gap: 12px 16px;
  }

  .setup-panel {
    padding: 18px;
  }

  .panel-label {
    margin-bottom: 12px;
  }

  .setup-panel--identity .field {
    margin-bottom: 12px;
    gap: 6px;
  }

  .setup-panel--identity .field input,
  .setup-panel--identity .field select {
    height: 42px;
  }

  .position-card {
    min-height: 48px;
    padding: 6px 10px;
  }

  .position-grid {
    gap: 5px 8px;
  }

  .position-role-preview {
    padding: 8px 12px;
  }

  .position-role-preview small {
    margin-bottom: 2px;
  }

  .position-role-preview p {
    margin-top: 2px;
    line-height: 1.4;
  }

  .initial-preview {
    margin-top: 10px;
    padding: 9px;
  }

  .initial-preview strong {
    margin-top: 2px;
    font-size: 19px;
  }

  .setup-submit {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

html[data-theme="light"] .visual-card {
  color: #f5faef;
  border-color: rgba(21, 35, 28, 0.38);
  background: rgba(21, 35, 28, 0.94);
  box-shadow: 0 16px 38px rgba(21, 35, 28, 0.22);
}

html[data-theme="light"] .visual-card small,
html[data-theme="light"] .visual-card span {
  color: #c3d0c7;
}

html[data-theme="light"] .visual-card strong {
  color: #f5faef;
}

html[data-theme="light"] .visual-card__icon {
  color: #15231c;
  background: var(--lime-bright);
}

.summary-result span,
.attribute-change span {
  font-size: 11px;
}

.summary-result strong,
.attribute-change strong {
  font-size: 12px;
}

.summary-sections h3,
.summary-highlights > h3 {
  font-size: 12px;
}

@media (min-width: 1100px) and (min-height: 700px) {
  .career-screen {
    min-height: 100vh;
    overflow: visible;
  }

  .career-screen .career-content {
    min-height: calc(100vh - 72px);
    padding: 16px clamp(24px, 3vw, 52px) 32px;
    overflow: visible;
  }

  .career-screen .career-tab--active:not(.career-archive-dialog) {
    min-height: 100%;
  }

  .dashboard-head {
    margin-bottom: 10px;
  }

  .dashboard-head h2 {
    font-size: 30px;
  }

  .hero-player-card {
    min-height: 132px;
    margin-bottom: 10px;
    padding: 20px 30px;
  }

  .hero-player-card__identity h3 {
    font-size: 34px;
  }

  .hero-player-card__metrics .metric strong {
    font-size: 32px;
  }

  .career-quick-actions {
    margin-bottom: 10px;
  }

  .dashboard-grid {
    gap: 10px;
  }

  .result-column,
  .main-column,
  .side-column,
  .milestones-column {
    gap: 10px;
  }

  .season-action-card,
  .club-card,
  .status-card,
  .milestones-card,
  .timeline-card,
  .latest-season-card {
    padding: 14px 16px;
  }

  .readiness-list {
    margin: 10px 0;
  }

  .readiness-list > div {
    padding: 7px 0;
  }

  .club-card__top {
    margin-bottom: 10px;
  }

  .club-details {
    gap: 7px;
  }

  .milestone {
    padding: 7px 0;
  }
}

/* Use the previously empty desktop margins for secondary dashboard cards. */
#dashboardTab .dashboard-grid {
  grid-template-areas:
    "main side"
    "result milestones";
}

#dashboardTab .result-column {
  grid-area: result;
}

#dashboardTab .main-column {
  grid-area: main;
}

#dashboardTab .side-column {
  grid-area: side;
}

#dashboardTab .milestones-column {
  grid-area: milestones;
}

#dashboardTab .dashboard-head > div > .breadcrumb {
  margin-bottom: 4px;
}

#dashboardTab .dashboard-head > div > h2 {
  line-height: 1;
}

#dashboardTab .dashboard-head > div > p {
  margin-top: 4px;
  font-size: 16px;
}

#dashboardTab .contract-chip {
  align-self: flex-end;
}

#dashboardTab .status-badge,
#dashboardTab .metric span,
#dashboardTab .season-number {
  font-size: 10px;
}

#dashboardTab .action-hint {
  font-size: 12px;
}

#dashboardTab .hero-player-card__identity p {
  font-size: 15px;
}

#dashboardTab .metric small {
  font-size: 13px;
}

#dashboardTab .shirt-number {
  font-size: 81px;
}

#dashboardTab .hero-player-card__metrics .metric strong {
  font-size: 34px;
}

#dashboardTab .hero-player-card__metrics .metric--ovr strong {
  font-size: 34px;
}

#dashboardTab .button--season {
  font-size: 18px;
}

#dashboardTab .button--season b {
  font-size: 20px;
}

#dashboardTab .rating-pill {
  font-size: 17px;
}

#dashboardTab .content-card__head h3 {
  font-size: 20px;
}

#dashboardTab .kicker {
  font-size: 12px;
}

#dashboardTab .readiness-icon {
  font-size: 11px;
}

#dashboardTab .club-crest {
  font-size: 23px;
}

#dashboardTab .club-card__top h3 {
  font-size: 17px;
}

#dashboardTab .milestone > span {
  font-size: 13px;
}

#dashboardTab .career-quick-actions button > span {
  font-size: 20px;
}

#dashboardTab .career-quick-actions button > b {
  font-size: 14px;
}

#dashboardTab .career-quick-actions button > small {
  font-size: 11px;
}

@media (min-width: 1500px) {
  #dashboardTab.career-tab--active {
    display: grid;
    width: calc(100vw - 48px);
    margin-left: calc((100% - (100vw - 48px)) / 2);
    align-items: stretch;
    grid-template-columns:
      minmax(240px, 0.7fr)
      minmax(560px, 1.8fr)
      minmax(300px, 1fr)
      minmax(240px, 0.8fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 16px;
    row-gap: 10px;
  }

  #dashboardTab .dashboard-head {
    margin-bottom: 0;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  #dashboardTab .hero-player-card {
    margin-bottom: 0;
    grid-column: 2 / 4;
    grid-row: 2;
  }

  #dashboardTab .career-quick-actions {
    margin-bottom: 0;
    grid-column: 2 / 4;
    grid-row: 3;
  }

  #dashboardTab .dashboard-grid {
    display: contents;
  }

  #dashboardTab .result-column {
    grid-column: 1;
    grid-row: 2 / 5;
  }

  #dashboardTab .main-column {
    grid-column: 2;
    grid-row: 4;
  }

  #dashboardTab .side-column {
    grid-column: 3;
    grid-row: 4;
  }

  #dashboardTab .milestones-column {
    grid-column: 4;
    grid-row: 2 / 5;
  }

  #dashboardTab .result-column,
  #dashboardTab .main-column,
  #dashboardTab .side-column,
  #dashboardTab .milestones-column {
    height: 100%;
  }

  #dashboardTab .milestones-column,
  #dashboardTab .timeline-card {
    min-height: 0;
    overflow: hidden;
  }

  #dashboardTab .latest-season-card,
  #dashboardTab .milestones-card,
  #dashboardTab .season-action-card,
  #dashboardTab .club-card,
  #dashboardTab .status-card,
  #dashboardTab .timeline-card {
    box-sizing: border-box;
  }

  #dashboardTab .latest-season-card,
  #dashboardTab .milestones-card {
    flex: 1 1 0;
  }

  #dashboardTab .latest-season-card,
  #dashboardTab .season-action-card,
  #dashboardTab .timeline-card {
    display: flex;
    flex-direction: column;
  }

  #dashboardTab .season-action-card,
  #dashboardTab .timeline-card {
    flex: 1 1 auto;
  }

  #dashboardTab .club-card,
  #dashboardTab .status-card {
    flex: 1 1 0;
  }

  #dashboardTab .timeline {
    min-height: 0;
    padding-right: 8px;
    flex: 1 1 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  #dashboardTab .readiness-list {
    grid-template-columns: 1fr;
  }

  #dashboardTab .stats-strip {
    grid-template-columns: repeat(2, minmax(70px, 1fr));
  }
}

@media (max-width: 1200px) {
  #dashboardTab .dashboard-grid {
    grid-template-areas:
      "main"
      "side"
      "result"
      "milestones";
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .career-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-archive-dialog.career-tab--active {
    top: 76px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 18px 14px;
  }
}

/* Contract decision readability, quick-action alignment, and shirt-number contrast. */
.contract-modal .kicker {
  font-size: 15px;
}

.contract-modal .modal-heading p {
  font-size: 14px;
}

.contract-modal .market-value small {
  font-size: 11px;
}

.contract-modal .market-value strong {
  font-size: 27px;
}

.contract-modal .offer-card--recommended::before {
  font-size: 12px;
}

.contract-modal .offer-crest {
  font-size: 18px;
}

.contract-modal .offer-club strong {
  font-size: 15px;
}

.contract-modal .offer-club span,
.contract-modal .offer-tier,
.contract-modal .offer-role,
.contract-modal .offer-details > div,
.contract-modal .offer-details strong,
.contract-modal .offer-risk,
.contract-modal .offer-advisor {
  font-size: 12px;
}

.contract-modal .offer-card .button {
  font-size: 13px;
}

.contract-modal .contract-note > span {
  font-size: 15px;
}

.contract-modal .contract-note p {
  font-size: 14px;
}

#dashboardTab .career-quick-actions button > span {
  display: grid;
  align-self: stretch;
  place-items: center;
  line-height: 1;
}

#dashboardTab .career-quick-actions button > span svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#dashboardTab .status-list > div {
  grid-template-columns: max-content minmax(32px, 1fr) max-content;
}

#dashboardTab .status-list span,
#dashboardTab .status-list em {
  white-space: nowrap;
}

#dashboardTab .shirt-number {
  color: var(--lime-bright);
}

html[data-theme="light"] #dashboardTab .shirt-number {
  color: var(--lime-dark);
}

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