/* Kariera v27 — Football Pro. Load after app.css. Cosmetic item classes remain active. */
:root {
  color-scheme: dark;
  --bg: #000; --card: #060606; --card2: #0c0c0c; --player-bg: #080d15;
  --line: #25282c; --line2: #383d43; --text: #e7e9ea; --muted: #92999f;
  --blue: #0053cb; --blue2: #70adff; --gold: #e6bd64;
  --green: #54d39b; --red: #ff7d88; --purple: #b497ee;
  --r-lg: 12px; --r-md: 10px; --r-sm: 8px;
}
html, body.football-pro { background: #000; }
body.football-pro { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); line-height: 1.5; }
.football-pro button, .football-pro input, .football-pro select { font-family: inherit; }
.football-pro button { touch-action: manipulation; }
.football-pro :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; }
.football-pro ::selection { background: #164b8e; color: #fff; }

/* Black surfaces, thin borders, a single blue action color. */
.football-pro :is(.card,.modal,.career-profile-panel,.career-section,.career-priority,.more-summary,.empty,.match-command-workspace,.career-command-workspace) {
  background: var(--card); border-color: var(--line); border-radius: 12px; box-shadow: none;
}
.football-pro .card { padding: 18px; }
.football-pro .page-title { padding: 0 0 18px; margin: 0 0 24px; border-color: var(--line); gap: 16px; }
.football-pro .page-title h2 { font-size: 26px; line-height: 1.2; font-weight: 750; letter-spacing: -.7px; }
.football-pro .page-title p { margin-top: 7px; font-size: 13px; font-weight: 400; color: var(--muted); }
.football-pro .page-title>i { width: 38px; height: 38px; background: transparent; border: 0; border-radius: 0; color: var(--blue2); font-size: 23px; }
.football-kicker { display: block; margin: 0 0 10px; color: var(--blue2); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.football-pro .secline { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.football-pro .secline>i { color: var(--blue2); }
.football-pro .btn { min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; box-shadow: none; }
.football-pro .btn:not(.ghost):not(:disabled):hover { background: #1265db; color: #fff; }
.football-pro .btn.gold { background: var(--blue); color: #fff; }
.football-pro .btn.ghost { background: transparent; border-color: var(--line2); color: var(--text); }
.football-pro .btn.ghost:hover { background: #101010; border-color: #59616a; }
.football-pro :is(.scope,.opt,.devopt,.career-choice,.event-choice,.path-card) { background: #080808; border-color: var(--line); box-shadow: none; }
.football-pro :is(.scope.active,.opt.sel,.devopt.active,.devopt.selected,.career-choice.selected) { background: #09172a; border-color: #397ac5; color: #fff; }
.football-pro :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { background-color: #000; border-color: var(--line2); color: var(--text); border-radius: 8px; }
.football-pro .pill { font-weight: 600; box-shadow: none; }
.football-pro :is(.bar,.mbar,.readiness-bar) { background: #202327; box-shadow: none; }
.football-pro :is(.bar,.mbar,.readiness-bar)>i { box-shadow: none; }
.football-pro :is(.note,.warn) { box-shadow: none; }
.football-pro .note { background: #070d16; border-left-color: #528ed8; }
.football-pro .warn { background: #170d08; border-color: #57402a; }
.football-pro .ovl { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.football-pro .modal { background: #080808; border-color: #363a40; border-radius: 14px; }
.football-pro .modal h3 { font-size: 19px; font-weight: 700; }
.football-pro .toast { background: #0b0b0b; border-color: var(--line2); box-shadow: none; }
.football-pro .gate { max-width: 700px; margin: 36px auto; padding: 32px; }
.football-pro .gate-badge { background: #091c35; color: var(--blue2); box-shadow: none; }
.football-pro .startbar { background: #091321; border-color: #294569; border-left-color: #70adff; }
.football-pro .startbar :is(b,.startbar-num)>span, .football-pro .startbar>b { color: var(--blue2); }

/* Shared desktop sidebar and the existing five mobile destinations. */
.football-pro .game-sidebar { background: #000 !important; }
.football-pro .manager-brand { border-color: var(--line); }
.football-pro .manager-brand-mark { width: 40px; height: 40px; border: 1px solid #24508b; border-radius: 50%; background: #06152c; color: var(--blue2); font-size: 23px; }
.football-pro .manager-brand-copy b { font-size: 18px; font-weight: 750; letter-spacing: -.5px; }
.football-pro .manager-brand-copy span { font-size: 10px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.football-pro .nav-label { color: #727b84; font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.football-pro .sidebar-profile { background: #060606; border-color: var(--line); }
.football-pro .sidebar-profile img, .football-pro .manager-account img { border-radius: 50%; }
.football-pro .game-sidebar .tabs { box-shadow: none !important; }
.football-pro .game-sidebar .tab { color: #969da4 !important; font-weight: 500 !important; }
.football-pro .game-sidebar .tab:hover { background: #0c0c0c !important; color: #fff !important; }
.football-pro .game-sidebar .tab.active { background: #060606 !important; color: #fff !important; font-weight: 650 !important; }
.football-pro .game-sidebar .tab.active>i:first-child { color: #70adff !important; }
.football-pro .game-sidebar .tab.active::after { display: none !important; }
.football-pro .manager-topbar { background: #000; backdrop-filter: none; border-color: var(--line); }
.football-pro .manager-context span { color: var(--muted); font-weight: 500; letter-spacing: .04em; font-size: 10px; }
.football-pro .manager-context b { font-size: 13px; font-weight: 600; }
.football-pro :is(.manager-season,.manager-account) { border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
.football-pro .manager-season>i { color: var(--blue2); }

/* Home: the player card is the visual focus; the rest reads like a match centre. */
.football-pro .home-command-grid { gap: 24px; align-items: start; }
.football-pro .home-action-column { gap: 16px; }
.football-pro .home-player-column { min-width: 0; }
.football-pro .home-player-column>.playercard { position: relative !important; top: auto !important; }
.football-pro .home-player-roulette { margin-top: 16px; }
.football-pro .primary-action { padding: 24px; border-color: #294b75; background: #060c15; border-radius: 12px; }
.football-pro .primary-action::before { top: 24px; bottom: 24px; width: 3px; background: #0053cb; box-shadow: none; }
.football-pro .primary-action::after { width: 180px; height: 118px; top: -35px; right: -45px; border: 1px solid #224265; border-radius: 50%; box-shadow: none; opacity: .55; }
.football-pro .primary-action .action-kicker { color: var(--blue2); font-size: 11px; font-weight: 600; letter-spacing: .025em; text-transform: none; }
.football-pro .primary-action h3 { margin-top: 11px; color: #fff; font-size: 24px; line-height: 1.2; font-weight: 750; letter-spacing: -.55px; max-width: 460px; }
.football-pro .primary-action p { color: #a0a8b2; font-size: 13px; font-weight: 400; line-height: 1.55; margin-top: 10px; max-width: 480px; }
.football-pro .primary-action .btn { margin-top: 18px; }
.football-pro .today-panel { background: #060606; }
.football-pro .today-head>b { font-size: 15px; font-weight: 600; }
.football-pro .today-head>b>i { color: var(--blue2); }
.football-pro .today-progress { background: #0c1828; color: #9ac3ff; font-size: 11px; font-weight: 600; }
.football-pro .readiness { background: #090d13; border-color: #26313e; }
.football-pro .readiness .readiness-copy b { font-size: 13px; font-weight: 600; }
.football-pro .readiness .readiness-copy>span { font-size: 11px; font-weight: 400; }
.football-pro .readiness .readiness-bonus { font-size: 19px; color: var(--blue2); }
.football-pro .readiness .readiness-sources span { background: transparent; border: 0; padding: 2px 5px 0 0; font-size: 10px; }
.football-pro .today-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.football-pro .today-action { padding: 12px; min-height: 72px; border-color: var(--line); background: #080808; }
.football-pro .today-action b { font-size: 12px; font-weight: 600; }
.football-pro .today-action span { margin-top: 5px; font-size: 11px; font-weight: 400; }
.football-pro .today-action:last-child { grid-column: 1/-1; }
.football-pro .today-action.done { background: #070e0b; border-color: #21352b; }
.football-pro .today-action.active { background: #091424; border-color: #2b4e7d; }
.football-pro .today-action.todo i { color: var(--blue2); }
.football-pro .home-status-strip { gap: 8px; }
.football-pro .home-status { min-height: 70px; border-color: var(--line); background: #060606; padding: 12px; border-radius: 10px; }
.football-pro .home-status>i { border: 0; border-radius: 0; background: transparent; color: #70adff; }
.football-pro .home-status small { color: var(--muted); font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.football-pro .home-status b { font-size: 12px; font-weight: 600; }
.football-pro .home-player-roulette .weekly-chest-card { padding: 15px; border-color: var(--line); background: #060606; }
.football-pro .weekly-chest-icon { background: #0b182b; border: 1px solid #254366; color: var(--blue2); box-shadow: none; }
.football-pro .weekly-chest-card::before, .football-pro .weekly-chest-card::after { display: none; }
.football-pro .home-secondary-grid { margin-top: 24px; }
.football-pro .compact-match { border-color: #273c56; background: #05080c; }
.football-pro .club-crest { background: transparent; box-shadow: none; border: 0; }
.football-pro .versus { background: transparent; color: var(--blue2); font-size: 12px; letter-spacing: .2em; border: 0; }
.football-pro .match-meta { font-size: 12px; color: var(--muted); font-weight: 400; }
.football-pro .cd { background: #080e17; border-color: #263e5b; }
.football-pro .cd>i { color: var(--blue2); background: #10233b; }
.football-pro .cd-copy small { color: #95b4dc; font-weight: 600; }
.football-pro .cd-copy b { color: #e3ecf8; font-weight: 650; }
.football-pro .club-name { font-weight: 650; }
.football-pro .manager-disclosure-icon { background: transparent; color: var(--blue2); }
.football-pro .manager-disclosure-copy b { font-weight: 600; }

/* A football collector card: blue shield, shirt number, portrait, genuine game statistics. */
.football-pro .pro-playercard {
  --pc-edge: 92,161,255; width: 100%; max-width: 410px; min-height: 0; margin: 0 auto;
  padding: 0 14px 16px; border: 1px solid #315b8d; border-radius: 18px;
  background: #060b12; box-shadow: none;
}
.football-pro .pro-playercard::before { inset: 5px; border: 1px solid rgba(var(--pc-edge),.12); border-radius: 13px; clip-path: none; }
.football-pro .pro-playercard::after { left: 20%; right: 20%; height: 2px; background: rgb(var(--pc-edge)); box-shadow: none; }
.football-pro .pro-playercard.bg-bernabeu { --pc-edge: 72,139,255; }
.football-pro .pro-playercard.bg-ucl { --pc-edge: 177,137,245; }
.pc-edition { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; border-bottom: 1px solid rgba(var(--pc-edge),.2); color: #a5bbd4; font-size: 9px; font-weight: 650; letter-spacing: .14em; }
.pc-edition>span { display: inline-flex; align-items: center; gap: 7px; }
.pc-edition>span>i { color: rgb(var(--pc-edge)); font-size: 13px; }
.pc-edition>b { padding: 3px 10px; background: #0053cb; color: #fff; border-radius: 3px; font-size: 10px; font-style: italic; letter-spacing: .08em; }
.football-pro .pro-playercard .pc-top { height: auto; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.football-pro .pro-playercard .pc-top::before, .football-pro .pro-playercard .pc-top::after { display: none; }
.pc-field { position: relative; isolation: isolate; height: 294px; overflow: hidden; }
.pc-pitch-art { position: absolute; inset: 0; width: 100%; height: 100%; color: rgb(var(--pc-edge)); fill: none; stroke: currentColor; stroke-width: 1; opacity: .48; pointer-events: none; }
.pc-pitch-art .pc-shield-fill { fill: rgba(var(--pc-edge),.06); stroke: none; }
.pc-pitch-lines { opacity: .35; }
.pc-speed-lines { stroke-width: 3; }
.pc-shirt-number { position: absolute; right: 24px; top: 61px; color: rgba(var(--pc-edge),.1); font-size: 180px; line-height: 1; font-weight: 900; letter-spacing: -.09em; pointer-events: none; }
.football-pro .pro-playercard .pc-rating { left: 2px; top: 18px; width: 90px; text-align: left; z-index: 3; }
.football-pro .pro-playercard .pc-rating-label { margin: 0 0 7px; max-width: 80px; color: #91a6be; font-size: 9px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; }
.football-pro .pro-playercard .pc-rating>b { color: #fff; font-size: 35px; line-height: 1; font-weight: 850; letter-spacing: -1.5px; text-shadow: none; overflow-wrap: anywhere; }
.football-pro .pro-playercard .pc-rating>b.pc-score-compact { font-size: 16px; line-height: 1.08; letter-spacing: -.5px; }
.football-pro .pro-playercard .pc-pos { color: rgb(var(--pc-edge)); margin-top: 10px; font-size: 16px; font-weight: 750; letter-spacing: .1em; }
.football-pro .pro-playercard .pc-rank { max-width: 80px; margin-top: 6px; color: #a2adba; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.pc-club-mark { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: #bfd4ee; }
.pc-club-mark>i { font-size: 20px; }
.pc-club-mark>span { font-size: 8px; font-weight: 750; letter-spacing: .04em; line-height: 1.4; }
.football-pro .pro-playercard .pc-photo { left: 24%; right: 0; top: 15px; height: 285px; bottom: auto; z-index: 2; }
.football-pro .pro-playercard .pc-photo .bigphoto { width: 100%; height: 100%; border: 0; background: transparent; border-radius: 0; overflow: visible; }
.football-pro .pro-playercard .pc-photo .bigphoto img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: none; transform: none; }
.football-pro .pro-playercard .pc-photo::after { display: none; }
.football-pro .pro-playercard .pc-photo .bigphoto:not(:has(img)) { display: flex; align-items: center; justify-content: center; }
.football-pro .pro-playercard .pc-photo .bigphoto:not(:has(img))::before { content: attr(data-num); position: static; color: #9cc5fc; font-size: 110px; font-weight: 850; border: 0; background: none; }
.football-pro .pro-playercard .pc-field>.profile-celebration { inset: 0; height: 100%; z-index: 1; pointer-events: none; }
.football-pro .pro-playercard .pc-rankbadge { right: 1px; top: 14px; z-index: 4; width: 62px; padding: 7px 4px; border: 1px solid #354960; border-radius: 8px; background: rgba(6,11,18,.93); box-shadow: none; }
.football-pro .pro-playercard .pc-rankbadge:hover { transform: none; border-color: rgb(var(--pc-edge)); }
.football-pro .pro-playercard .pc-rb-place { font-size: 23px; font-weight: 750; color: #a4c7f2; text-shadow: none; }
.football-pro .pro-playercard .pc-rb-of { font-size: 8px; font-weight: 500; letter-spacing: 0; }
.football-pro .pro-playercard .pc-rb-pos { font-size: 8px; line-height: 1.25; font-weight: 400; color: #a0adbc; }
.football-pro .pro-playercard .pc-rankbadge.gold { border-color: #82672d; background: #1a160d; }
.football-pro .pro-playercard .pc-rankbadge.gold .pc-rb-place { color: #e6bd64; }
.football-pro .pro-playercard .pc-rankbadge.silver .pc-rb-place { color: #d0dbe8; }
.football-pro .pro-playercard .pc-rankbadge.bronze .pc-rb-place { color: #dd9c73; }
.football-pro .pro-playercard .pc-identity { position: relative; inset: auto; padding: 15px 4px 12px; border-top: 1px solid rgba(var(--pc-edge),.3); background: #060b12; text-align: center; z-index: 3; }
.football-pro .pro-playercard .pc-name { gap: 8px; align-items: center; }
.football-pro .pro-playercard .pc-name h2 { color: #fff; font-size: 25px; line-height: 1.1; font-weight: 850; letter-spacing: -.5px; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-transform: uppercase; text-shadow: none; }
.football-pro .pro-playercard .pc-name .alias-edit { flex: 0 0 28px; width: 28px; height: 28px; min-width: 28px; border: 1px solid #263d57; opacity: 1; transform: none; pointer-events: auto; background: #0c1521; color: #a5b5c8; font-size: 10px; }
.football-pro .pro-playercard .pc-real { flex-wrap: wrap; margin-top: 7px; font-size: 11px; font-weight: 400; line-height: 1.4; color: #a3afbe; }
.pc-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 9px; }
.pc-badges:empty { display: none; }
.pc-badges .cos-badge { font-size: 10px; }
.football-pro .pro-playercard .pc-tags { height: auto; min-height: 36px; margin: 0; padding: 3px 0 10px; gap: 5px; background: transparent; box-shadow: none; }
.football-pro .pro-playercard .pc-tags .pill { font-size: 10px; line-height: 1.3; font-weight: 500; padding: 4px 7px; background: #0a1018; }
.football-pro .pro-playercard .pc-stats { margin: 10px 0 0; padding: 0; grid-template-rows: repeat(2,minmax(58px,auto)); gap: 0; border: 1px solid rgba(var(--pc-edge),.23); border-radius: 8px; background: #080e17; box-shadow: none; }
.football-pro .pro-playercard .pc-stats::after { display: none; }
.football-pro .pro-playercard .pc-stat { padding: 9px 4px; }
.football-pro .pro-playercard .pc-stat:nth-child(n+4) { border-top: 1px solid rgba(var(--pc-edge),.12) !important; }
.football-pro .pro-playercard .pc-stat b { color: #e7edf5; font-size: 20px; font-weight: 750; letter-spacing: -.5px; line-height: 1.15; overflow-wrap: anywhere; max-width: 100%; }
.football-pro .pro-playercard .pc-stat b.txt-gold { color: #acd1ff; }
.football-pro .pro-playercard .pc-stat span { margin-top: 5px; color: #96a6b9; font-size: 9px; line-height: 1.2; font-weight: 500; letter-spacing: .04em; }
.football-pro .pro-playercard .pc-next { width: 100%; margin: 0; padding: 10px; background: #0a1523; border-color: #283f5c; border-radius: 8px; }
.football-pro .pro-playercard .pc-next b { font-size: 12px; font-weight: 600; }
.football-pro .pro-playercard .pc-next small { font-size: 10px; font-weight: 400; white-space: normal; }
.football-pro .pro-playercard .pc-transfer { margin: 10px 0 0; width: 100%; border-radius: 8px; font-size: 11px; font-weight: 500; }
.football-pro .pro-playercard .pc-foot { margin: 12px 0 0; padding-top: 12px; gap: 12px; border-color: #23344a; }
.football-pro .pro-playercard .pc-progress .bar { height: 4px; background: #1b2737; }
.football-pro .pro-playercard .pc-progress .bar i { background: rgb(var(--pc-edge)); }
.football-pro .pro-playercard .pc-progress>span { font-size: 10px; font-weight: 400; color: #9caabc; }
.football-pro .pro-playercard .pc-ach b { font-size: 14px; font-weight: 700; }
.football-pro .pro-playercard .pc-ach span { font-size: 8px; font-weight: 500; }

/* Match, development, career, wardrobe and shop use the same flat components. */
.football-pro :is(.match-command-menu,.career-command-rail,.development-command-rail,.dev-subnav,.development-jumps,.match-focus-nav) { background: #060606; border-color: var(--line); backdrop-filter: none; }
.football-pro :is(.match-menu-stat,.career-rail-stat,.development-rail-stat,.stat,.record,.metric,.coach-pick,.duel-command-step,.duel-record-grid>span) { background: #090909; border-color: var(--line); box-shadow: none; }
.football-pro :is(.match-section-button,.career-focus-button,.development-focus-button,.dev-jump) { border-radius: 8px; font-weight: 600; color: var(--muted); }
.football-pro :is(.match-section-button,.career-focus-button,.development-focus-button)>i:first-child { background: transparent; color: #8297ae; }
.football-pro :is(.match-section-button.active,.career-focus-button.active,.development-focus-button.active,.dev-jump.active) { background: #091525; border-color: #315a87; color: #e7e9ea; }
.football-pro :is(.match-section-button.active,.career-focus-button.active,.development-focus-button.active)>i:first-child { background: transparent; color: var(--blue2); }
.football-pro :is(.match-menu-head,.career-rail-head,.development-rail-head)>i { background: transparent; color: var(--blue2); }
.football-pro :is(.coach-advice,.match-readiness,.match-savebar,.latebox,.career-dashboard,.manager-decision,.duel-record-card,.career-next,.career-priority) { background: #080b10; border-color: #29343f; box-shadow: none; }
.football-pro :is(.coach-avatar,.coach-pick-ic,.career-chapter-icon,.career-collapse-icon,.duel-command-title>i) { background: #0a1728; color: var(--blue2); box-shadow: none; }
.football-pro .coach-copy b { font-size: 15px; font-weight: 650; }
.football-pro .coach-copy span, .football-pro .coach-pick em { font-size: 12px; font-weight: 400; }
.football-pro .coach-pick b { font-size: 13px; font-weight: 600; }
.football-pro .devwallet { background: #0a1018; border-color: #2c405a; }
.football-pro .devwallet b { color: var(--blue2); }
.football-pro :is(.duel-rules,.duel-choice,.duel-side,.career-meter,.chapter,.profile-tool,.more-link,.equipment-guide>span,.equipment-category-button,.equipment-loadout-item,.equipment-list-card,.shop-product-card,.shop-group,.training-bag-item,.career-power,.career-path-badge) { background: #080808; border-color: var(--line); box-shadow: none; }
.football-pro :is(.equipment-category-button.active,.training-bag-item.selected,.chapter.current,.career-power.active) { background: #0a1625; border-color: #315a87; }
.football-pro :is(.equipment-center-head>i,.equipment-guide i,.shop-product-icon,.training-bag-icon,.wallet .wic,.more-link>i:first-child,.more-summary>i) { background: #0b1829; color: var(--blue2); box-shadow: none; }
.football-pro .shop-product-name>b, .football-pro .more-link b { font-weight: 650; }
.football-pro :is(.equipment-list-stats>span,.equipment-price,.eq-selector,.eq-body-stage,.public-eq-stage) { background-color: #070b11; border-color: #273646; box-shadow: none; }
.football-pro .more-link { min-height: 80px; }
.football-pro .more-link:hover { background: #0c0c0c; border-color: #496789; }
.football-pro .more-link span { font-size: 12px; font-weight: 400; }
.football-pro .career-public-cover:not(.bg-bernabeu):not(.bg-ucl) { background: #080e18; border-color: #264a78; }
.football-pro :is(.career-public-actions,.career-public-body,.career-public-stat,.career-public-stats) { background: #060606; border-color: var(--line); }
.football-pro .career-public-name h2 { font-weight: 800; letter-spacing: -.7px; }
.football-pro :is(.ranking-table,.ranking-champion,.rank-head) { background: #060606; border-color: var(--line); box-shadow: none; }
.football-pro .ranking-champion { background: #131109; border-color: #4d4024; }
.football-pro :is(th,.ranking-table th) { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.football-pro :is(td,.ranking-table td) { border-color: var(--line); }

@media (min-width:800px) {
  .football-pro .game-sidebar .tab { min-height: 43px !important; font-size: 14px !important; }
  .football-pro .game-sidebar .tab>i:first-child { font-size: 17px !important; }
  .football-pro .game-main { padding: 0 24px 60px !important; }
  .football-pro .manager-topbar { margin: 0 -24px 26px !important; padding: 0 24px !important; min-height: 70px !important; }
}
@media (min-width:1180px) {
  .football-pro .home-command-grid { grid-template-columns: minmax(340px,410px) minmax(0,1fr) !important; }
  .football-pro .home-player-column { width: 100%; }
}
@media (min-width:800px) and (max-width:1179px) {
  .football-pro .home-player-column { width: 410px; }
  .football-pro .home-command-grid { gap: 20px; }
}
@media (max-width:1100px) {
  .football-pro .devhead { flex-wrap: wrap; }
  .football-pro .devwallet { width: 100%; min-width: 0; margin-left: 0; text-align: left; }
}
@media (max-width:799px) {
  .football-pro .game-main { padding: 18px 8px 24px !important; }
  .football-pro .page-title { margin-bottom: 18px; padding: 0 4px 16px; }
  .football-pro .page-title h2 { font-size: 23px; }
  .football-pro .page-title p { font-size: 12px; }
  .football-pro .football-kicker { font-size: 9px; margin-bottom: 8px; }
  .football-pro .game-sidebar .tabs { box-shadow: none !important; border-color: #25282c !important; }
  .football-pro .game-sidebar .tab { font-size: 10px !important; }
  .football-pro .game-sidebar .tab>i:first-child { font-size: 20px !important; }
  .football-pro .home-command-grid { gap: 16px; }
  .football-pro .card { padding: 15px; }
  .football-pro .primary-action { padding: 22px; }
  .football-pro .primary-action h3 { font-size: 22px; }
  .football-pro .home-action-column>.home-status-strip { grid-template-columns: 1fr; }
  .football-pro :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { font-size: 16px; }
  .football-pro :is(.match-command-workspace,.career-command-workspace) { padding: 12px; }
  .football-pro .modal { max-width: calc(100vw - 16px); padding: 16px; }
  .football-pro .modal.career-profile-modal { padding: 0; }
}
@media (max-width:380px) {
  .football-pro .pro-playercard { padding: 0 11px 14px; }
  .football-pro .pc-field { height: 267px; }
  .football-pro .pro-playercard .pc-photo { height: 258px; left: 23%; }
  .football-pro .pro-playercard .pc-rating { width: 76px; }
  .football-pro .pro-playercard .pc-rating>b { font-size: 30px; }
  .football-pro .pro-playercard .pc-rating>b.pc-score-compact { font-size: 15px; }
  .football-pro .pro-playercard .pc-rankbadge { width: 56px; }
  .football-pro .pro-playercard .pc-name h2 { font-size: 22px; }
  .football-pro .pro-playercard .pc-stat b { font-size: 18px; }
}

/* ═════════ v27.1 — dopracowany jasny motyw Karier ═════════
   Elementy funkcyjne zachowują kolor akcentu, ale nie tworzą już czarnych
   wysp na białym ekranie. Reguły są na końcu pliku, aby objąć także widoki
   generowane dynamicznie przez app.js. */
html[data-mr-theme="light"] body.football-pro .secline,
html[data-mr-theme="light"] body.football-pro .match-choice-title {
  color: #17202b !important;
}
html[data-mr-theme="light"] body.football-pro .secline i { color: #0068ff; }

/* Karta gracza i ostatni przedmiot z ruletki. */
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-next {
  background: #eef6ff !important;
  border-color: #a8c9ed !important;
  color: #17202b !important;
}
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-next:hover {
  background: #e3f0ff !important;
  border-color: #70a8df !important;
}
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-next.ok {
  background: #eaf8f2 !important;
  border-color: #97d7bc !important;
}
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-next :is(b,small) { color: #315169 !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-stats {
  background: #f7f9fb !important;
  border-color: #b9c9d7 !important;
}
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-stat { border-color: #d8e1e8 !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-stat:nth-child(n+4) { border-top-color: #d8e1e8 !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-stat b { color: #17324d !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-stat span { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-progress .bar { background: #dce5eb !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-progress>span { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .pro-playercard .pc-transfer {
  background: #e8f1ff !important;
  border-color: #9bbfe8 !important;
  color: #135ca8 !important;
}
html[data-mr-theme="light"] body.football-pro .weekly-chest-icon {
  background: #eaf3ff !important;
  border-color: #9fc4ed !important;
  color: #0053cb !important;
}
html[data-mr-theme="light"] body.football-pro .weekly-last-item {
  background: radial-gradient(circle at 13% 50%,rgba(var(--eq),.20),transparent 56%),#fff !important;
  border-color: rgba(var(--eq),.58) !important;
  color: #17202b !important;
  box-shadow: inset 0 0 15px rgba(var(--eq),.08) !important;
}
html[data-mr-theme="light"] body.football-pro .weekly-last-item small { color: #43515d !important; }

/* Plan meczu, dodatki, przedmioty i typowanie. */
html[data-mr-theme="light"] body.football-pro #matchReadiness .match-step {
  background: #f7f9f9 !important;
  border-color: #cbd6de !important;
  color: #43515d !important;
}
html[data-mr-theme="light"] body.football-pro #matchReadiness .match-step i {
  background: #e7eef5 !important;
  color: #536471 !important;
}
html[data-mr-theme="light"] body.football-pro #matchReadiness .match-step.done {
  background: #e9f8f1 !important;
  border-color: #8bd5b4 !important;
  color: #116329 !important;
}
html[data-mr-theme="light"] body.football-pro #matchReadiness .match-step.done i {
  background: #d4f2e5 !important;
  color: #00875a !important;
}
html[data-mr-theme="light"] body.football-pro .match-equipment-item {
  background: radial-gradient(circle at 12% 50%,rgba(var(--eq),.19),transparent 52%),#fff !important;
  border-color: rgba(var(--eq),.52) !important;
  color: #17202b !important;
  box-shadow: inset 0 0 16px rgba(var(--eq),.06) !important;
}
html[data-mr-theme="light"] body.football-pro .match-equipment-item.sel {
  background: radial-gradient(circle at 12% 50%,rgba(var(--eq),.23),transparent 54%),#eaf8f2 !important;
  border-color: rgb(var(--eq)) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--eq),.28) !important;
}
html[data-mr-theme="light"] body.football-pro .match-equipment-item b { color: #17202b !important; }
html[data-mr-theme="light"] body.football-pro .match-equipment-item small { color: #4f6270 !important; }
html[data-mr-theme="light"] body.football-pro .equipment-bonus-preview {
  background: #edf5ff !important;
  border: 1px solid #b7d1ef;
  color: #1d4f91 !important;
}
html[data-mr-theme="light"] body.football-pro .equipment-bonus-preview b { color: #17324d !important; }
html[data-mr-theme="light"] body.football-pro .match-power-summary,
html[data-mr-theme="light"] body.football-pro .match-power-summary.empty-power {
  background: #f6f1ff !important;
  border-color: #cbb8ed !important;
  color: #51358a !important;
}
html[data-mr-theme="light"] body.football-pro .match-power-summary :is(b,p,small) { color: #51358a !important; }
html[data-mr-theme="light"] body.football-pro .match-power-summary.empty-power>i { background: #e9defd !important; }
html[data-mr-theme="light"] body.football-pro .pred {
  background: #fff !important;
  border-color: #cfd9de !important;
}
html[data-mr-theme="light"] body.football-pro .pred.on {
  background: #fff8e5 !important;
  border-color: #dfc66b !important;
}
html[data-mr-theme="light"] body.football-pro .cbtn {
  background: #fff !important;
  border-color: #aebdc8 !important;
  color: #17202b !important;
}
html[data-mr-theme="light"] body.football-pro .cbtn span { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .cbtn.sel {
  background: #fff5cf !important;
  border-color: #caa62f !important;
  color: #725400 !important;
}
html[data-mr-theme="light"] body.football-pro .captain-box,
html[data-mr-theme="light"] body.football-pro .captain-box.on {
  background: #fff8e5 !important;
  border-color: #dfc66b !important;
  color: #604b00 !important;
}
html[data-mr-theme="light"] body.football-pro .match-savebar {
  background: rgba(255,255,255,.96) !important;
  border-color: #cfd9de !important;
}

/* Centrum treningowe i jego boczna nawigacja. */
html[data-mr-theme="light"] body.football-pro .development-focus-button { color: #43515d !important; }
html[data-mr-theme="light"] body.football-pro .development-focus-button:hover { background: #f0f4f7 !important; color: #17202b !important; }
html[data-mr-theme="light"] body.football-pro .development-focus-button>i:first-child {
  background: #eef2f5 !important;
  color: #667987 !important;
}
html[data-mr-theme="light"] body.football-pro .development-focus-button.active {
  background: #e8f1ff !important;
  border-color: #397ac5 !important;
  color: #17202b !important;
}
html[data-mr-theme="light"] body.football-pro .development-focus-button.active>i:first-child {
  background: #d8e9ff !important;
  color: #0053cb !important;
}
html[data-mr-theme="light"] body.football-pro .devwallet {
  background: #f7f9f9 !important;
  border-color: #cbd6de !important;
}
html[data-mr-theme="light"] body.football-pro .devwallet span,
html[data-mr-theme="light"] body.football-pro .devwallet small { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .dev-equipment-strip {
  background: #edf5ff !important;
  border-color: #a8c9ed !important;
  color: #17324d !important;
}
html[data-mr-theme="light"] body.football-pro .dev-equipment-strip>i { background: #dcecff !important; }
html[data-mr-theme="light"] body.football-pro .dev-equipment-strip>div>span { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .devactive {
  background: #e9f8f1 !important;
  border-color: #8bd5b4 !important;
  color: #173d2c !important;
}
html[data-mr-theme="light"] body.football-pro .devactive .devic { background: #d2f1e3 !important; }
html[data-mr-theme="light"] body.football-pro .devprogress { background: #d5e4dc !important; }
html[data-mr-theme="light"] body.football-pro .queue-strip {
  background: #edf5ff !important;
  border-color: #b7d1ef !important;
  color: #17324d !important;
}

/* Cechy, raport, moce i cele. */
html[data-mr-theme="light"] body.football-pro .skill-bonus-guide {
  background: #f6f1ff !important;
  border-color: #cbb8ed !important;
  color: #43515d !important;
}
html[data-mr-theme="light"] body.football-pro .skill-bonus-guide b { color: #17202b !important; }
html[data-mr-theme="light"] body.football-pro .skill-bonus-levels span {
  background: #fff !important;
  border-color: #cbb8ed !important;
  color: #6941a5 !important;
}
html[data-mr-theme="light"] body.football-pro .devattr {
  background: #f7f9f9 !important;
  border-color: #cfd9de !important;
}
html[data-mr-theme="light"] body.football-pro .devattr-use { color: #43515d !important; }
html[data-mr-theme="light"] body.football-pro .devattr .bar,
html[data-mr-theme="light"] body.football-pro .power-trait .bar { background: #dfe6eb !important; }
html[data-mr-theme="light"] body.football-pro .power-explainer {
  background: #edf5ff !important;
  border-color: #a8c9ed !important;
  color: #315169 !important;
}
html[data-mr-theme="light"] body.football-pro .power-explainer b { color: #17202b !important; }
html[data-mr-theme="light"] body.football-pro .power-thresholds span {
  background: #fff !important;
  border-color: #cbd6de !important;
  color: #43515d !important;
}
html[data-mr-theme="light"] body.football-pro .vetbox {
  background: #f7f2ff !important;
  border-color: #cbb8ed !important;
}
html[data-mr-theme="light"] body.football-pro .vetrow { border-color: #dfd5ee !important; }
html[data-mr-theme="light"] body.football-pro .vetrow .vgrow b { color: #30404c !important; }
html[data-mr-theme="light"] body.football-pro .vetrow .vgrow span { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .powerrow {
  background: #fff !important;
  border-color: #cfd9de !important;
}
html[data-mr-theme="light"] body.football-pro .powerrow.active {
  background: #fff8e5 !important;
  border-color: #dfc66b !important;
}
html[data-mr-theme="light"] body.football-pro .powerrow .pcontent span { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .power-effect { color: #17202b !important; }
html[data-mr-theme="light"] body.football-pro .power-next { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .power-tiers em {
  background: #f1f4f6 !important;
  border-color: #cfd9de !important;
  color: #536471 !important;
}
html[data-mr-theme="light"] body.football-pro .power-tiers em.on {
  background: #fff5cf !important;
  border-color: #dfc66b !important;
  color: #725400 !important;
}
html[data-mr-theme="light"] body.football-pro .devtasks {
  background: #f7f9f9 !important;
  border-color: #cfd9de !important;
  color: #17202b !important;
}
html[data-mr-theme="light"] body.football-pro .devtask { border-color: #dce4e9 !important; }
html[data-mr-theme="light"] body.football-pro .devtask.ready {
  margin: 3px 0;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 10px;
  background: #fff8e5 !important;
}

html[data-mr-theme="light"] body.football-pro .performance-coverage {
  background: #e9f8f1 !important;
  border-color: #8bd5b4 !important;
}
html[data-mr-theme="light"] body.football-pro .performance-coverage b { color: #173d2c !important; }
html[data-mr-theme="light"] body.football-pro .performance-coverage span { color: #2c6d52 !important; }
html[data-mr-theme="light"] body.football-pro .performance-coverage.partial {
  background: #fff8e5 !important;
  border-color: #dfc66b !important;
}
html[data-mr-theme="light"] body.football-pro .performance-coverage.waiting {
  background: #edf5ff !important;
  border-color: #a8c9ed !important;
}
html[data-mr-theme="light"] body.football-pro .performance-match-detail {
  background: #fff !important;
  border-color: #cfd9de !important;
}
html[data-mr-theme="light"] body.football-pro .performance-match-detail-head>i {
  background: #e8f1ff !important;
  color: #0053cb !important;
}
html[data-mr-theme="light"] body.football-pro .performance-stat-sections { column-rule-color: #dfe6eb !important; }
html[data-mr-theme="light"] body.football-pro .performance-stat-section>span { color: #63788d !important; }
html[data-mr-theme="light"] body.football-pro .performance-stat {
  background: transparent !important;
  border-color: #e1e8ed !important;
}
html[data-mr-theme="light"] body.football-pro .performance-stat small { color: #536471 !important; }
html[data-mr-theme="light"] body.football-pro .performance-stat b { color: #17202b !important; }

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