:root{
  --cmh-accent:#2f94ff;
  --cmh-accent-soft:rgba(47,148,255,.24);
  --cmh-accent-strong:rgba(47,148,255,.48);
  --cmh-card-bg:linear-gradient(180deg,rgba(18,44,86,.84) 0%,rgba(9,24,52,.95) 58%,rgba(6,14,31,.98) 100%);
  --cmh-card-border:rgba(66,141,255,.5);
  --cmh-card-shadow:0 22px 48px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.career-home-page{background:#040a17}
.cmh{position:relative;isolation:isolate;color:#f5f9ff;background:radial-gradient(circle at 15% 10%,rgba(26,75,160,.14),transparent 22%),radial-gradient(circle at 85% 8%,rgba(44,115,232,.12),transparent 20%),linear-gradient(180deg,#040a17 0%,#050c1a 100%);overflow:hidden}
.cmh::before,.cmh::after{content:"";position:absolute;pointer-events:none;inset:auto;z-index:0}
.cmh::before{left:-8%;right:-8%;top:82px;height:720px;background:radial-gradient(ellipse at 50% 0,rgba(77,145,255,.14),transparent 48%),radial-gradient(ellipse at 50% 55%,rgba(30,78,171,.12),transparent 55%);filter:blur(6px);opacity:.9;animation:cmhFloatAura 16s ease-in-out infinite alternate}
.cmh::after{left:0;right:0;bottom:180px;height:280px;background:linear-gradient(90deg,transparent,rgba(83,149,255,.06),transparent);filter:blur(18px);opacity:.7;animation:cmhSweepAura 18s ease-in-out infinite alternate}

.cmh-hero{position:relative;min-height:calc(100vh - 68px);padding:58px 0 56px;background:
 linear-gradient(180deg,rgba(3,9,21,.32) 0%,rgba(4,11,25,.08) 18%,rgba(4,10,22,.16) 100%),
 linear-gradient(90deg,rgba(2,8,18,.82) 0%,rgba(6,18,39,.38) 48%,rgba(2,8,18,.76) 100%),
 url('career/careermodestars-stadium-v145.webp') center top/cover no-repeat;
overflow-x:clip;overflow-y:visible}
.cmh-hero::before{content:"";position:absolute;inset:0;background:
 radial-gradient(circle at 16% 18%,rgba(72,150,255,.16),transparent 18%),
 radial-gradient(circle at 86% 18%,rgba(72,150,255,.18),transparent 18%),
 linear-gradient(180deg,transparent 60%,rgba(4,10,20,.32) 100%);
pointer-events:none;animation:cmhLightsPulse 10s ease-in-out infinite alternate}
.cmh-hero::after{content:"";position:absolute;left:-5%;right:-5%;bottom:130px;height:180px;background:radial-gradient(ellipse at center,rgba(64,141,255,.16),transparent 62%);filter:blur(18px);pointer-events:none}

.cmh-geometry{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.72}
.cmh-geometry i{position:absolute;display:block;width:128px;height:128px;border:1px solid rgba(73,145,255,.18);transform:rotate(45deg);backdrop-filter:blur(1px)}
.cmh-geometry i::before{content:"";position:absolute;inset:14px;border:1px solid rgba(73,145,255,.15)}
.cmh-geometry i:nth-child(1){top:88px;left:7%;animation:cmhGeoFloat 20s ease-in-out infinite alternate}
.cmh-geometry i:nth-child(2){top:130px;right:9%;width:176px;height:176px;animation:cmhGeoFloat 24s ease-in-out -6s infinite alternate}
.cmh-geometry i:nth-child(3){bottom:90px;right:16%;width:120px;height:120px;animation:cmhGeoFloat 18s ease-in-out -10s infinite alternate}

.cmh-hero-content,.cmh-showcase{position:relative;z-index:1}
.cmh-hero-content{max-width:1120px;margin:0 auto;padding:0 22px;text-align:center;animation:cmhReveal .8s cubic-bezier(.16,.84,.2,1) both}
.cmh-pill{display:inline-flex;align-items:center;gap:9px;padding:9px 14px 9px 12px;border:1px solid rgba(62,142,255,.26);border-radius:999px;background:rgba(5,17,37,.5);color:#5dacff;font:800 12px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 30px rgba(0,0,0,.18)}
.cmh-pill i{width:7px;height:7px;border-radius:50%;background:var(--cmh-accent);box-shadow:0 0 12px rgba(47,148,255,.62)}
.cmh-hero h1{margin:20px auto 10px;font:900 clamp(52px,8vw,96px)/.95 Inter,sans-serif;letter-spacing:-.04em;max-width:1040px;color:#fff;text-transform:uppercase;text-shadow:0 10px 30px rgba(0,0,0,.28)}
.cmh-hero h1 b{color:var(--cmh-accent);font-style:italic}
.cmh-hero p{margin:0 auto;max-width:780px;color:#b7c5de;font:500 clamp(17px,2vw,22px)/1.45 Inter,sans-serif}

.cmh-search{margin:34px auto 0;max-width:760px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:11px 12px 11px 18px;border-radius:18px;border:1px solid rgba(61,140,255,.24);background:linear-gradient(180deg,rgba(5,17,37,.78),rgba(5,13,29,.94));box-shadow:0 22px 54px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04)}
.cmh-search svg{width:28px;height:28px;fill:none;stroke:#b5d3ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.92}
.cmh-search input{min-width:0;border:0;outline:0;background:transparent;color:#fff;font:600 22px/1.2 Inter,sans-serif}
.cmh-search input::placeholder{color:#7689aa}
.cmh-search button{width:66px;height:54px;border:1px solid rgba(70,145,255,.32);border-radius:14px;background:linear-gradient(180deg,#348dff,#2377f1);color:#fff;font:900 26px/1 Inter,sans-serif;cursor:pointer;box-shadow:0 12px 28px rgba(31,108,224,.28);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}
.cmh-search button:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(31,108,224,.36);filter:brightness(1.06)}

.cmh-quick{margin:30px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:16px;max-width:980px}
.cmh-quick-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:164px;padding:0 20px;height:68px;border-radius:18px;border:1px solid rgba(59,138,255,.26);background:linear-gradient(180deg,rgba(6,18,38,.7),rgba(5,12,26,.9));color:#e8f2ff;font:800 14px/1 Inter,sans-serif;cursor:pointer;transition:transform .22s cubic-bezier(.16,.84,.2,1),border-color .22s ease,box-shadow .22s ease,background .22s ease;text-align:center}
.cmh-quick-tab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.95}
.cmh-quick-tab [fill]:not([fill="none"]){fill:currentColor;stroke:none}
.cmh-quick-tab:hover{transform:translateY(-3px);border-color:rgba(79,161,255,.48);box-shadow:0 14px 30px rgba(0,0,0,.2)}
.cmh-quick-tab.is-active{border-color:rgba(79,161,255,.62);background:linear-gradient(180deg,rgba(20,79,188,.48),rgba(10,32,74,.96));box-shadow:0 0 0 1px rgba(46,134,255,.15),0 18px 36px rgba(12,43,96,.26),inset 0 0 22px rgba(58,142,255,.17)}

.cmh-showcase{margin:48px 0 0;width:min(100%,1600px);max-width:none;margin-left:auto;margin-right:auto;animation:cmhReveal .9s .12s cubic-bezier(.16,.84,.2,1) both}
.cmh-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:0 clamp(18px,2.8vw,42px) 14px}
.cmh-section-head h2{margin:0;display:flex;align-items:center;gap:10px;color:#fff;font:900 clamp(24px,2.2vw,34px)/1 Inter,sans-serif;letter-spacing:-.03em;text-transform:uppercase}
.cmh-section-head h2 i{width:7px;height:7px;border-radius:50%;background:var(--cmh-accent);box-shadow:0 0 12px rgba(47,148,255,.7)}
.cmh-section-head p{margin:8px 0 0;color:#a8b8d3;font:600 14px/1.35 Inter,sans-serif}
.cmh-section-head a{position:relative;align-self:flex-start;display:inline-flex;align-items:center;gap:10px;padding:0 18px;height:50px;border-radius:14px;border:1px solid rgba(62,143,255,.28);background:rgba(5,16,35,.54);color:#7fc0ff;font:800 14px/1 Inter,sans-serif;text-decoration:none;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.16)}
.cmh-section-head a::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(131,189,255,.16) 46%,transparent 68%);transform:translateX(-120%);transition:transform .45s ease}
.cmh-section-head a:hover::before{transform:translateX(120%)}

.cmh-carousel-shell{position:relative;isolation:isolate;overflow:visible;padding-inline:clamp(18px,2.2vw,32px)}
.cmh-carousel-shell::before{content:"";position:absolute;left:2%;right:2%;top:84px;height:230px;border-radius:999px;background:radial-gradient(ellipse at center,rgba(58,137,255,.18),transparent 68%);filter:blur(12px);pointer-events:none;animation:cmhLaneGlow 12s ease-in-out infinite alternate}
.cmh-carousel-shell.is-switching .cmh-carousel{opacity:.16;transform:translateY(12px) scale(.985)}
.cmh-carousel{display:flex;align-items:stretch;gap:18px;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:none;padding:10px 0 28px;scrollbar-width:none;cursor:grab;transition:opacity .22s ease,transform .22s ease}
.cmh-carousel::-webkit-scrollbar{display:none}
.cmh-carousel.is-paused{cursor:grab}
.cmh-carousel.is-dragging{cursor:grabbing;user-select:none}
.cmh-player-card{position:relative;flex:0 0 clamp(208px,13.2vw,228px);display:block;text-decoration:none;color:#fff;transform-style:preserve-3d;perspective:1200px;outline:none}
.cmh-card-main{position:relative;display:block;height:328px;padding:15px 16px 16px;clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px);background:var(--cmh-card-bg);border:1px solid var(--cmh-card-border);box-shadow:var(--cmh-card-shadow);overflow:hidden;backdrop-filter:blur(2px);transform:translateZ(0);transition:transform .32s cubic-bezier(.16,.84,.2,1),box-shadow .32s ease,border-color .32s ease,filter .32s ease}
.cmh-card-main::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.06),transparent 22% 72%,rgba(95,175,255,.08));pointer-events:none}
.cmh-card-main::after{content:"";position:absolute;top:-55%;bottom:-55%;left:-42%;width:42%;background:linear-gradient(115deg,transparent,rgba(255,255,255,.26),rgba(255,255,255,.08),transparent);transform:translateX(-140%) rotate(16deg);pointer-events:none;transition:transform .72s cubic-bezier(.16,.84,.2,1)}
.cmh-player-card:hover .cmh-card-main,.cmh-player-card:focus-visible .cmh-card-main{transform:perspective(1200px) rotateX(7deg) rotateY(-8deg) translate3d(0,-10px,20px);border-color:rgba(104,183,255,.82);box-shadow:0 34px 70px rgba(0,0,0,.46),0 0 0 1px rgba(90,174,255,.16),0 18px 34px rgba(28,88,176,.22), inset 0 1px 0 rgba(255,255,255,.08);filter:brightness(1.02)}
.cmh-player-card:hover .cmh-card-main::after,.cmh-player-card:focus-visible .cmh-card-main::after{transform:translateX(370%) rotate(16deg)}
.cmh-player-card::after{content:"";position:absolute;left:18px;right:18px;bottom:-2px;height:20px;background:radial-gradient(ellipse at center,rgba(58,145,255,.34),transparent 72%);filter:blur(8px);opacity:.55;transition:transform .32s ease,opacity .32s ease}
.cmh-player-card:hover::after,.cmh-player-card:focus-visible::after{opacity:.9;transform:scaleX(1.08)}
.cmh-card-main > *{position:relative;z-index:1}

.cmh-rating{position:absolute;left:16px;top:14px;display:grid;gap:0;justify-items:start;text-align:left}
.cmh-rating strong{font:900 32px/.88 Inter,sans-serif;letter-spacing:-.04em;color:#52a7ff;text-shadow:0 0 18px rgba(57,160,255,.16)}
.cmh-rating small{font:800 13px/1 Inter,sans-serif;color:#f3f7ff;letter-spacing:.02em}
.cmh-player-image,.cmh-manager-image{position:relative;display:flex;align-items:flex-end;justify-content:center;margin:6px auto 0;height:168px;max-width:158px}
.cmh-player-image img,.cmh-manager-image img{max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 24px rgba(0,0,0,.34))}
.cmh-player-name,.cmh-manager-name,.cmh-club-name{display:block;text-align:center;font:900 14px/1.15 Inter,sans-serif;letter-spacing:-.01em;text-shadow:0 2px 8px rgba(0,0,0,.24)}
.cmh-player-name{margin-top:6px;padding-bottom:12px;border-bottom:1px solid rgba(170,197,233,.17)}
.cmh-player-data{margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cmh-player-data > span{position:relative;display:grid;gap:5px;justify-items:center;text-align:center}
.cmh-player-data > span:not(:last-child)::after{content:"";position:absolute;right:-4px;top:3px;bottom:3px;width:1px;background:rgba(166,195,233,.12)}
.cmh-player-data small,.cmh-club-ratings small{font:700 8px/1 Inter,sans-serif;color:#7e90ae;text-transform:uppercase;letter-spacing:.08em}
.cmh-player-data b,.cmh-club-ratings b{font:900 16px/1 Inter,sans-serif;color:#eef5ff}
.cmh-player-data b.is-potential{color:#53a8ff;text-shadow:0 0 14px rgba(56,161,255,.18)}
.cmh-player-meta{position:absolute;left:16px;right:16px;bottom:16px;display:flex;justify-content:center;align-items:center;gap:13px}
.cmh-player-meta > span{display:grid;place-items:center;min-width:32px;height:24px}
.cmh-player-meta img{max-width:26px;max-height:22px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.28))}

.cmh-card--manager .cmh-card-main{padding-top:22px}
.cmh-card--manager .cmh-manager-image{height:166px;max-width:150px;margin-top:10px}
.cmh-card--manager .cmh-manager-name{margin-top:16px;font-size:18px;line-height:1.08}
.cmh-manager-sub{display:block;margin-top:8px;color:#66afff;text-align:center;font:800 11px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.cmh-manager-league{display:block;margin-top:4px;color:#afbed8;text-align:center;font:700 11px/1.2 Inter,sans-serif}
.cmh-manager-country{display:block;margin-top:6px;color:#7ec1ff;text-align:center;font:700 10px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.cmh-card--manager .cmh-player-meta{bottom:18px}
.cmh-manager-fallback{width:108px;height:108px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 28%,rgba(95,168,255,.22),rgba(16,39,76,.92));border:1px solid rgba(73,143,255,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);font:900 34px/1 Inter,sans-serif;color:#fff}

.cmh-card--club .cmh-card-main{padding-top:20px}
.cmh-club-badge{position:absolute;left:16px;top:14px;display:grid;gap:2px;justify-items:start}
.cmh-club-badge strong{font:900 28px/.9 Inter,sans-serif;color:#52a7ff;letter-spacing:-.04em}
.cmh-club-badge small{font:800 11px/1 Inter,sans-serif;color:#edf5ff;letter-spacing:.08em;text-transform:uppercase}
.cmh-club-crest{display:flex;justify-content:center;align-items:center;height:136px;margin-top:24px}
.cmh-club-crest img{max-width:112px;max-height:112px;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(0,0,0,.35))}
.cmh-club-name{margin-top:6px;font-size:18px;line-height:1.08;padding-bottom:11px;border-bottom:1px solid rgba(170,197,233,.17)}
.cmh-club-stars{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:12px;color:#9ecaff;font-size:15px;letter-spacing:.08em}
.cmh-club-stars i{font-style:normal;opacity:.35}.cmh-club-stars i.on{opacity:1;text-shadow:0 0 16px rgba(85,169,255,.24)}
.cmh-club-ratings{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}
.cmh-club-ratings span{position:relative;display:grid;gap:5px;justify-items:center}
.cmh-club-ratings span:not(:last-child)::after{content:"";position:absolute;right:-4px;top:3px;bottom:3px;width:1px;background:rgba(166,195,233,.12)}
.cmh-club-meta{position:absolute;left:16px;right:16px;bottom:14px;display:grid;gap:8px;justify-items:center;text-align:center}
.cmh-club-meta-line{display:flex;align-items:center;justify-content:center;gap:8px;color:#eaf3ff;font:700 12px/1.2 Inter,sans-serif}
.cmh-club-meta-line img{max-width:22px;max-height:22px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.28))}

.cmh-card--player .cmh-card-main,.cmh-card--manager .cmh-card-main,.cmh-card--club .cmh-card-main{background:linear-gradient(180deg,rgba(18,44,86,.76) 0%,rgba(10,25,54,.93) 58%,rgba(6,14,31,.98) 100%)}

.cmh-empty{padding:28px 20px;border:1px solid rgba(62,143,255,.22);border-radius:18px;background:rgba(6,16,35,.58);text-align:center;color:#b0c0da;font:700 15px/1.4 Inter,sans-serif}

@keyframes cmhReveal{0%{opacity:0;transform:translateY(18px)}100%{opacity:1;transform:none}}
@keyframes cmhFloatAura{0%{transform:translateY(0) scale(1);opacity:.68}100%{transform:translateY(-10px) scale(1.03);opacity:1}}
@keyframes cmhSweepAura{0%{transform:translateX(-3%)}100%{transform:translateX(3%)}}
@keyframes cmhLightsPulse{0%{opacity:.82}100%{opacity:1}}
@keyframes cmhGeoFloat{0%{transform:rotate(45deg) translate3d(0,0,0)}100%{transform:rotate(45deg) translate3d(10px,12px,0)}}
@keyframes cmhLaneGlow{0%{opacity:.48;transform:scaleX(.98)}100%{opacity:.92;transform:scaleX(1.04)}}

@media (max-width:1240px){
  .cmh-hero-content{max-width:980px}
  .cmh-showcase{margin-top:40px}
  .cmh-player-card{flex-basis:214px}
}
@media (max-width:900px){
  .cmh-hero{min-height:auto;padding-top:42px}
  .cmh-hero-content{padding-inline:16px}
  .cmh-search{max-width:none;padding-inline:14px}
  .cmh-search input{font-size:18px}
  .cmh-search button{width:58px;height:50px}
  .cmh-quick{gap:12px}
  .cmh-quick-tab{flex:1 1 calc(50% - 12px);min-width:0;height:62px;padding-inline:14px}
  .cmh-section-head{flex-direction:column;align-items:flex-start}
  .cmh-carousel-shell{padding-inline:14px}
  .cmh-carousel{gap:14px;padding-bottom:22px}
}
@media (max-width:620px){
  .cmh::before,.cmh::after,.cmh-hero::before,.cmh-geometry i,.cmh-carousel-shell::before{animation:none!important}
  .cmh-hero h1{font-size:42px}
  .cmh-hero p{font-size:16px}
  .cmh-search{gap:10px;padding:10px 10px 10px 14px;border-radius:16px}
  .cmh-search svg{width:24px;height:24px}
  .cmh-search input{font-size:16px}
  .cmh-search button{width:48px;height:46px;border-radius:12px;font-size:22px}
  .cmh-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cmh-quick-tab{height:56px;border-radius:16px;font-size:13px;gap:8px}
  .cmh-showcase{margin-top:34px}
  .cmh-section-head{padding-inline:18px}
  .cmh-carousel-shell{padding-inline:0}
  .cmh-carousel{padding-inline:18px;scroll-snap-type:x mandatory}
  .cmh-player-card{flex-basis:min(74vw,230px);scroll-snap-align:start}
  .cmh-card-main{height:324px}
}
@media (prefers-reduced-motion:reduce){
  .cmh *{animation:none!important;transition:none!important}
  .cmh-carousel{scroll-behavior:auto!important}
}

/* V145.4 — full-page autoplay lane, larger faces, smoother card geometry */
.cmh-showcase{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  overflow:visible;
}
.cmh-section-head{
  width:min(1600px,calc(100% - 40px));
  margin-inline:auto;
  padding-left:0;
  padding-right:0;
}
.cmh-carousel-shell{
  width:100%;
  padding-inline:0;
  overflow:visible;
}
.cmh-carousel{
  width:100%;
  gap:18px;
  padding:14px 0 36px;
  overflow-x:auto;
  overscroll-behavior-x:none;
  user-select:none;
  -webkit-user-select:none;
  touch-action:pan-y;
}
.cmh-carousel *{
  user-select:none;
  -webkit-user-select:none;
}
.cmh-carousel img{
  pointer-events:none;
  -webkit-user-drag:none;
  user-drag:none;
}
.cmh-carousel-arrow--prev{left:16px}
.cmh-carousel-arrow--next{right:16px}

.cmh-player-card{
  flex:0 0 clamp(216px,13.7vw,238px);
  -webkit-user-drag:none;
}
.cmh-card-main{
  height:358px;
  clip-path:none;
  border-radius:10px 19px 10px 19px;
  overflow:hidden;
}
.cmh-card-main::before{border-radius:inherit}

/* Large, hero-like player portraits. */
.cmh-card--player .cmh-card-main{padding:12px 16px 15px}
.cmh-player-image{
  height:205px;
  max-width:202px;
  margin:-4px auto 0;
  align-items:flex-end;
}
.cmh-player-image img{
  width:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center bottom;
  transform:scale(1.08);
  transform-origin:center bottom;
}
.cmh-player-name{
  margin-top:-2px;
  padding-bottom:10px;
  font-size:15px;
}
.cmh-player-data{margin-top:11px}
.cmh-player-meta{bottom:13px;gap:11px}
.cmh-player-meta>span{min-width:29px;height:22px}
.cmh-player-meta img{max-width:25px;max-height:21px}

/* Manager cards: image + name, metadata stays icon-only. */
.cmh-card--manager .cmh-card-main{padding:14px 16px 14px}
.cmh-card--manager .cmh-manager-image{
  height:226px;
  max-width:206px;
  margin:0 auto;
  align-items:flex-end;
}
.cmh-card--manager .cmh-manager-image img{
  width:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 18px 25px rgba(0,0,0,.36));
}
.cmh-card--manager .cmh-manager-name{
  margin-top:4px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(170,197,233,.17);
  font-size:18px;
}
.cmh-card--manager .cmh-manager-meta{
  bottom:17px;
  gap:14px;
}
.cmh-manager-sub,.cmh-manager-league,.cmh-manager-country,.cmh-manager-fallback{display:none!important}

/* Club cards: competition + country are represented by icons only. */
.cmh-card--club .cmh-card-main{padding:17px 16px 14px}
.cmh-club-crest{height:145px;margin-top:23px}
.cmh-club-crest img{max-width:124px;max-height:124px}
.cmh-club-name{margin-top:4px;font-size:18px;padding-bottom:10px}
.cmh-club-stars{margin-top:10px;gap:3px;font-size:16px}
.cmh-club-stars i{position:relative;display:inline-block;color:#304965;opacity:1;font-style:normal;text-shadow:none}
.cmh-club-stars i.on{color:#78bcff;opacity:1;text-shadow:0 0 14px rgba(85,169,255,.28)}
.cmh-club-stars i.half{
  color:transparent;
  opacity:1;
  background:linear-gradient(90deg,#78bcff 0 50%,#304965 50% 100%);
  -webkit-background-clip:text;
  background-clip:text;
  text-shadow:none;
}
.cmh-club-ratings{margin-top:9px}
.cmh-club-meta{
  left:16px;
  right:16px;
  bottom:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.cmh-icon-meta>span{
  width:30px;
  height:24px;
  display:grid;
  place-items:center;
}
.cmh-icon-meta img{max-width:27px;max-height:23px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(0,0,0,.28))}
.cmh-club-meta-line{display:none!important}

/* More generous hover depth without clipping the bigger portraits. */
.cmh-player-card:hover .cmh-card-main,
.cmh-player-card:focus-visible .cmh-card-main{
  transform:perspective(1200px) rotateX(6deg) rotateY(-7deg) translate3d(0,-9px,18px);
}

@media(max-width:1240px){
  .cmh-player-card{flex-basis:222px}
  .cmh-card-main{height:350px}
  .cmh-player-image{height:198px;max-width:196px}
  .cmh-card--manager .cmh-manager-image{height:218px;max-width:198px}
}
@media(max-width:900px){
  .cmh-section-head{width:calc(100% - 30px)}
  .cmh-carousel{gap:14px;padding-bottom:32px}
  .cmh-carousel-arrow--prev{left:8px}.cmh-carousel-arrow--next{right:8px}
}
@media(max-width:620px){
  .cmh-showcase{width:100%;margin-left:0;margin-right:0}
  .cmh-carousel{padding-left:16px;padding-right:16px;touch-action:pan-y}
  .cmh-player-card{flex-basis:min(78vw,242px)}
  .cmh-card-main{height:354px}
  .cmh-player-image{height:205px;max-width:202px}
}

/* V145.5 — always-on autoplay, no arrows, centered CTA, oversized portraits */
.cmh-geometry{display:none!important}
.cmh-quick-tab{text-decoration:none}
.cmh-showcase{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.cmh-section-head{width:min(1600px,calc(100% - 48px));margin-inline:auto;padding-inline:0}
.cmh-carousel-shell{width:100%;padding:0;overflow:visible}
.cmh-carousel{width:100%;padding:14px 0 34px;gap:20px;overflow-x:auto;overflow-y:visible;scrollbar-width:none;user-select:none;-webkit-user-select:none}
.cmh-carousel-arrow{display:none!important}
.cmh-showcase-footer{display:flex;justify-content:center;align-items:center;padding:10px 20px 0}
.cmh-showcase-footer a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:220px;height:52px;padding:0 22px;border:1px solid rgba(67,149,255,.34);border-radius:14px;background:linear-gradient(180deg,rgba(10,32,70,.88),rgba(6,18,40,.96));color:#79bcff;font:850 14px/1 Inter,sans-serif;text-decoration:none;box-shadow:0 14px 32px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden;transition:transform .22s cubic-bezier(.16,.84,.2,1),border-color .22s ease,box-shadow .22s ease,color .22s ease}
.cmh-showcase-footer a::before{content:"";position:absolute;inset:-20% auto -20% -40%;width:34%;background:linear-gradient(110deg,transparent,rgba(255,255,255,.2),transparent);transform:translateX(-180%) skewX(-16deg);transition:transform .55s cubic-bezier(.16,.84,.2,1)}
.cmh-showcase-footer a:hover{transform:translateY(-3px);border-color:rgba(93,171,255,.65);color:#a8d6ff;box-shadow:0 20px 42px rgba(0,0,0,.28),0 0 26px rgba(41,131,255,.11)}
.cmh-showcase-footer a:hover::before{transform:translateX(520%) skewX(-16deg)}

/* Let the player portrait dominate the card without sacrificing the info hierarchy. */
.cmh-player-card{flex:0 0 clamp(232px,15vw,258px)}
.cmh-card-main{height:410px}
.cmh-card--player .cmh-card-main{padding:12px 16px 15px}
.cmh-card--player .cmh-rating{z-index:6}
.cmh-player-image{height:246px;max-width:310px;margin:-8px -28px 0;overflow:visible;z-index:1}
.cmh-player-image img{width:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;transform:scale(1.42);transform-origin:center bottom;filter:drop-shadow(0 18px 28px rgba(0,0,0,.38))}
.cmh-player-name{position:relative;z-index:6;margin-top:15px;padding:10px 6px 13px;background:linear-gradient(180deg,rgba(7,20,43,.18),rgba(7,20,43,.72) 42%,rgba(7,20,43,.9));border-bottom:1px solid rgba(170,197,233,.17);font-size:16px}
.cmh-player-data{position:relative;z-index:6;margin-top:10px}
.cmh-player-meta{z-index:7;bottom:14px}

/* Managers get the same stronger portrait presence. */
.cmh-card--manager .cmh-manager-image{height:258px;max-width:300px;margin:-2px -24px 0;overflow:visible}
.cmh-card--manager .cmh-manager-image img{transform:scale(1.28);transform-origin:center bottom}
.cmh-card--manager .cmh-manager-name{margin-top:15px;padding:10px 6px 14px;background:linear-gradient(180deg,rgba(7,20,43,.12),rgba(7,20,43,.76));font-size:18px}
.cmh-card--manager .cmh-manager-meta{bottom:18px}

@media(max-width:1240px){
  .cmh-player-card{flex-basis:238px}
  .cmh-card-main{height:396px}
  .cmh-player-image{height:232px;max-width:292px}
  .cmh-card--manager .cmh-manager-image{height:246px;max-width:286px}
}
@media(max-width:900px){
  .cmh-section-head{width:calc(100% - 30px)}
  .cmh-carousel{gap:16px;padding-bottom:30px}
}
@media(max-width:620px){
  .cmh-showcase{width:100%;margin-left:0;margin-right:0}
  .cmh-carousel{padding-left:16px;padding-right:16px}
  .cmh-player-card{flex-basis:min(80vw,252px)}
  .cmh-card-main{height:400px}
  .cmh-player-image{height:236px;max-width:295px;margin-left:-24px;margin-right:-24px}
  .cmh-player-image img{transform:scale(1.36)}
  .cmh-card--manager .cmh-manager-image{height:244px;max-width:286px}
  .cmh-showcase-footer{padding-top:6px}
  .cmh-showcase-footer a{width:min(100%,280px)}
}

/* V145.6 — oversized player portraits, smaller managers, larger club crests, centered rating labels */
.cmh-player-card{flex-basis:clamp(244px,15.7vw,270px)}
.cmh-card-main{height:460px}

/* Keep the secondary label perfectly centered beneath the number. */
.cmh-rating,
.cmh-club-badge{
  justify-items:center!important;
  text-align:center!important;
  align-items:center;
  min-width:46px;
}
.cmh-rating strong,
.cmh-rating small,
.cmh-club-badge strong,
.cmh-club-badge small{
  display:block;
  width:100%;
  text-align:center!important;
}
.cmh-club-badge small{letter-spacing:.045em}

/* Player portraits: deliberately much larger and more dominant. */
.cmh-card--player .cmh-card-main{padding:12px 16px 15px}
.cmh-player-image{
  height:302px;
  max-width:430px;
  margin:-24px -82px 0;
  overflow:visible;
  align-items:flex-end;
  z-index:1;
}
.cmh-player-image img{
  width:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center bottom;
  transform:scale(1.88);
  transform-origin:center bottom;
  filter:drop-shadow(0 20px 30px rgba(0,0,0,.4));
}
.cmh-player-name{
  position:relative;
  z-index:6;
  margin-top:24px;
  padding-top:12px;
}

/* Managers intentionally calmer/smaller than the player portraits. */
.cmh-card--manager .cmh-manager-image{
  height:166px;
  max-width:164px;
  margin:30px auto 0;
  overflow:visible;
  align-items:flex-end;
}
.cmh-card--manager .cmh-manager-image img{
  width:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center bottom;
  transform:scale(.96);
  transform-origin:center bottom;
  filter:drop-shadow(0 15px 22px rgba(0,0,0,.34));
}
.cmh-card--manager .cmh-manager-name{
  margin-top:20px;
  padding-top:12px;
}

/* Club crest becomes the visual hero and sits dead-center. */
.cmh-card--club .cmh-card-main{padding:17px 16px 14px}
.cmh-club-crest{
  height:198px;
  margin:32px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.cmh-club-crest img{
  width:auto;
  height:auto;
  max-width:178px;
  max-height:178px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 17px 28px rgba(0,0,0,.38));
}
.cmh-club-name{margin-top:2px}

@media(max-width:1240px){
  .cmh-player-card{flex-basis:248px}
  .cmh-card-main{height:445px}
  .cmh-player-image{height:286px;max-width:405px;margin-left:-76px;margin-right:-76px}
  .cmh-player-image img{transform:scale(1.8)}
  .cmh-card--manager .cmh-manager-image{height:158px;max-width:158px;margin-top:28px}
  .cmh-club-crest{height:188px;margin-top:30px}
  .cmh-club-crest img{max-width:168px;max-height:168px}
}
@media(max-width:620px){
  .cmh-player-card{flex-basis:min(82vw,262px)}
  .cmh-card-main{height:430px}
  .cmh-player-image{height:274px;max-width:378px;margin-left:-64px;margin-right:-64px}
  .cmh-player-image img{transform:scale(1.7)}
  .cmh-player-name{margin-top:20px}
  .cmh-card--manager .cmh-manager-image{height:154px;max-width:154px;margin-top:24px}
  .cmh-club-crest{height:180px;margin-top:28px}
  .cmh-club-crest img{max-width:158px;max-height:158px}
}


/* V145.7 — shorter cards, calmer player portraits, cleaner hero */
.cmh-pill{display:none!important}
.cmh-hero-content>p{display:none!important}
.cmh-hero h1{margin-top:6px;margin-bottom:0}
.cmh-search{margin-top:28px}

.cmh-player-card{flex-basis:clamp(232px,15vw,258px)}
.cmh-card-main{height:404px}

/* Players stay prominent, but no longer overpower the card. */
.cmh-player-image{
  height:242px;
  max-width:330px;
  margin:-10px -36px 0;
}
.cmh-player-image img{
  transform:scale(1.46);
  transform-origin:center bottom;
}
.cmh-player-name{
  margin-top:18px;
  padding-top:10px;
}

/* Managers/clubs inherit the shorter overall card without becoming cramped. */
.cmh-card--manager .cmh-manager-image{margin-top:20px}
.cmh-card--manager .cmh-manager-name{margin-top:16px}
.cmh-card--club .cmh-club-crest{height:168px;margin-top:24px}
.cmh-card--club .cmh-club-crest img{max-width:154px;max-height:154px}

/* Cards are explicitly clickable even inside the draggable carousel. */
.cmh-player-card{pointer-events:auto;cursor:pointer}
.cmh-player-card .cmh-card-main{pointer-events:auto}

@media(max-width:1240px){
  .cmh-player-card{flex-basis:236px}
  .cmh-card-main{height:394px}
  .cmh-player-image{height:232px;max-width:314px;margin-left:-32px;margin-right:-32px}
  .cmh-player-image img{transform:scale(1.42)}
  .cmh-card--club .cmh-club-crest{height:162px;margin-top:22px}
  .cmh-card--club .cmh-club-crest img{max-width:148px;max-height:148px}
}
@media(max-width:620px){
  .cmh-player-card{flex-basis:min(80vw,250px)}
  .cmh-card-main{height:388px}
  .cmh-player-image{height:228px;max-width:300px;margin-left:-28px;margin-right:-28px}
  .cmh-player-image img{transform:scale(1.38)}
  .cmh-player-name{margin-top:16px}
  .cmh-card--club .cmh-club-crest{height:156px;margin-top:20px}
  .cmh-card--club .cmh-club-crest img{max-width:142px;max-height:142px}
}

/* V145.8 — club/manager vertical polish + compact quick navigation */
/* Compact the four primary navigation chips so they sit neatly under the search bar. */
.cmh-quick{
  margin:18px auto 0;
  max-width:760px;
  gap:10px;
  flex-wrap:nowrap;
}
.cmh-quick-tab{
  flex:1 1 0;
  min-width:0;
  height:48px;
  padding:0 13px;
  border-radius:13px;
  gap:8px;
  font-size:12px;
  white-space:nowrap;
}
.cmh-quick-tab svg{
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.cmh-quick-tab:hover{transform:translateY(-2px)}

/* Clubs: move the full visual composition down and tighten the footer icons. */
.cmh-card--club .cmh-club-badge{top:21px}
.cmh-card--club .cmh-club-crest{
  height:168px;
  margin-top:35px;
}
.cmh-card--club .cmh-club-crest img{
  max-width:154px;
  max-height:154px;
}
.cmh-card--club .cmh-club-name{
  margin-top:7px;
}
.cmh-card--club .cmh-club-stars{
  margin-top:12px;
}
.cmh-card--club .cmh-club-ratings{
  margin-top:11px;
}
.cmh-card--club .cmh-club-meta{
  bottom:12px;
  gap:8px;
}
.cmh-card--club .cmh-icon-meta>span{
  width:27px;
  height:23px;
}
.cmh-card--club .cmh-icon-meta img{
  max-width:24px;
  max-height:21px;
}

/* Managers: lower the portrait/name block slightly and align metadata icons as one tight group. */
.cmh-card--manager .cmh-manager-image{
  margin-top:28px;
}
.cmh-card--manager .cmh-manager-name{
  margin-top:19px;
}
.cmh-card--manager .cmh-manager-meta{
  bottom:12px;
  gap:8px;
}
.cmh-card--manager .cmh-manager-meta>span{
  min-width:27px;
  width:27px;
  height:23px;
}
.cmh-card--manager .cmh-manager-meta img{
  max-width:24px;
  max-height:21px;
}

@media(max-width:900px){
  .cmh-quick{max-width:680px;gap:8px}
  .cmh-quick-tab{height:46px;padding-inline:10px;font-size:11px}
  .cmh-card--club .cmh-club-crest{height:160px;margin-top:32px}
  .cmh-card--club .cmh-club-crest img{max-width:146px;max-height:146px}
  .cmh-card--manager .cmh-manager-image{margin-top:25px}
}
@media(max-width:620px){
  .cmh-quick{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:100%;
    gap:8px;
  }
  .cmh-quick-tab{height:44px;font-size:11px;padding-inline:10px}
  .cmh-card--club .cmh-club-crest{height:154px;margin-top:30px}
  .cmh-card--club .cmh-club-crest img{max-width:140px;max-height:140px}
  .cmh-card--manager .cmh-manager-image{margin-top:23px}
}

/* V145.9 — move club + manager compositions slightly lower */
/* Player cards intentionally untouched. */
.cmh-card--club .cmh-club-badge{top:28px}
.cmh-card--club .cmh-club-crest{margin-top:43px}
.cmh-card--club .cmh-club-meta{bottom:6px}

.cmh-card--manager .cmh-manager-image{margin-top:36px}
.cmh-card--manager .cmh-manager-meta{bottom:6px}

@media(max-width:900px){
  .cmh-card--club .cmh-club-crest{margin-top:40px}
  .cmh-card--club .cmh-club-meta{bottom:6px}
  .cmh-card--manager .cmh-manager-image{margin-top:33px}
  .cmh-card--manager .cmh-manager-meta{bottom:6px}
}
@media(max-width:620px){
  .cmh-card--club .cmh-club-crest{margin-top:38px}
  .cmh-card--manager .cmh-manager-image{margin-top:31px}
}

/* V145.10 — manager metadata sits directly below the divider line */
.cmh-card--manager .cmh-manager-meta{
  position:relative;
  left:auto;
  right:auto;
  bottom:auto;
  margin:8px auto 0;
  width:max-content;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
}
.cmh-card--manager .cmh-manager-meta>span{
  min-width:27px;
  width:27px;
  height:23px;
}
.cmh-card--manager .cmh-manager-meta img{
  max-width:24px;
  max-height:21px;
}
@media(max-width:900px){
  .cmh-card--manager .cmh-manager-meta{margin-top:7px}
}
@media(max-width:620px){
  .cmh-card--manager .cmh-manager-meta{margin-top:7px}
}
