.shooter-shell{position:relative;width:min(680px,100%);min-width:0}
.shooter-dialog>*{flex-shrink:0;min-width:0}
.shooter-profile,.shooter-profile *{box-sizing:border-box}
.profile-close{z-index:6}
.shooter-rankings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px}
.shooter-rankings>div{min-width:0}
.shooter-rankings>div:last-child:nth-child(odd){grid-column:1 / -1}
.shooter-rankings[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.shooter-rankings[data-count="3"]>div:last-child{grid-column:auto}
.shooter-rankings>div>span:last-child{flex-wrap:wrap}
.profile-section-title h2{margin:0;font:600 15px/1.4 'Unbounded',sans-serif;color:#C96322}
.shooter-profile{--profile-line:#E8E2D8;--profile-muted:#69727D;display:grid;gap:20px;color:#20242A;font-size:14px;line-height:1.5}
.profile-note{margin:6px 0 0;color:var(--profile-muted);font-size:12px;line-height:1.55}
.profile-controls{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:16px;padding:16px 18px;border:1px solid var(--profile-line);border-radius:16px;background:#F4F0E9}
.profile-field{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:600;color:#59616B}
.profile-field select,.profile-field input{width:100%;min-width:0;height:42px;border:1px solid #D8D2C8;border-radius:10px;background:#fff;padding:0 12px;color:#20242A;font:400 14px 'Golos Text',sans-serif}
.profile-field select:disabled{background:#ECE8E1;color:#69727D;border-color:#DED8CF;cursor:default;opacity:1}
.shooter-profile button:focus-visible,.profile-close:focus-visible,.profile-field input:focus-visible,.profile-field select:focus-visible,.profile-scroll:focus-visible{outline:3px solid #ED7D31;outline-offset:3px}
.profile-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:12px}
.profile-metric{display:flex;flex-direction:column;gap:7px;padding:18px 16px;border:1px solid var(--profile-line);border-radius:16px;background:#fff;min-width:0}
.profile-metric-label{color:#646C76;font-size:12px}
.profile-number{font:600 25px/1.25 'Unbounded',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.profile-metric small{color:#818892;font-size:11px;margin-top:auto}
.profile-overview .profile-metric:first-child{background:#FCF0E5;border-color:#EDC8A9}
.profile-overview .profile-metric:first-child .profile-number{color:#B25519}
.profile-panel{min-width:0;padding:20px;border:1px solid var(--profile-line);border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:16px}
.profile-panel h3{margin:0;font:600 14px/1.4 'Unbounded',sans-serif}
.profile-form-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-form-stats>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.profile-form-stats strong{font-size:19px;line-height:1.4;font-variant-numeric:tabular-nums}
.profile-form-stats span{color:var(--profile-muted);font-size:11px}
.profile-scroll{overflow-x:auto;overscroll-behavior-x:contain;min-width:0;max-width:100%}
.profile-chart{display:block;width:100%;height:auto}
.profile-chart text{font-family:'Golos Text',sans-serif;font-variant-numeric:tabular-nums}
.profile-chart-legend{display:flex;justify-content:space-between;gap:10px;color:var(--profile-muted);font-size:11px}
.profile-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1}
.profile-record{min-width:0;padding:14px;border:1px solid #ECE6DD;border-radius:13px;background:#FCFAF7;display:flex;flex-direction:column;gap:7px}
.profile-record strong{font:600 22px/1.3 'Unbounded',sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.profile-record span{color:#505A65;font-size:12px}
.profile-record small{color:#818892;font-size:11px;line-height:1.5;margin-top:auto}
.profile-empty{color:var(--profile-muted);border:1px dashed #DED8CF;border-radius:12px;background:#FCFAF7;padding:20px;margin:0;font-size:13px;line-height:1.65}
.profile-opponent{position:relative;max-width:100%}
.profile-opponent-options{position:absolute;z-index:5;top:100%;left:0;right:0;margin-top:6px;padding:6px;background:#fff;border:1px solid #DED8CF;box-shadow:0 12px 32px #25201a1a;border-radius:12px;max-height:260px;overflow:auto}
.profile-opponent-options button{display:block;width:100%;text-align:left;border:0;background:none;border-radius:7px;font:400 13px 'Golos Text',sans-serif;color:#20242A;padding:10px 12px;cursor:pointer}
.profile-opponent-options button:hover,.profile-opponent-options button[aria-selected=true]{background:#FCEDDF}
.profile-compare-heading{display:grid;grid-template-columns:1fr;gap:14px}
.profile-versus{display:grid;grid-template-columns:1fr 86px 1fr;gap:12px;align-items:stretch}
.profile-versus-person{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:20px 14px;background:#F8F5F0;border:1px solid var(--profile-line);border-radius:14px;text-align:center}
.profile-versus-person:first-child{background:#FFF4EA;border-color:#EED3BC}
.profile-versus-person b{font-weight:600;font-size:14px;min-height:42px;display:flex;align-items:center}
.profile-versus-person strong{font:600 33px/1.2 'Unbounded',sans-serif;font-variant-numeric:tabular-nums}
.profile-versus-person span,.profile-versus-ties{font-size:12px;color:var(--profile-muted)}
.profile-versus-ties{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:8px}
.profile-versus-ties strong{font-size:23px;color:#59616B}
.profile-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.45}
.profile-table th{padding:10px 12px;background:#F5F1EB;color:#737C87;font-weight:500;text-align:right;vertical-align:bottom}
.profile-table td{padding:12px;border-bottom:1px solid #F0EBE3;text-align:right;font-variant-numeric:tabular-nums}
.profile-table th:first-child,.profile-table td:first-child{text-align:left}
.profile-table td:first-child small{display:block;font-size:11px;color:#8A919B;margin-top:3px}
.profile-table .profile-better{color:#A14C18;font-weight:700;background:#FFF9F3}
.profile-table tr:last-child td{border-bottom:0}
.profile-detail summary{cursor:pointer;font-weight:600;color:#A95623;font-size:13px;margin-bottom:12px}
.profile-career{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-career>div{display:flex;flex-direction:column;gap:4px;text-align:center;padding:13px 8px;background:#F7F4EF;border-radius:12px;min-width:0}
.profile-career strong{font-size:23px;font-variant-numeric:tabular-nums}
.profile-career span{color:var(--profile-muted);font-size:11px}
.profile-cups{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.profile-cup{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#F7F4EF;border-radius:12px;font-size:13px}
.profile-cup strong{font:600 22px 'Unbounded',sans-serif}
@media(max-width:600px){
  .shooter-rankings,.shooter-rankings[data-count="3"]{grid-template-columns:minmax(0,1fr)}
  .shooter-dialog{padding:22px 18px!important}
  .shooter-identity{align-items:flex-start!important;gap:10px!important}
  .shooter-identity>span{width:42px!important;height:42px!important;font-size:15px!important}
  .shooter-identity b{overflow-wrap:anywhere}
  [data-profile-section=career]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-profile-section=career]>div:last-child{grid-column:1 / -1}
  .shooter-profile{gap:16px}
  .profile-panel{padding:16px}
  .profile-controls{gap:12px;padding:14px}
  .profile-field select,.profile-field input{font-size:16px;min-height:44px;padding:0 8px}
  .profile-form-stats strong{font-size:17px}
  .profile-metric{padding:14px}
  .profile-records{gap:10px}
  .profile-record{padding:12px}
  .profile-record strong{font-size:20px}
  .profile-versus{grid-template-columns:1fr 48px 1fr;gap:6px}
  .profile-versus-person{padding:14px 8px}
  .profile-versus-person b{font-size:12px;min-height:54px;overflow-wrap:anywhere}
  .profile-versus-person strong{font-size:25px}
  .profile-career{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-cup{flex-direction:column;align-items:flex-start}
  .profile-table{min-width:550px}
}
@media(max-width:380px){
  .profile-panel{padding:14px}
  .profile-controls{grid-template-columns:1fr}
  .profile-number{font-size:22px}
  .profile-records,.profile-overview{gap:8px}
  .profile-record,.profile-metric{padding:10px}
  .profile-versus-person{padding:14px 6px}
  .profile-versus-person b{font-size:11px}
  .profile-versus-ties{font-size:10px}
}
