/* CIS FINDER v1.8 — player-profile refinements.
   The original brand imagery, FACEIT assets and underlying data model are unchanged. */
:root{--cf-profile-motion:330ms;--cf-drawer-width:clamp(530px,40.5vw,760px)}
/* A genuinely compact search header while the scouting panel is visible. */
body.concept-a .hero{transition:min-height var(--cf-profile-motion) cubic-bezier(.22,1,.36,1),padding var(--cf-profile-motion) cubic-bezier(.22,1,.36,1),background-position .5s ease;overflow:hidden}
body.concept-a .hero h1,body.concept-a .hero p,body.concept-a .hero .eyebrow{transition:opacity .23s ease,max-height .3s ease,margin .3s ease;max-height:170px}
@media(min-width:761px){
 body.concept-a.cf-drawer-open .hero{min-height:96px!important;height:auto;padding:14px clamp(18px,2.1vw,34px)!important;align-items:center!important;background-position:center 51%;}
 body.concept-a.cf-drawer-open .hero-content{width:100%;max-width:100%;}
 body.concept-a.cf-drawer-open .hero h1,body.concept-a.cf-drawer-open .hero p,body.concept-a.cf-drawer-open .hero .eyebrow{opacity:0;max-height:0;margin:0;overflow:hidden;visibility:hidden;pointer-events:none;}
 body.concept-a.cf-drawer-open .hero-search{width:100%;max-width:100%!important;min-height:46px!important;margin:0!important;}
 body.concept-a.cf-drawer-open .hero-signature,body.concept-a.cf-drawer-open .hero-corner-label{opacity:0!important;pointer-events:none;}
 body.concept-a.cf-drawer-open .sectionhead{margin-top:12px}
}
/* Player identity should be the focus, not the metadata table. */
.cf-drawer{background:linear-gradient(154deg,#122947 0%,#091c35 33%,#071426 100%)}
.cf-drawer-top{border-bottom-color:#2b496d}
.cf-drawer-scroll{padding-top:29px}
.cf-profile-intro-v18{grid-template-columns:112px minmax(0,1fr) auto;gap:18px;align-items:center}
.cf-profile-intro-v18 .cf-profile-avatar{width:112px;height:112px;border-radius:16px;box-shadow:0 12px 38px #03152d99;border:1px solid #477ab0}
.cf-profile-intro-v18 .cf-profile-person h2{font-size:clamp(27px,2.15vw,36px);line-height:1.1;letter-spacing:-1px;margin-bottom:11px}
.cf-profile-intro-v18 .cf-profile-meta{font-size:12.5px;line-height:1.5;gap:10px}
.cf-profile-intro-v18 .cf-profile-person>small{font-size:11px;line-height:1.45}
.cf-profile-intro-v18 .cf-profile-rating{padding-left:20px;gap:11px}
.cf-profile-intro-v18 .cf-profile-rating .cf-current-elo strong{font-size:clamp(26px,2vw,33px);line-height:1.05}
.cf-profile-intro-v18 .cf-profile-rating .cf-current-elo>span{font-size:11px}
.cf-profile-intro-v18 .cf-profile-rating .faceit-badge,.cf-profile-intro-v18 .cf-profile-rating .faceit-badge img{width:46px;height:46px;min-height:46px;min-width:46px}
.cf-profile-tags{margin:19px 0 11px;gap:7px}
.cf-profile-tags>span{background:rgba(27,57,91,.65);border:1px solid #325377;color:#d9ebff;font-size:11px}
.cf-role-chip{border-color:#3882bf!important}
/* The original Telegram topic is categorically not a live FACEIT rating. */
.cf-profile-topic{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 14px;background:rgba(7,19,38,.62);border:1px solid #2a4464;border-left:3px solid #4999ee;border-radius:8px;padding:10px 14px;margin:10px 0 17px}
.cf-profile-topic>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.cf-profile-topic span{font-size:10.5px;font-weight:750;color:#81b4e8;letter-spacing:.02em}
.cf-profile-topic strong{font-size:12px;font-weight:800;color:#f1f7ff}
.cf-profile-topic small{font-size:10px;color:#829ebb;line-height:1.45}
/* Wider but restrained prose and actions. */
.cf-profile-quote{padding:3px 0 0;margin-bottom:20px}
.cf-profile-quote p{font-size:14px;line-height:1.64;max-width:75ch}
.cf-profile-actions .btn{font-size:12px;min-height:42px;transition:transform .2s ease,border-color .2s ease,background-color .2s ease}
.cf-profile-section{margin-top:25px}
.cf-profile-section h3{font-size:16px}
.cf-detail-stat{background:linear-gradient(155deg,#102843,#0a1b30);border-color:#335274}
/* No list of 'not specified' values: show only available secondary facts, as compact tiles. */
.cf-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0;border:0;background:none;border-radius:0}
.cf-info-grid>div{display:flex;flex-direction:column;gap:6px;min-width:0;padding:13px 15px;background:rgba(13,35,60,.88);border:1px solid #284460;border-radius:9px}
.cf-info-grid>div:last-child{border:1px solid #284460}
.cf-info-grid span{font-size:11px;line-height:1.3;color:#90b1d5}
.cf-info-grid strong{font-size:13px;line-height:1.45;font-weight:700;color:#f2f7ff}
.cf-topic-origin{border-color:#32638c;color:#a7c6eb}
.cf-card-rating .cf-current-elo small{text-align:center}
@media(min-width:761px) and (max-width:1450px){
 .cf-profile-intro-v18{grid-template-columns:88px minmax(0,1fr) auto;gap:12px}
 .cf-profile-intro-v18 .cf-profile-avatar{height:88px;width:88px}
 .cf-profile-intro-v18 .cf-profile-person h2{font-size:25px}
 .cf-profile-intro-v18 .cf-profile-rating{padding-left:11px;gap:6px}
 .cf-profile-intro-v18 .cf-profile-rating .faceit-badge,.cf-profile-intro-v18 .cf-profile-rating .faceit-badge img{width:37px;height:37px;min-height:37px;min-width:37px}
 .cf-profile-intro-v18 .cf-profile-rating .cf-current-elo strong{font-size:24px}
}
@media(max-width:760px){
 .cf-profile-intro-v18{grid-template-columns:83px minmax(0,1fr);gap:13px}
 .cf-profile-intro-v18 .cf-profile-avatar{height:83px;width:83px}
 .cf-profile-intro-v18 .cf-profile-person h2{font-size:24px}
 .cf-profile-intro-v18 .cf-profile-rating{grid-column:1/-1;border-left:0;border-top:1px solid #28415c;padding:13px 0 0;justify-content:flex-start}
 .cf-profile-intro-v18 .cf-profile-rating .cf-current-elo{align-items:flex-start}
 .cf-profile-intro-v18 .cf-profile-rating .cf-current-elo>span{text-align:left}
 .cf-profile-intro-v18 .cf-profile-rating .cf-current-elo small{text-align:left}
 .cf-profile-topic{align-items:flex-start;flex-direction:column;gap:6px}
 .cf-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:405px){.cf-info-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.concept-a .hero,body.concept-a .hero h1,body.concept-a .hero p,body.concept-a .hero .eyebrow{transition:none!important}}
