/* al-tactic и единая страница заказа */
.tc-zones{margin-bottom:16px}
.tc-zones-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.tc-zones-cta h2{display:flex;align-items:center;gap:8px;margin:0 0 4px}
.tc-zone-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.tc-zone{padding:14px;border:1px solid color-mix(in srgb,var(--z) 45%,transparent);border-radius:16px;background:color-mix(in srgb,var(--z) 7%,transparent)}
.tc-zone h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;font-size:16px}
.tc-zone h3 i{width:10px;height:10px;border-radius:50%;background:var(--z)}
.tc-zone h3 small{width:100%;color:var(--muted);font-weight:600;font-size:12.5px}
.tc-zone-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.tc-zone-item p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.45}
.tc-zone-item .sc-link{margin-top:6px;padding:0}
.tc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:16px}
.tc-zone-scale{display:grid;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.tc-zone-scale li{display:flex;align-items:center;gap:10px}
.tc-zone-scale i{width:12px;height:12px;border-radius:50%;background:var(--z)}
.tc-zone-scale small{color:var(--muted)}
.tc-prices{display:grid;gap:8px;margin:12px 0 16px;padding:0;list-style:none}
.tc-prices li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
#tactic .sc-profile{margin-bottom:16px}
/* единая страница заказа */
.op-prod{padding:18px;border:1.5px solid var(--line-2);border-radius:20px;background:var(--panel);transition:border-color .2s}
.op-prod.is-on{border-color:rgba(39,200,230,.55)}
.op-prod>header{display:flex;gap:14px;align-items:flex-start;margin:0 0 14px}
.op-prod>header>.i{flex:none;width:44px;height:44px;padding:10px;border-radius:13px;background:rgba(39,200,230,.12);color:var(--cyan)}
.op-prod>header b{display:flex;align-items:baseline;gap:8px;font:800 18px/1.2 var(--head)}
.op-prod>header b small{color:var(--muted);font:600 13px var(--body)}
.op-prod>header p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.45}
.op-row{display:grid;gap:10px;margin-bottom:10px}
@media (min-width:700px){.op-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}.op-row-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:420px) and (max-width:699px){.op-row-4,.op-row-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
.op-opt{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:12px 14px;border:1px solid var(--line-2);border-radius:14px;background:var(--panel-2);cursor:pointer;transition:border-color .2s,background-color .2s}
.op-row .op-opt{grid-template-columns:22px minmax(0,1fr);align-content:start}
.op-row .op-opt em{grid-column:2}
.op-opt input{position:absolute;opacity:0;pointer-events:none}
.op-mark{display:grid;place-items:center;width:22px;height:22px;border:1.5px solid var(--line-2);border-radius:7px;color:transparent}
.op-opt input[type=radio]~.op-mark{border-radius:50%}
.op-mark .i{width:14px;height:14px}
.op-opt b{display:block;font:700 15px/1.25 var(--head)}
.op-opt small{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:1.35}
.op-opt em{font-style:normal;font:800 15px var(--head);white-space:nowrap}
.op-opt:hover{border-color:rgba(39,200,230,.5)}
.op-opt:has(input:checked){border-color:var(--cyan);background:var(--tint)}
.op-opt:has(input:checked) .op-mark{border-color:var(--cyan);background:var(--cyan);color:var(--on-c,#03202b)}
.op-opt:has(input:focus-visible){outline:2px solid var(--cyan);outline-offset:2px}
.op-opt.is-off{opacity:.55;cursor:not-allowed}
.op-wallet{margin:12px 0 0;font-size:14px;color:var(--muted)}
.op-wallet b{color:var(--text)}
.op-next{margin:0 0 12px;padding-left:20px;color:var(--muted);line-height:1.5}
.op-done .sc-order{border:0;padding:0;background:none}
.sc-hero h1:focus{outline:none}

/* Mobile portfolio follows the shared ALP disclosure and navigation system. */
.sc-report-match{margin:0 0 16px}
.sc-report-match label{display:grid;gap:6px;color:var(--muted);font-size:13px}
.sc-report-match select{width:100%;min-height:44px;border:1px solid var(--line-2);border-radius:12px;padding:10px 12px;background:var(--field);color:var(--text);font:inherit}
@media(max-width:640px){
  :is(#analytic,#scouting,#tactic,#nutrition,#personal) .sc-hero{margin:0 0 14px;padding:0;text-align:left;gap:12px;align-items:flex-start}
  :is(#analytic,#scouting,#tactic,#nutrition,#personal) .sc-hero>div:first-child{display:flex;gap:10px;align-items:center}
  :is(#analytic,#scouting,#tactic,#nutrition,#personal) .sc-hero-icon{width:40px;height:40px;margin:0;flex:none}
  :is(#analytic,#scouting,#tactic,#nutrition,#personal) .sc-hero h1{font-size:clamp(24px,6.8vw,28px);line-height:1.15}
  :is(#analytic,#scouting,#tactic,#nutrition,#personal) .sc-hero p{font-size:12px;margin-top:4px;line-height:1.45}
  :is(#analytic,#scouting,#tactic,#nutrition) .sc-hero .acts{margin:0;display:flex;gap:8px;width:100%}
  :is(#analytic,#scouting,#tactic,#nutrition) .sc-hero .acts .btn{min-height:44px;padding:10px 12px;font-size:14px;flex:1;justify-content:center}
  :is(#scApp,#tcApp)>.sc-profile{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;margin-bottom:12px;min-height:0}
  :is(#scApp,#tcApp) .sc-avatar{width:64px;height:70px;min-width:64px;border-radius:18px;font-size:22px}
  :is(#scApp,#tcApp) .sc-identity h2{font-size:19px}
  :is(#scApp,#tcApp) .sc-identity p{font-size:13px;margin-top:2px}
  :is(#scApp,#tcApp) .sc-identity .sc-eyebrow{font-size:10px;margin-bottom:2px}
  :is(#scApp,#tcApp) .sc-stats{gap:6px;padding-top:10px}
  :is(#scApp,#tcApp) .sc-stats>div{display:grid;grid-template-columns:1fr;justify-items:center;gap:2px;padding:6px 2px;background:var(--chip);border-radius:9px}
  :is(#scApp,#tcApp) .sc-stats b{font-size:20px}
  :is(#scApp,#tcApp) .sc-stats small{font-size:11px;color:var(--muted)}
  :is(#scApp,#tcApp) .sc-stats .i,#tcApp .sc-profile-pr{display:none}
  #tcApp .sc-tactics{gap:12px}
  #tcApp .sc-card{min-width:0;padding:16px}
  #tcApp .sc-section-head h2{font-size:18px}
  #tcApp .sc-report-top{gap:14px;margin:12px 0}
  #tcApp .sc-report-top h3{font-size:17px}
  #tcApp .sc-report-top .sc-ring{width:72px;height:72px;min-width:72px}
  #tcApp .sc-report-filters{grid-template-columns:1fr;gap:12px;padding:14px}
  #tcApp .sc-report-match{margin-top:12px}
  #tcApp .sc-report-filters label{min-width:0}
  #tcApp .sc-trend{padding:14px}
  #tcApp .tc-zone-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  #tcApp .tc-zone-grid .mobile-fold{margin:0}
  #tcApp .tc-zone{padding:14px}
  #tcApp .tc-zone>h3{display:none}
  #tcApp .tc-zone-item:first-of-type{border-top:0;padding-top:0}
  #tcApp .tc-zones .sc-section-head{flex-wrap:wrap;gap:6px}
  #tcApp .tc-zones .sc-label{font-size:11px;white-space:normal}
  #tcApp .sc-skill-table-head{font-size:11px}
  #tcApp .sc-score-badge{min-width:52px}
  #tcApp .sc-score-badge small{font-size:10px}
  #tcApp .sc-report-grid{grid-template-columns:minmax(0,1fr)}
  #tcApp .sc-skill-detail{min-width:0;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
  #tcApp .sc-legend{gap:6px}
  #tcApp .sc-legend>span{min-width:0}
  #tcApp .sc-lessons{padding:16px}
  #tcApp .sc-card .sc-section-head>a{min-height:44px;display:inline-flex;align-items:center}
  #scApp .sc-video-filters{padding:14px}
  #scApp .sc-library-search{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  #scApp .sc-library-search .sc-search{max-width:none;min-width:0}
  #scApp .sc-library-toolbar{flex-wrap:wrap;gap:10px}
  #scApp .sc-library-toolbar .sc-select{width:100%}
  #scApp #scLibrary .sc-section-head{flex-wrap:wrap;gap:10px}
  #scApp #scLibrary h2{display:flex;gap:8px;align-items:center;font-size:19px;flex-wrap:wrap}
  #scApp .sc-muted-count{font-size:14px}
  #scApp #scLibrary>.sc-section-head .btn{min-height:44px}
  #scApp .sc-public .sc-public-intro h2{font-size:28px}
  #scApp .sd-access-card,#scApp .sd-storage-card{padding:16px}
  #analytic .an-hero>div:first-child{justify-content:flex-start}
  #analytic .an-player{padding:14px;gap:12px;grid-template-columns:44px minmax(0,1fr);align-items:center}
  #analytic .an-ava{width:44px;height:44px;border-radius:13px;font-size:16px}
  #analytic .an-player .an-pl h2{font-size:18px;line-height:1.3}
  #analytic .an-player .an-pl p{font-size:12px}
  #analytic .an-player .an-pl small{display:none}
  #analytic .an-sum-g{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
  #analytic .an-sum-g>div{min-width:0}
  #analytic .an-ttd{table-layout:fixed;width:100%;min-width:0;font-size:11px}
  #analytic .an-ttd :is(th,td){padding:7px 3px;white-space:normal;overflow-wrap:anywhere;min-width:0}
  #analytic .an-ttd th:first-child{width:42%}
  #analytic .an-ttd thead th{font-size:10px;line-height:1.3}
  #analytic .an-flts{padding:14px;display:grid;grid-template-columns:1fr;gap:10px}
  #analytic .an-layout>.mobile-only{margin-bottom:0;min-height:44px}
  #analytic .an-aside{padding:0}
  #analytic .an-side{padding:12px;max-height:45dvh;overflow:auto}
  #analytic .an-side>.an-back{display:none}
  #analytic .an-layout .an-main{min-width:0}
  #analytic .an-form .mobile-fold>[data-mobile-fold]{padding:14px}
  #analytic .an-form .mobile-fold .an-grid{grid-template-columns:1fr}
  #analytic .an-repb{grid-template-columns:minmax(0,1fr);gap:10px}
  #analytic .an-repb .mobile-fold>[data-mobile-fold]{padding:12px}
  .mobile-fold[data-tone=red]{--fold-accent:#ed7f92;--fold-rgb:226,93,119}
  [data-theme=light] .mobile-fold[data-tone=red]{--fold-accent:#b53e55}
}

/* Each service is a page; ecosystem navigation belongs to the header tree. */
html[data-service] .logo>b,html[data-service] .top .nav,html[data-service=order] #mTabs,html[data-service] .tabbar,html[data-service] .dnav,html[data-service] .m-more{display:none!important}
html[data-service] .site-name{display:block}
html[data-service] .logo{margin-right:auto}
#analytic .an-hero .acts a[href="#tactic"]{display:none}
@media(max-width:640px){
  html[data-service=order]{--m-bot:0px}
  html[data-service=order] body{padding-bottom:env(safe-area-inset-bottom)}
  html[data-service=order]{--alp-feedback-mobile-bottom:calc(152px + env(safe-area-inset-bottom))}
  :is(#analytic,#scouting,#tactic)>.wrap{padding-top:14px}
  :is(#analytic,#scouting,#tactic,#nutrition,#personal) .sc-hero>div:first-child{flex-direction:row}
  #analytic .an-hero{align-items:stretch;text-align:left}
  #tcApp .sc-tactics>.sc-card:first-child{display:flex;flex-direction:column}
  #tcApp .sc-tactics>.sc-card:first-child>.sc-report-match{order:1}
  #tcApp .sc-tactics>.sc-card:first-child>.sc-report-top{order:2}
  #tcApp .sc-tactics>.sc-card:first-child>.mobile-fold:has(>.sc-report-filters){order:3}
  #tcApp .sc-tactics>.sc-card:first-child>.mobile-fold:has(>.sc-trend){order:4}
  #tcApp .mobile-fold:has(>.sc-report-filters)>summary{min-height:44px;padding:8px 12px}
  #tcApp .mobile-fold:has(>.sc-report-filters)>summary small{display:none}
  #tcApp .mobile-fold:has(>.sc-report-filters) .mobile-fold-icon{width:28px;height:28px;border-radius:9px}
  #tcApp .mobile-fold:has(>.sc-report-filters) .mobile-fold-icon svg{width:18px;height:18px}
}
@media(max-width:640px){
  html[data-service] .logo .site-name{min-width:0;flex:1;max-width:100%}
  /* шкала оценок - пять равных ячеек в один ряд, без пустого места */
  #tcApp .sc-legend{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
  #tcApp .sc-legend>span{gap:3px;min-width:0;padding:8px 2px;border-radius:10px}
  #tcApp .sc-legend b{font-size:12.5px}
  #tcApp .sc-legend small{font-size:10px;line-height:1.25}
  #tcApp .sc-phase-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  #tcApp .sc-phase-tabs button{justify-content:center;min-width:0;padding-inline:4px}
}
@media(max-width:360px){
  html[data-service] .site-name b{font-size:14px;letter-spacing:.02em}
  html[data-service] .site-name small{font-size:8px}
}
#scouting :is(.sc-overview-tactics,.sc-priorities){display:none!important}
#scouting .sc-profile-pr{display:none}
#scouting .sc-next{grid-column:1/-1}
@media(max-width:640px){
  #analytic .an-tabs button{min-width:0;white-space:normal;display:flex;flex-wrap:wrap;justify-content:center;gap:4px;font-size:13px;line-height:1.3}
  #analytic .an-tabs button small{flex:none;min-width:16px}
}
.an-history-actions{display:flex;justify-content:flex-end;margin-top:14px}
.an-history-actions .btn{min-height:44px}
@media(max-width:640px){.an-history-actions .btn{width:100%;justify-content:center}}
@media(min-width:641px){#analytic .an-layout>.mobile-only{display:none!important}}

/* Public service pages use a single heading, action and service summary. */
.tc-public .tc-cols{margin:0}
.sc-panel>.sc-card+.tc-public{margin-top:16px}
@media (max-width:640px){.sc-panel>.sc-card+.tc-public{margin-top:10px}}
.tc-public .tc-prices{margin-bottom:0}
@media(max-width:640px){
  #scouting .wrap:has(.sc-public)>.sc-hero{display:none}
  #scApp .sc-public{gap:10px}
  .sc-public>:is(.sc-public-intro,.sc-public-products){display:none}
  .sc-public>.mobile-fold,.tc-public .tc-cols>.mobile-fold{margin:0}
  :is(.sc-public,.tc-public) .mobile-fold>.sc-card{padding:14px}
  :is(.sc-public,.tc-public) .mobile-fold>.sc-card>h2{display:none}
  .sc-public .sc-public-steps{margin:0}
  .tc-public .tc-cols{grid-template-columns:minmax(0,1fr);gap:10px}
  .tc-public .tc-prices{gap:6px}
  .tc-public .tc-prices li{padding:8px 10px}
  .tc-public .tc-prices li span{min-width:0;overflow-wrap:anywhere}
  .tc-public .tc-prices li b{white-space:nowrap}
  .sc-guest-order{margin:0 0 10px;font-size:13px}
}

/* заказ разбора - полноэкранный мастер (.wz), как анкета питания */
.op-step{display:flex;flex-direction:column;gap:14px}
.op-step>.wz-h{align-self:stretch;margin-bottom:clamp(2px,1.5vh,14px)}
.op-step>.wz-foot{margin-top:6px}
.op-step .op-prod{background:linear-gradient(180deg,var(--panel-2),var(--panel))}
.op-step .op-row-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.op-step .op-row-4 .op-opt{grid-template-columns:22px minmax(0,1fr) auto;align-content:center}.op-step .op-row-4 .op-opt em{grid-column:3;grid-row:1}
.op-step .op-prod>.op-opt:last-child,.op-step .op-row:last-child{margin-bottom:0}
.op-wsum{gap:10px}
.op-wsum .sc-order-lines{margin:0}
.op-wsum .op-wallet{margin:0}
.op-wsum .sc-caption{margin:0}
.op-empty{margin:0;color:var(--muted);font-size:14px}
.op-after h3{margin:0;font:800 17px var(--head)}
.op-after .op-next{margin:0}
.op-after .btn{justify-self:start}
.op-step>.sc-error{margin:0}
@media (max-width:640px){
  .op-step{gap:12px}
  .op-step .op-prod{padding:14px;min-width:0}
  .op-step .op-prod>header{gap:12px;margin-bottom:12px}
  .op-step .op-prod>header>.i{width:36px;height:36px;padding:8px}
  .op-step .op-prod>header b{font-size:16px}
  .op-step .op-prod>header p{font-size:13px}
  .op-step .op-row-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .op-step .op-row-3{grid-template-columns:1fr;gap:8px}
  .op-step .op-opt{padding:12px;gap:4px 8px;min-height:56px}
  .op-step .op-opt b{font-size:14px}
  .op-step .op-opt small{font-size:12px;line-height:1.4}
  .op-step .op-opt em{font-size:14px}
  .op-step .op-row-4 .op-opt{grid-template-columns:20px minmax(0,1fr);align-content:start}
  .op-step .op-row-4 .op-opt em{grid-column:2;grid-row:auto}
  .op-step .op-done .sc-order-timeline{font-size:12px}
  .op-step .op-done .sc-order-actions{flex-wrap:wrap}
  .op-step .op-done .sc-order-actions .btn{min-height:44px}
  .op-step .sc-form-fields{grid-template-columns:minmax(0,1fr) 96px;gap:14px 10px}
  .op-step .sc-jersey{white-space:nowrap}
}

/* карточка игрока внутри разделов: старая сетка блока не мешает */
.pc.sc-profile,:is(#scApp,#tcApp)>.pc.sc-profile{display:block;padding:0;gap:0;min-height:0}
.pc.sc-profile .sc-stats{margin-top:8px;max-width:560px}
.pc.sc-profile::before{left:auto;width:min(48%,620px);opacity:.6;background-position:right -48px center;background-size:auto 128%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40%);mask-image:linear-gradient(90deg,transparent,#000 40%)}
@media (max-width:640px){#tcApp .pc-side:has(>.sc-profile-pr){display:none}}
@media (max-width:640px){.pc.sc-profile::before{left:0;top:auto;width:auto;height:26%;background-position:center bottom -36px;background-size:118% auto;-webkit-mask-image:linear-gradient(180deg,transparent,#000 50%);mask-image:linear-gradient(180deg,transparent,#000 50%)}}
#analytic .pc.an-player,.pc.an-player{display:block;padding:0}
.pc.an-player .an-kp{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pc.an-player .an-kp>div{grid-template-columns:auto minmax(0,1fr);gap:2px 7px;padding:9px 11px}
.pc.an-player .an-kp :is(.i,.an-card-ic){grid-row:auto;width:16px;height:16px}
.pc.an-player .an-kp dd{font-size:20px}
.pc.an-player .an-kp dt{grid-column:1/-1;font-size:12px}
.pc.an-player .an-kp{margin-top:4px}
