.cg-generator { width: 100%; color: var(--ink); scroll-margin-top: 76px; }
.cg-generator:focus, .cg-result-focus:focus { outline: none; }
.cg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cg-stage-bar {
  margin: 0 10px -1px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden; color: rgba(247,243,233,0.58); background: #07130f;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 10px 10px 0 0; list-style: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.cg-stage-bar li {
  min-width: 0; padding: 11px 8px; display: flex; align-items: center; justify-content: center;
  gap: 7px; border-right: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.cg-stage-bar li:last-child { border-right: 0; }
.cg-stage-bar li span { color: #f1d76e; font-family: var(--font-display); font-size: 13px; }
.cg-stage-bar .cg-stage-active { color: #fff8e8; background: rgba(241,215,110,0.08); }

.cg-setup-board, .cg-draft-board, .cg-academy-board, .cg-career-board {
  position: relative; overflow: hidden; color: #f7f8f2;
  background:
    radial-gradient(circle at 88% 5%, rgba(74,238,169,0.11), transparent 28%),
    radial-gradient(circle at 8% 96%, rgba(255,91,53,0.09), transparent 34%),
    linear-gradient(145deg, #0e2330, #071219 72%);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.34); font-family: ui-sans-serif, system-ui, sans-serif;
}
.cg-career-board { color: #f7f3e9; background: #07130f; }

.cg-game-header {
  position: relative; z-index: 1; padding: 22px 24px 18px;
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  background: rgba(3,13,9,0.36); border-bottom: 1px solid rgba(255,255,255,0.13);
}
.cg-game-header > div > span {
  color: #b7e34b; font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
}
.cg-game-header h2 {
  margin-top: 4px; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 0.96; letter-spacing: -0.015em; text-transform: uppercase;
}
.cg-game-header > p {
  max-width: 260px; padding-bottom: 3px; color: rgba(247,248,242,0.68);
  font-size: 13px; line-height: 1.45; text-align: right;
}

.cg-quick-start {
  position: relative; z-index: 1; padding: 16px 24px 18px;
  display: grid; grid-template-columns: minmax(190px, 0.8fr) minmax(240px, 1fr) 260px;
  align-items: end; gap: 16px;
  background: rgba(183,227,75,0.06); border-bottom: 1px solid rgba(183,227,75,0.2);
}
.cg-quick-copy { min-height: 43px; display: grid; align-content: center; gap: 4px; }
.cg-quick-copy span { color: #4aeea9; font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.cg-quick-copy strong { max-width: 280px; color: rgba(247,248,242,0.78); font-size: 12px; line-height: 1.4; }
.cg-form-error { grid-column: 2 / -1; margin: -6px 0 0; color: #ff8a70; font-size: 13px; font-weight: 700; line-height: 1.35; }

.cg-setup-grid {
  position: relative; z-index: 1; padding: 20px 24px;
  display: grid; grid-template-columns: minmax(210px, 0.8fr) minmax(230px, 0.92fr) minmax(290px, 1.08fr);
  align-items: stretch; gap: 14px;
}
.cg-panel {
  min-width: 0; padding: 18px; background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.13); border-radius: 8px;
}
.cg-panel > h3 {
  padding-bottom: 10px; display: flex; align-items: center; gap: 8px; color: #f7f8f2;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
}
.cg-panel > h3 span { color: #4aeea9; font-family: var(--font-display); font-size: 15px; font-weight: 400; }

.cg-jersey {
  width: 118px; height: 128px; margin: 16px auto 12px; padding: 30px 16px 14px;
  display: flex; align-items: center; flex-direction: column; color: #f7fbff;
  background:
    linear-gradient(90deg, transparent 43%, #ff5b35 43% 57%, transparent 57%),
    linear-gradient(135deg, #0e4160, #09263a);
  clip-path: polygon(26% 0, 39% 7%, 50% 13%, 61% 7%, 74% 0, 100% 18%, 84% 42%, 75% 35%, 75% 100%, 25% 100%, 25% 35%, 16% 42%, 0 18%);
  filter: drop-shadow(0 12px 13px rgba(0,0,0,0.18));
}
.cg-jersey span { max-width: 84px; overflow: hidden; font-size: 12px; font-weight: 900; letter-spacing: 0.04em; text-overflow: ellipsis; white-space: nowrap; }
.cg-jersey strong { font-family: var(--font-display); font-size: 46px; font-weight: 400; line-height: 1; }

.cg-field { display: grid; gap: 6px; }
.cg-field > span, .cg-fieldset legend {
  color: rgba(247,248,242,0.72); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.cg-field input {
  width: 100%; height: 44px; padding: 0 12px; color: #f7f8f2; background: #061018;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 6px; outline: none; font-size: 15px;
}
.cg-field input:focus { border-color: #4aeea9; box-shadow: 0 0 0 3px rgba(74,238,169,0.16); }
.cg-nat-panel .cg-field { margin-top: 14px; }

.cg-country-list {
  height: 318px; margin-top: 8px; padding-right: 5px; display: grid; align-content: start;
  gap: 5px; overflow-y: auto; scrollbar-color: rgba(74,238,169,0.6) rgba(255,255,255,0.06); scrollbar-width: thin;
}
.cg-country-choice, .cg-country-selected {
  min-height: 40px; padding: 7px 10px; display: grid;
  grid-template-columns: 28px 22px minmax(0, 1fr) 16px; align-items: center; gap: 6px;
  cursor: pointer; color: #f7f8f2; background: rgba(3,13,19,0.72);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; text-align: left;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}
.cg-country-choice:hover { background: rgba(74,238,169,0.08); border-color: rgba(74,238,169,0.55); transform: translateX(2px); }
.cg-country-selected { background: rgba(74,238,169,0.15); border-color: #4aeea9; }
.cg-country-choice strong, .cg-country-selected strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.cg-country-code { color: rgba(247,248,242,0.58); font-size: 12px; font-weight: 800; }
.cg-country-flag { font-size: 16px; line-height: 1; }
.cg-country-check { color: #4aeea9; font-size: 13px; font-weight: 900; text-align: right; }
.cg-no-countries { padding: 28px 10px; color: rgba(247,248,242,0.62); font-size: 13px; text-align: center; }

.cg-pitch-panel { display: flex; flex-direction: column; }
.cg-pitch-summary { margin: 14px 0 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cg-pitch-summary span { color: rgba(247,248,242,0.7); font-size: 13px; font-weight: 800; }
.cg-pitch-summary strong { color: #4aeea9; font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
.cg-pitch-fieldset { min-width: 0; border: 0; }
.cg-tactical-pitch {
  position: relative; width: min(100%, 296px); aspect-ratio: 0.74; margin: 0 auto; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 14.28%, transparent 14.28% 28.56%),
    linear-gradient(180deg, #14734d, #0d593b);
  border: 2px solid rgba(154,255,204,0.62); border-radius: 9px;
  box-shadow: inset 0 0 0 4px rgba(2,29,19,0.22), 0 18px 34px rgba(0,0,0,0.24);
}
.cg-tactical-pitch::before, .cg-tactical-pitch::after,
.cg-pitch-halfway, .cg-pitch-circle, .cg-pitch-box-top, .cg-pitch-box-bot {
  position: absolute; z-index: 0; content: ""; pointer-events: none;
}
.cg-tactical-pitch::before { inset: 10px; border: 1px solid rgba(220,255,237,0.44); }
.cg-tactical-pitch::after { top: 50%; left: 50%; width: 5px; aspect-ratio: 1; background: rgba(235,255,244,0.72); border-radius: 50%; transform: translate(-50%,-50%); }
.cg-pitch-halfway { top: 50%; right: 10px; left: 10px; height: 1px; background: rgba(220,255,237,0.44); }
.cg-pitch-circle { top: 50%; left: 50%; width: 68px; aspect-ratio: 1; border: 1px solid rgba(220,255,237,0.44); border-radius: 50%; transform: translate(-50%,-50%); }
.cg-pitch-box-top, .cg-pitch-box-bot { left: 50%; width: 46%; height: 18%; border: 1px solid rgba(220,255,237,0.44); transform: translateX(-50%); }
.cg-pitch-box-top { top: 10px; border-top: 0; }
.cg-pitch-box-bot { bottom: 10px; border-bottom: 0; }

.cg-pitch-pos {
  position: absolute; z-index: 2; min-width: 38px; height: 28px; padding: 0 7px;
  display: grid; place-items: center; cursor: pointer; color: #eafff3;
  background: rgba(4,24,17,0.92); border: 1px solid rgba(197,255,225,0.42);
  border-radius: 99px; box-shadow: 0 4px 10px rgba(0,0,0,0.24);
  font-size: 12px; font-weight: 900; transform: translate(-50%,-50%);
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.cg-pitch-pos:hover { border-color: #ffcf5a; transform: translate(-50%,-50%) scale(1.08); }
.cg-pitch-pos-sel {
  color: #04130d; background: #4aeea9; border-color: #d9ffec;
  box-shadow: 0 0 0 4px rgba(74,238,169,0.2), 0 7px 16px rgba(0,0,0,0.3);
}
.cg-pitch-dc { top: 9%; left: 50%; }
.cg-pitch-lw { top: 22%; left: 16%; }
.cg-pitch-rw { top: 22%; left: 84%; }
.cg-pitch-mco { top: 32%; left: 50%; }
.cg-pitch-mc { top: 45%; left: 50%; }
.cg-pitch-mcd { top: 58%; left: 50%; }
.cg-pitch-lb { top: 70%; left: 14%; }
.cg-pitch-lcb { top: 76%; left: 39%; }
.cg-pitch-rcb { top: 76%; left: 61%; }
.cg-pitch-rb { top: 70%; left: 86%; }
.cg-pitch-gk { top: 90%; left: 50%; }
.cg-pitch-hint { max-width: 296px; margin: 10px auto 0; color: rgba(247,248,242,0.62); font-size: 12px; line-height: 1.4; text-align: center; }

.cg-fieldset { min-width: 0; margin-top: 14px; border: 0; }
.cg-fieldset legend { margin-bottom: 6px; }
.cg-shirt-nums, .cg-two-choices, .cg-pace-choices { display: grid; gap: 6px; }
.cg-shirt-nums { grid-template-columns: repeat(6, 1fr); }
.cg-two-choices { grid-template-columns: repeat(2, 1fr); }
.cg-pace-choices { grid-template-columns: repeat(3, 1fr); }

.cg-choice-btn, .cg-choice-selected, .cg-seg-btn, .cg-seg-selected {
  cursor: pointer; color: #f7f8f2; background: #061018;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 6px;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}
.cg-choice-btn, .cg-choice-selected { min-height: 38px; padding: 6px; font-size: 13px; font-weight: 800; }
.cg-choice-btn:hover, .cg-seg-btn:hover { border-color: #4aeea9; transform: translateY(-1px); }
.cg-choice-selected, .cg-seg-selected { color: #04130d; background: #4aeea9; border-color: #4aeea9; }
.cg-seg-btn, .cg-seg-selected { min-height: 58px; padding: 8px 10px; display: grid; align-content: center; gap: 2px; text-align: left; }
.cg-seg-btn strong, .cg-seg-selected strong { font-size: 13px; }
.cg-seg-btn span, .cg-seg-selected span { font-size: 12px; line-height: 1.25; opacity: 0.8; }

.cg-setup-footer {
  position: relative; z-index: 1; margin: 0 24px 24px; padding-top: 17px;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: end; gap: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cg-setup-opts { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr); gap: 14px; }
.cg-setup-opts .cg-fieldset { margin-top: 0; }
.cg-primary-btn {
  width: 100%; min-height: 50px; padding: 0 20px; display: flex; align-items: center;
  justify-content: center; gap: 20px; cursor: pointer; color: #fff9e9; background: #ef4f2d;
  border: 0; border-radius: 6px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: background-color 150ms ease, transform 150ms ease;
}
.cg-primary-btn:hover { background: #c9381d; transform: translateY(-2px); }

/* Draft Phase */
.cg-draft-progress { padding: 14px 24px 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.cg-draft-progress span { height: 5px; background: rgba(255,255,255,0.12); border-radius: 99px; }
.cg-draft-progress .cg-draft-filled { background: #b7e34b; }
.cg-draft-grid { padding: 18px 24px 24px; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 16px; }
.cg-player-card, .cg-icon-card { position: relative; min-width: 0; overflow: hidden; border-radius: 8px; }
.cg-player-card {
  min-height: 380px; padding: 22px 18px; color: #fff8df;
  background: linear-gradient(145deg, rgba(241,215,110,0.18), transparent 38%), #0a5539;
  border: 1px solid rgba(255,255,255,0.2);
}
.cg-card-ovr { display: flex; align-items: baseline; gap: 9px; }
.cg-card-ovr strong { font-family: var(--font-display); font-size: 64px; font-weight: 400; line-height: 0.85; }
.cg-card-ovr span { color: #f1d76e; font-size: 14px; font-weight: 900; }
.cg-card-id { margin-top: 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.cg-card-id small { color: #f1d76e; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cg-card-id h3 { margin-top: 4px; overflow: hidden; font-family: var(--font-display); font-size: 29px; font-weight: 400; line-height: 1; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.cg-card-id > span { color: rgba(255,248,223,0.72); font-size: 13px; }
.cg-player-attrs { margin-top: 15px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.cg-player-attrs > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cg-player-attrs dt { color: rgba(255,248,223,0.68); font-size: 12px; font-weight: 800; }
.cg-player-attrs dd { color: #f1d76e; font-family: var(--font-display); font-size: 17px; line-height: 1; white-space: nowrap; }

.cg-icon-card { padding: 18px; color: #f7f8f2; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.13); }
.cg-icon-top { display: flex; justify-content: space-between; color: #b7e34b; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cg-icon-portrait {
  position: relative; height: 80px; margin-top: 12px; display: grid; place-items: center;
  color: #f1d76e; background: repeating-linear-gradient(120deg, rgba(255,255,255,0.05) 0 9px, transparent 9px 18px), #14231c; border-radius: 6px;
}
.cg-icon-portrait span { position: absolute; top: 8px; right: 12px; font-size: 12px; font-weight: 900; }
.cg-icon-portrait strong { font-family: var(--font-display); font-size: 40px; font-weight: 400; letter-spacing: 0.08em; }
.cg-icon-card > h3 { margin-top: 13px; font-family: var(--font-display); font-size: 27px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.cg-icon-card > p { margin-top: 5px; color: rgba(247,248,242,0.68); font-size: 13px; }
.cg-choice-head { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(247,248,242,0.7); font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.cg-choice-head strong { color: #4aeea9; }
.cg-attr-choices { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cg-attr-choices button {
  min-width: 0; min-height: 56px; padding: 6px 4px; display: grid; place-items: center; gap: 2px;
  cursor: pointer; color: #f7f8f2; background: #081712; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px; transition: background-color 140ms ease, transform 140ms ease;
}
.cg-attr-choices button:hover:not(:disabled) { color: #07130f; background: #b7e34b; border-color: #b7e34b; transform: translateY(-2px); }
.cg-attr-choices button:disabled { cursor: not-allowed; opacity: 0.35; }
.cg-attr-choices button span { font-size: 12px; font-weight: 900; }
.cg-attr-choices button strong { font-family: var(--font-display); font-size: 18px; font-weight: 400; white-space: nowrap; }
.cg-reroll-btn {
  width: 100%; min-height: 44px; margin-top: 10px; cursor: pointer; color: #b7e34b;
  background: transparent; border: 1px solid rgba(183,227,75,0.45); border-radius: 6px;
  font-size: 12px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase;
}

/* Academy Phase */
.cg-academy-offers { padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cg-academy-card {
  min-width: 0; padding: 18px; display: flex; flex-direction: column;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-top: 4px solid #b7e34b; border-radius: 6px;
}
.cg-academy-card:nth-child(2) { border-top-color: #ff5b35; }
.cg-academy-card:nth-child(3) { border-top-color: #d1aa24; }
.cg-academy-crest {
  width: 48px; aspect-ratio: 1; display: grid; place-items: center; color: #f1d76e;
  background: #14231c; border-radius: 50% 50% 44% 44%; font-family: var(--font-display); font-size: 16px;
}
.cg-academy-card > span { margin-top: 16px; color: #b7e34b; font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.cg-academy-card h3 { min-height: 48px; margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.cg-academy-card dl { margin: 15px 0; display: grid; gap: 8px; }
.cg-academy-card dl div { padding-top: 7px; border-top: 1px solid rgba(255,255,255,0.12); }
.cg-academy-card dt { color: rgba(247,248,242,0.58); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cg-academy-card dd { margin-top: 2px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.cg-academy-card button {
  min-height: 44px; margin-top: auto; padding: 8px 10px; cursor: pointer; color: #07130f;
  background: #b7e34b; border: 0; border-radius: 6px; font-size: 12px; font-weight: 900; text-transform: uppercase;
}
.cg-academy-note { margin: -8px 24px 22px; color: rgba(247,248,242,0.62); font-size: 12px; text-align: center; }

/* Career Live Phase */
.cg-live-header {
  padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px;
  background: linear-gradient(120deg, rgba(198,63,38,0.22), transparent 38%), #0a2b20;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.cg-live-id > span, .cg-live-ovr > span, .cg-panel-head > span, .cg-choice-card > span, .cg-next-chapter > span {
  color: #f1d76e; font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
}
.cg-live-id h2 { margin-top: 3px; overflow: hidden; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 0.94; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.cg-live-id p { margin-top: 7px; color: rgba(247,243,233,0.72); font-size: 13px; }
.cg-live-ovr { min-width: 96px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,0.2); }
.cg-live-ovr strong { display: block; font-family: var(--font-display); font-size: 52px; font-weight: 400; line-height: 0.9; }
.cg-live-ovr small { color: rgba(247,243,233,0.65); font-size: 12px; }
.cg-live-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: #0c1d16; border-bottom: 1px solid rgba(255,255,255,0.13); }
.cg-live-strip > div { padding: 12px 14px; border-right: 1px solid rgba(255,255,255,0.1); }
.cg-live-strip > div:last-child { border-right: 0; }
.cg-live-strip span, .cg-live-strip strong { display: block; }
.cg-live-strip span { color: rgba(247,243,233,0.58); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cg-live-strip strong { margin-top: 2px; font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.cg-career-cols { min-height: 360px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr); }
.cg-press-panel { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,0.13); }
.cg-panel-head { padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.cg-panel-head h3 { margin-top: 2px; font-family: var(--font-display); font-size: 25px; font-weight: 400; text-transform: uppercase; }
.cg-empty-season { min-height: 240px; display: grid; align-content: center; justify-items: center; text-align: center; }
.cg-empty-season::before { width: 64px; aspect-ratio: 1; margin-bottom: 16px; content: ""; border: 2px solid rgba(241,215,110,0.4); border-radius: 50%; }
.cg-empty-season strong { font-family: var(--font-display); font-size: 21px; font-weight: 400; text-transform: uppercase; }
.cg-empty-season p { margin-top: 6px; color: rgba(247,243,233,0.62); font-size: 13px; }
.cg-season-feed { margin-top: 10px; list-style: none; }
.cg-season-feed li { padding: 10px 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cg-s-year strong, .cg-s-ovr strong { display: block; color: #f1d76e; font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.cg-s-year span, .cg-s-club span, .cg-s-ovr span { display: block; color: rgba(247,243,233,0.58); font-size: 12px; }
.cg-s-club strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cg-s-ovr { text-align: right; }
.cg-season-honours { grid-column: 2 / -1; margin-top: -2px; color: #e1c75c; font-size: 12px; }
.cg-decision-panel { min-width: 0; padding: 20px; display: grid; align-content: center; background: #0a1712; }
.cg-next-chapter h3, .cg-choice-card h3 { margin-top: 6px; font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.cg-next-chapter p, .cg-choice-card > p, .cg-simulating p { margin-top: 10px; color: rgba(247,243,233,0.7); font-size: 13px; line-height: 1.45; }
.cg-next-chapter > button {
  width: 100%; min-height: 46px; margin-top: 20px; cursor: pointer; color: #fff9e9;
  background: #ef4f2d; border: 0; border-radius: 6px; font-size: 13px; font-weight: 900; text-transform: uppercase;
}
.cg-choice-actions { margin-top: 16px; display: grid; gap: 8px; }
.cg-choice-actions button {
  min-height: 56px; padding: 10px 12px; display: grid; gap: 3px; cursor: pointer;
  color: #f7f3e9; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px; text-align: left; transition: border-color 140ms ease, background-color 140ms ease;
}
.cg-choice-actions button:hover { background: rgba(183,227,75,0.14); border-color: #b7e34b; }
.cg-choice-actions strong { font-size: 13px; }
.cg-choice-actions small { color: #f1d76e; font-size: 12px; }
.cg-simulating { display: grid; justify-items: center; text-align: center; }
.cg-sim-ball { width: 46px; aspect-ratio: 1; margin-bottom: 18px; display: block; background: #f1d76e; border: 9px double #0a5539; border-radius: 50%; animation: cgRoll 720ms linear infinite; }
.cg-simulating strong { font-family: var(--font-display); font-size: 21px; font-weight: 400; text-transform: uppercase; }
@keyframes cgRoll { to { transform: rotate(360deg); } }

/* Summary Phase */
.cg-result-card {
  overflow: hidden; color: #f7f8f2; background: #07130f;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 12px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.28); font-family: ui-sans-serif, system-ui, sans-serif;
}
.cg-player-header {
  position: relative; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 24px; color: #f7f3e9;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 48%), var(--green-950);
}
.cg-player-id p, .cg-career-years span, .cg-peak-ovr span { color: #f1d76e; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cg-player-id h2 { margin-top: 7px; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 0.96; text-transform: uppercase; }
.cg-player-id > span { display: block; margin-top: 10px; color: rgba(247,243,233,0.75); font-size: 14px; }
.cg-peak-ovr { min-width: 96px; padding-left: 20px; align-self: center; border-left: 1px solid rgba(255,255,255,0.18); }
.cg-peak-ovr strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 54px; font-weight: 400; line-height: 1; }
.cg-career-years { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
.cg-career-years strong { font-size: 14px; }
.cg-result-body { padding: 24px 26px 30px; background: radial-gradient(circle at 88% 12%, rgba(183,227,75,0.07), transparent 28%), #07130f; }
.cg-score-card {
  padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) 126px;
  align-items: center; gap: 24px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 9px;
}
.cg-score-copy > p { color: #b7e34b; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cg-score-copy h3 { margin-top: 4px; font-family: var(--font-display); font-size: 38px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.cg-score-copy span { display: block; max-width: 340px; margin-top: 9px; color: rgba(247,248,242,0.68); font-size: 13px; line-height: 1.45; }
.cg-score-gauge { position: relative; width: 126px; aspect-ratio: 1; display: grid; place-items: center; }
.cg-score-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cg-score-track, .cg-score-prog { fill: none; stroke-width: 8; }
.cg-score-track { stroke: rgba(255,255,255,0.12); }
.cg-score-prog { stroke: #b7e34b; stroke-linecap: round; transition: stroke-dashoffset 700ms ease-out; }
.cg-score-gauge strong { margin-top: -5px; font-family: var(--font-display); font-size: 42px; font-weight: 400; line-height: 1; }
.cg-score-gauge small { position: absolute; bottom: 24px; color: rgba(247,248,242,0.62); font-size: 12px; }
.cg-stats-sec, .cg-tl-sec { margin-top: 28px; }
.cg-res-head { display: flex; align-items: center; gap: 11px; }
.cg-res-head > span { width: 28px; aspect-ratio: 1; display: grid; place-items: center; color: #ffffff; background: var(--accent); border-radius: 50%; font-family: var(--font-display); font-size: 12px; }
.cg-res-head h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; text-transform: uppercase; }
.cg-stats-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.18); border-left: 1px solid rgba(255,255,255,0.12); }
.cg-stats-grid > div { min-height: 84px; padding: 14px; display: flex; flex-direction: column-reverse; justify-content: flex-end; background: rgba(255,255,255,0.035); border-right: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
.cg-stats-grid dt { margin-top: 4px; color: rgba(247,248,242,0.62); font-size: 12px; line-height: 1.25; text-transform: uppercase; }
.cg-stats-grid dd { font-family: var(--font-display); font-size: 27px; line-height: 1; }
.cg-timeline { position: relative; margin-top: 18px; list-style: none; }
.cg-timeline::before { position: absolute; top: 8px; bottom: 8px; left: 5px; width: 1px; content: ""; background: rgba(255,255,255,0.22); }
.cg-timeline li { position: relative; padding: 10px 0 10px 25px; display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.cg-tl-marker { position: absolute; z-index: 1; top: 50%; left: 1px; width: 9px; aspect-ratio: 1; background: #07130f; border: 2px solid #b7e34b; border-radius: 50%; transform: translateY(-50%); }
.cg-tl-years { color: #ff7a55; font-family: var(--font-display); font-size: 17px; }
.cg-tl-club strong, .cg-tl-club span { display: block; }
.cg-tl-club strong { font-size: 14px; line-height: 1.2; }
.cg-tl-club span, .cg-tl-contrib { color: rgba(247,248,242,0.62); font-size: 12px; }
.cg-tl-contrib { text-align: right; white-space: nowrap; }
.cg-result-actions {
  padding: 19px 26px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; background: #0a1b15; border-top: 1px solid rgba(255,255,255,0.13);
}
.cg-result-actions button {
  min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center;
  gap: 16px; cursor: pointer; color: #ffffff; background: var(--accent); border: 0; border-radius: 6px; font-weight: 800;
}
.cg-result-actions button:hover { background: var(--accent-dark); }
.cg-fg-link { color: #dce96a; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .cg-quick-start { grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr); }
  .cg-quick-copy, .cg-form-error { grid-column: 1 / -1; }
  .cg-setup-grid, .cg-draft-grid, .cg-career-cols, .cg-academy-offers, .cg-setup-footer { grid-template-columns: 1fr; }
  .cg-press-panel { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
}
@media (max-width: 640px) {
  .cg-stage-bar li { padding: 9px 4px; display: grid; gap: 1px; text-align: center; }
  .cg-game-header { padding: 16px; align-items: start; flex-direction: column; gap: 8px; }
  .cg-game-header > p { text-align: left; }
  .cg-quick-start { padding: 14px 16px; grid-template-columns: 1fr; }
  .cg-setup-grid, .cg-draft-grid, .cg-academy-offers { padding: 14px 16px; }
  .cg-setup-footer { margin: 0 16px 16px; }
  .cg-setup-opts, .cg-pace-choices { grid-template-columns: 1fr; }
  .cg-country-list { height: 248px; }
  .cg-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-timeline li { grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
  .cg-tl-contrib { grid-column: 2; text-align: left; }
  .cg-result-actions { flex-direction: column; align-items: stretch; text-align: center; }
}
