
#panel-history.rw-manager-career-modal { z-index: 21200; }
#panel-history.rw-manager-career-modal .full-modal-overlay {
  background: rgba(1, 5, 10, .86) !important;
  backdrop-filter: blur(9px) saturate(.82);
}
#panel-history.rw-manager-career-modal .full-modal-box {
  width: min(1280px, 95vw) !important;
  height: min(870px, 93vh) !important;
  max-width: 95vw !important;
  max-height: 93vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(121, 178, 202, .24) !important;
  border-radius: 22px !important;
  background: #071019 !important;
  box-shadow: 0 40px 110px rgba(0,0,0,.64), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
#panel-history.rw-manager-career-modal .full-modal-header { display: none !important; }
#panel-history.rw-manager-career-modal .full-modal-body,
#panel-history.rw-manager-career-modal #panel-history-content {
  width: 100%; height: 100%; min-height: 0; padding: 0 !important; overflow: hidden !important;
}

.mcv1 {
  --mcv1-gold: #dfb65a;
  --mcv1-gold-soft: #f0d28b;
  --mcv1-cyan: #62dce9;
  --mcv1-violet: #9d78ff;
  --mcv1-line: rgba(112, 166, 190, .13);
  width: 100%; height: 100%; min-height: 0;
  display: grid; grid-template-rows: auto auto minmax(0,1fr);
  color: #eaf4f8; font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(80% 60% at 100% 0, rgba(104, 62, 188, .14), transparent 65%),
    radial-gradient(60% 60% at 0 20%, rgba(44, 157, 177, .09), transparent 60%),
    #071019;
}
.mcv1-hero {
  position: relative; min-height: 174px;
  display: grid; grid-template-columns: 112px minmax(280px,1fr) minmax(440px,.95fr) 42px;
  align-items: center; gap: 22px; padding: 25px 28px 23px;
  border-bottom: 1px solid var(--mcv1-line); overflow: hidden; isolation: isolate;
}
.mcv1-hero::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    linear-gradient(105deg, rgba(22,57,69,.68), transparent 42%),
    linear-gradient(270deg, rgba(70,43,130,.24), transparent 48%),
    repeating-linear-gradient(116deg, transparent 0 118px, rgba(255,255,255,.012) 119px 120px);
}
.mcv1-hero::after {
  content:""; position:absolute; right:8%; top:-115px; z-index:-1;
  width:380px; height:380px; border:1px solid rgba(223,182,90,.08); border-radius:50%;
  box-shadow:0 0 0 48px rgba(223,182,90,.018), 0 0 0 96px rgba(98,220,233,.012);
}
.mcv1-hero-glow { position:absolute; left:55px; top:32px; width:100px; height:100px; border-radius:50%; background:rgba(98,220,233,.15); filter:blur(45px); z-index:-1; }
.mcv1-avatar {
  position:relative; width:106px; height:106px; display:grid; place-items:center;
  border:1px solid rgba(223,182,90,.48); border-radius:28px;
  background:linear-gradient(145deg,#172633,#0b121c); color:#f5dfaa;
  box-shadow:0 24px 60px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.08);
  overflow:hidden;
}
.mcv1-avatar img { width:100%; height:100%; object-fit:cover; }
.mcv1-avatar > span { font:800 50px/1 Rajdhani,sans-serif; }
.mcv1-avatar i { position:absolute; right:8px; bottom:8px; width:13px; height:13px; border:3px solid #0b141d; border-radius:50%; background:#55dd98; box-shadow:0 0 13px rgba(85,221,152,.55); }
.mcv1-identity { min-width:0; }
.mcv1-identity > span, .mcv1-section-eyebrow {
  color:var(--mcv1-cyan); font-size:10px; font-weight:900; letter-spacing:.2em; text-transform:uppercase;
}
.mcv1-identity h1 { margin:6px 0 3px; color:#f4f9fb; font:800 34px/1 Rajdhani,sans-serif; letter-spacing:.015em; }
.mcv1-identity > p { max-width:530px; margin:0; color:#91a7b5; font-size:12.5px; line-height:1.45; }
.mcv1-identity > div { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:14px; }
.mcv1-identity > div b { display:flex; align-items:center; gap:7px; color:#dcebf0; font-size:12px; }
.mcv1-identity > div b img,.mcv1-identity > div b span { flex:0 0 auto; }
.mcv1-identity > div em { padding:4px 9px; border:1px solid rgba(223,182,90,.28); border-radius:999px; background:rgba(223,182,90,.09); color:#e6c778; font-size:9px; font-weight:900; font-style:normal; letter-spacing:.08em; text-transform:uppercase; }
.mcv1-hero-stats { min-width:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mcv1-hero-stats > div {
  min-width:0; padding:11px 13px; border:1px solid rgba(120,162,187,.12); border-radius:12px;
  background:rgba(5,12,20,.48); box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.mcv1-hero-stats span { display:block; color:#738b9b; font-size:8.5px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.mcv1-hero-stats strong { display:inline-block; max-width:100%; margin-top:4px; color:#f2f7f9; font:800 19px/1 Rajdhani,sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:bottom; }
.mcv1-hero-stats small { color:#6f8797; font-size:9px; font-weight:800; }
.mcv1-close {
  align-self:start; width:40px; height:40px; display:grid; place-items:center; padding:0;
  border:1px solid rgba(132,161,184,.22); border-radius:11px; background:rgba(255,255,255,.025);
  color:#9eb0bf; font:400 25px/1 Inter,sans-serif; cursor:pointer;
}
.mcv1-close:hover,.mcv1-close:focus-visible { color:#fff; border-color:rgba(98,216,229,.52); background:rgba(88,217,232,.08); }

.mcv1-tabs {
  min-height:58px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  padding:0 28px; border-bottom:1px solid var(--mcv1-line); background:rgba(3,9,15,.42);
}
.mcv1-tabs button {
  position:relative; min-width:0; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 12px;
  border:0; background:transparent; color:#7f94a3; font:800 12px/1 Inter,sans-serif; cursor:pointer;
}
.mcv1-tabs button::after { content:""; position:absolute; left:18%; right:18%; bottom:0; height:2px; border-radius:2px 2px 0 0; background:transparent; }
.mcv1-tabs button:hover { color:#d7e9ee; }
.mcv1-tabs button.is-active { color:#f4fafb; }
.mcv1-tabs button.is-active::after { background:linear-gradient(90deg,var(--mcv1-cyan),var(--mcv1-violet)); box-shadow:0 0 16px rgba(98,220,233,.35); }
.mcv1-tabs button b { min-width:19px; height:19px; display:inline-grid; place-items:center; padding:0 5px; border-radius:999px; background:rgba(157,120,255,.16); color:#bda7ff; font-size:9px; }
.mcv1-content { min-height:0; overflow-y:auto; padding:22px 28px 28px; scrollbar-width:thin; scrollbar-color:rgba(89,181,198,.3) transparent; }

.mcv1-overview { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:14px; }
.mcv1-legacy-card,.mcv1-current-card,.mcv1-finance-card {
  border:1px solid var(--mcv1-line); border-radius:17px; background:rgba(8,18,28,.62); box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.mcv1-legacy-card { padding:21px 22px; background:radial-gradient(75% 120% at 0 0,rgba(223,182,90,.12),transparent 62%),rgba(8,18,28,.66); }
.mcv1-legacy-main { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; gap:18px; margin-top:14px; }
.mcv1-legacy-ring {
  width:92px; height:92px; padding:7px; border-radius:50%;
  background:conic-gradient(var(--mcv1-gold) calc(var(--legacy-score,0) * 1%),rgba(255,255,255,.07) 0);
  box-shadow:0 0 32px rgba(223,182,90,.12);
}
.mcv1-legacy-ring > div { width:100%; height:100%; display:flex; align-items:baseline; justify-content:center; padding-top:25px; border:1px solid rgba(223,182,90,.18); border-radius:inherit; background:#0a141d; }
.mcv1-legacy-ring strong { color:#fff; font:800 29px/1 Rajdhani,sans-serif; }
.mcv1-legacy-ring span { color:#778c99; font-size:9px; }
.mcv1-legacy-main h3 { margin:0; color:#f4f8f9; font:800 24px/1.05 Rajdhani,sans-serif; }
.mcv1-legacy-main p { max-width:470px; margin:6px 0 0; color:#93a8b5; font-size:12px; line-height:1.48; }
.mcv1-legacy-bars { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:18px; }
.mcv1-progress > div { display:flex; justify-content:space-between; gap:8px; margin-bottom:6px; color:#7991a0; font-size:9px; font-weight:800; }
.mcv1-progress > div b { color:#d7e5ea; }
.mcv1-progress > i { display:block; height:5px; border-radius:999px; background:rgba(255,255,255,.07); overflow:hidden; }
.mcv1-progress > i em { display:block; height:100%; border-radius:inherit; background:var(--mcv1-progress-tone); box-shadow:0 0 13px color-mix(in srgb,var(--mcv1-progress-tone) 50%,transparent); }
.mcv1-current-card { padding:21px 22px; }
.mcv1-current-club { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:13px; margin-top:15px; padding-bottom:17px; border-bottom:1px solid var(--mcv1-line); }
.mcv1-current-club h3 { margin:0; color:#f1f7f9; font:800 22px/1.05 Rajdhani,sans-serif; }
.mcv1-current-club p { margin:4px 0 0; color:#718897; font-size:10px; }
.mcv1-current-club > span { padding:4px 8px; border:1px solid rgba(79,210,151,.28); border-radius:999px; background:rgba(79,210,151,.09); color:#68dea5; font-size:8px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.mcv1-current-club > span.is-free { border-color:rgba(236,111,120,.3); background:rgba(236,111,120,.09); color:#f28b95; }
.mcv1-current-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:13px; }
.mcv1-current-grid .mcv1-stat > strong { white-space:normal; overflow:visible; text-overflow:clip; font-size:16px; line-height:1.12; }
.mcv1-finance-card { grid-column:1/-1; display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:22px; align-items:center; padding:20px 22px; background:linear-gradient(110deg,rgba(24,38,53,.72),rgba(17,20,39,.64)); }
.mcv1-finance-card h3 { margin:7px 0 2px; color:#f3f8fa; font:800 29px/1 Rajdhani,sans-serif; }
.mcv1-finance-card p { max-width:440px; margin:0; color:#8298a7; font-size:11px; line-height:1.42; }
.mcv1-finance-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.mcv1-milestones { grid-column:1/-1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.mcv1-stat { min-width:0; padding:12px 13px; border:1px solid rgba(112,166,190,.11); border-radius:11px; background:rgba(4,11,18,.46); }
.mcv1-stat > span { display:block; color:#748b9a; font-size:8.5px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.mcv1-stat > strong { display:block; min-width:0; margin-top:4px; color:#eaf3f6; font:800 18px/1.08 Rajdhani,sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mcv1-stat > strong small { color:#758b99; font-size:9px; }
.mcv1-stat > small { display:block; margin-top:3px; color:#63808f; font-size:9px; }

.mcv1-performance-hero { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--mcv1-line); border-radius:17px; overflow:hidden; background:linear-gradient(100deg,rgba(15,36,47,.75),rgba(19,18,39,.65)); }
.mcv1-performance-hero > div { padding:18px 20px; border-right:1px solid var(--mcv1-line); }
.mcv1-performance-hero > div:last-child { border-right:0; }
.mcv1-performance-hero span { display:block; color:#718998; font-size:9px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.mcv1-performance-hero strong { display:inline-block; margin-top:5px; color:#f1f7f9; font:800 30px/1 Rajdhani,sans-serif; }
.mcv1-performance-hero small { margin-left:7px; color:#7b929f; font-size:10px; }
.mcv1-performance-hero .accent strong { color:var(--mcv1-cyan); }
.mcv1-section-title { min-height:67px; display:flex; align-items:end; justify-content:space-between; padding:18px 2px 11px; border-bottom:1px solid var(--mcv1-line); }
.mcv1-section-title span { color:#668391; font-size:8px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.mcv1-section-title h3 { margin:3px 0 0; color:#eaf2f5; font:800 20px/1 Rajdhani,sans-serif; }
.mcv1-section-title > small { color:#577281; font-size:11px; font-weight:800; }
.mcv1-stint { min-height:78px; display:grid; grid-template-columns:minmax(260px,1.25fr) repeat(4,minmax(76px,.45fr)) 80px; align-items:center; gap:10px; padding:11px 13px; border-bottom:1px solid rgba(112,166,190,.09); }
.mcv1-stint.is-active { margin-top:8px; border:1px solid rgba(98,220,233,.23); border-radius:13px; background:linear-gradient(90deg,rgba(63,177,195,.08),transparent 78%); }
.mcv1-stint-club { display:flex; align-items:center; gap:12px; min-width:0; }
.mcv1-stint-club h4 { margin:0; color:#edf5f7; font:800 16px/1.1 Rajdhani,sans-serif; }
.mcv1-stint-club span { display:block; margin-top:3px; color:#6d8594; font-size:9px; }
.mcv1-stint > div:not(.mcv1-stint-club) span { display:block; color:#657e8d; font-size:8px; font-weight:900; text-transform:uppercase; }
.mcv1-stint > div:not(.mcv1-stint-club) b { display:block; margin-top:4px; color:#dce9ed; font:800 16px/1 Rajdhani,sans-serif; }
.mcv1-stint > em { justify-self:end; padding:4px 7px; border-radius:999px; background:rgba(255,255,255,.04); color:#6e8694; font-size:8px; font-weight:900; font-style:normal; text-transform:uppercase; }
.mcv1-stint.is-active > em { background:rgba(98,220,233,.09); color:#65dce9; }
.mcv1-performance-foot { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-top:16px; }
.mcv1-empty { min-height:120px; display:grid; place-items:center; color:#718795; font-size:12px; }

.mcv1-achievement-lead { display:grid; grid-template-columns:1.15fr repeat(4,minmax(0,1fr)); gap:9px; margin-bottom:18px; }
.mcv1-achievement-lead > div:first-child { padding:14px 16px; border:1px solid rgba(223,182,90,.22); border-radius:12px; background:rgba(223,182,90,.07); }
.mcv1-achievement-lead > div:first-child span { display:block; color:#b5944f; font-size:8px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.mcv1-achievement-lead > div:first-child strong { display:inline-block; margin-top:4px; color:#f2d98f; font:800 26px/1 Rajdhani,sans-serif; }
.mcv1-achievement-lead > div:first-child small { margin-left:8px; color:#9a8559; font-size:9px; }
.mcv1-legacy-achievements { padding:4px; }
.mcv1-legacy-achievements > div:first-child { margin-top:0 !important; }

.mcv1-market-switch { display:inline-flex; gap:5px; padding:4px; border:1px solid var(--mcv1-line); border-radius:12px; background:rgba(4,11,18,.46); }
.mcv1-market-switch button { min-height:36px; display:flex; align-items:center; gap:8px; padding:0 15px; border:0; border-radius:8px; background:transparent; color:#7e94a2; font-size:11px; font-weight:800; cursor:pointer; }
.mcv1-market-switch button.is-active { background:linear-gradient(110deg,rgba(87,207,221,.14),rgba(143,102,230,.12)); color:#eaf8fa; box-shadow:inset 0 0 0 1px rgba(98,220,233,.18); }
.mcv1-market-switch b { min-width:18px; height:18px; display:grid; place-items:center; border-radius:999px; background:#c85c47; color:#fff; font-size:8px; }
.mcv1-market-content { margin-top:16px; }
.mcv1-team-logo { object-fit:contain; border-radius:7px; }
.mcv1-team-fallback { display:inline-grid; place-items:center; border:1px solid rgba(98,220,233,.25); border-radius:10px; background:rgba(98,220,233,.07); color:#68dce8; font:800 18px/1 Rajdhani,sans-serif; }

@media (max-width: 1080px) {
  .mcv1-hero { grid-template-columns:96px minmax(240px,1fr) 42px; gap:17px; }
  .mcv1-avatar { width:92px; height:92px; border-radius:23px; }
  .mcv1-hero-stats { grid-column:1/-1; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .mcv1-close { grid-column:3; grid-row:1; }
  .mcv1-overview { grid-template-columns:1fr; }
  .mcv1-finance-card,.mcv1-milestones { grid-column:auto; }
  .mcv1-finance-card { grid-template-columns:1fr; }
  .mcv1-finance-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .mcv1-milestones { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .mcv1-stint { grid-template-columns:minmax(220px,1fr) repeat(4,65px) 72px; }
}
@media (max-width: 760px) {
  #panel-history.rw-manager-career-modal .full-modal-box { width:100vw!important; height:100vh!important; max-width:100vw!important; max-height:100vh!important; border-radius:0!important; }
  .mcv1-hero { grid-template-columns:72px minmax(0,1fr) 38px; min-height:138px; padding:17px; }
  .mcv1-avatar { width:70px; height:70px; border-radius:18px; }
  .mcv1-identity h1 { font-size:27px; }
  .mcv1-identity > p { display:none; }
  .mcv1-hero-stats { display:none; }
  .mcv1-tabs { padding:0 8px; }
  .mcv1-tabs button { padding:0 4px; font-size:10px; }
  .mcv1-content { padding:15px; }
  .mcv1-legacy-main { grid-template-columns:76px minmax(0,1fr); }
  .mcv1-legacy-ring { width:72px; height:72px; }
  .mcv1-legacy-ring > div { padding-top:18px; }
  .mcv1-legacy-ring strong { font-size:24px; }
  .mcv1-current-grid,.mcv1-finance-grid,.mcv1-performance-foot { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mcv1-milestones { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mcv1-performance-hero { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mcv1-performance-hero > div:nth-child(2) { border-right:0; }
  .mcv1-performance-hero > div:nth-child(-n+2) { border-bottom:1px solid var(--mcv1-line); }
  .mcv1-stint { grid-template-columns:minmax(0,1fr) repeat(2,58px); }
  .mcv1-stint > div:nth-of-type(4),.mcv1-stint > div:nth-of-type(5),.mcv1-stint > em { display:none; }
  .mcv1-achievement-lead { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mcv1-achievement-lead > div:first-child { grid-column:1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  #panel-history.rw-manager-career-modal .full-modal-overlay { backdrop-filter:none; }
}
