/* V170 — responsive, real-source loading state. Motion never completes the request. */
body.public-app #analysisLoadingPanel{padding:0!important;margin:18px 0 30px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;max-width:none!important;min-height:0!important;color:#173b51}
#analysisLoadingPanel .loading-stadium{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2.6fr) minmax(110px,1fr);gap:8px 24px;align-items:center;position:relative;overflow:hidden;padding:28px 38px 24px;border:1px solid #dce9ee;border-radius:20px;background:linear-gradient(90deg,#c1f1db9c,#ffffffe8 44%,#ffffffe3 56%,#c1dffd8f),url('/assets/home-stadium-v168.png') center/cover}
#analysisLoadingPanel .loading-center{text-align:center;min-width:0;position:relative}
#analysisLoadingPanel .loading-title{margin:16px 0 6px;font-size:clamp(19px,2.2vw,27px);font-weight:750;line-height:1.25;color:#102f46;letter-spacing:-.025em}
#analysisLoadingPanel #loadingMatchName{font-size:clamp(17px,1.7vw,22px)!important;font-weight:700!important;line-height:1.35!important;margin:0 0 8px!important;color:#078d74!important}
#analysisLoadingPanel .loading-subtitle{font-size:14px;line-height:1.6;margin:0;color:#536f83}
#analysisLoadingPanel .loading-match-meta{font-size:13px;line-height:1.5;margin:10px 0 0;color:#536f83}
#analysisLoadingPanel .loading-team{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:13px;min-width:0;position:relative}
#analysisLoadingPanel .loading-team img{width:90px;height:90px;object-fit:contain;filter:drop-shadow(0 5px 7px #12384a15)}
#analysisLoadingPanel .loading-team strong{font-size:18px;line-height:1.3;overflow-wrap:anywhere;color:#153a51}
#analysisLoadingPanel .loading-radar{position:relative;display:grid;place-items:center;width:126px;height:126px;margin:0 auto;isolation:isolate}
#analysisLoadingPanel .loading-brand-logo{display:block;width:62px;height:62px;object-fit:contain;border-radius:15px;box-shadow:0 0 25px #38b9a938;z-index:1}
#analysisLoadingPanel .loading-radar-ring{position:absolute;inset:12px;border:1px solid #4cabd744;border-radius:50%}
#analysisLoadingPanel .ring-one{border-top:2px solid #40bfb9;animation:fmm-radar 5s linear infinite}
#analysisLoadingPanel .ring-two{inset:0;border-left:2px solid #54b9f27a;animation:fmm-radar 9s linear reverse infinite}
#analysisLoadingPanel .ring-three{inset:-14px;border-color:#55c7c71a;animation:fmm-radar 13s linear infinite}
#analysisLoadingPanel .loading-radar-ring::after{content:'';position:absolute;left:11%;top:11%;width:6px;height:6px;border-radius:50%;background:#27ca9c;box-shadow:0 0 9px #27ca9c88}
#analysisLoadingPanel .ring-two::after{background:#41a6e2;width:5px;height:5px}
#analysisLoadingPanel .ring-three::after{opacity:.4}
#analysisLoadingPanel .loading-progress-area{grid-column:1/-1;width:min(780px,100%);justify-self:center;margin-top:8px;text-align:center}
#analysisLoadingPanel #analysisProgress{height:12px!important;margin:10px 0 9px!important;border:1px solid #ffffffbf;background:#cfdeef!important;border-radius:20px;overflow:hidden;position:relative}
#analysisLoadingPanel .modern-loading-track{height:100%!important;background:linear-gradient(90deg,#d3ebdf,#d8e6fb)!important}
#analysisLoadingPanel #analysisProgressFill{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:inherit;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#10cb72,#079fac 55%,#497eee)!important;animation:none!important;transition:transform .55s ease!important;box-shadow:none!important}
#analysisLoadingPanel .modern-loading-glow{position:absolute!important;inset:0 auto 0 -25%!important;width:25%!important;height:100%!important;border-radius:inherit;background:linear-gradient(90deg,transparent,#ffffffc9,transparent)!important;filter:none!important;animation:fmm-progress-halo 2.4s linear infinite!important;pointer-events:none}
#analysisLoadingPanel .loading-progress-meta{display:flex;justify-content:space-between;gap:10px;text-align:left;font-size:12px;line-height:1.5;color:#4f6c81}
#analysisLoadingPanel #loadingEstimate{text-align:right}
#analysisLoadingPanel #analysisProgressText{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;white-space:normal!important;margin:12px 0!important;font-size:14px!important;line-height:1.5!important;min-height:21px;color:#315a72}
#analysisLoadingPanel .loading-cancel-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}
#analysisLoadingPanel #loadingElapsed{font-size:12px;color:#56778b}
#analysisLoadingPanel #cancelAnalysis{min-height:42px!important;padding:10px 16px!important;border:1px solid #71bfae!important;border-radius:10px!important;background:#ffffffd9!important;color:#087d80!important;font-size:14px!important;font-weight:650;cursor:pointer}
#analysisLoadingPanel .loading-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;list-style:none;margin:18px 0;padding:0}
#analysisLoadingPanel .loading-step{display:flex;align-items:center;gap:10px;min-width:0;padding:15px 12px;border:1px solid #dbe6ee;border-radius:13px;background:#fff;color:#6d8093}
#analysisLoadingPanel .loading-step>div{min-width:0}
#analysisLoadingPanel .loading-step strong{display:block;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#analysisLoadingPanel .loading-step small{display:block;margin-top:4px;font-size:12px;line-height:1.45}
#analysisLoadingPanel .loading-step-icon{display:flex;align-items:center;justify-content:center;gap:3px;width:31px;height:31px;flex:0 0 31px;border-radius:50%;background:#edf1f6;color:#728699;font-size:16px}
#analysisLoadingPanel .loading-step.is-done{color:#1b5c46;border-color:#cce9d9}
#analysisLoadingPanel .loading-step.is-done .loading-step-icon{background:#0cbf69;color:white}
#analysisLoadingPanel .loading-step.is-pending{color:#1757a4;border-color:#84b9f3;box-shadow:0 2px 10px #1978dd09}
#analysisLoadingPanel .loading-step.is-pending .loading-step-icon{background:#edf5ff}
#analysisLoadingPanel .loading-step-icon i{width:4px;height:4px;background:#2286ef;border-radius:50%;animation:fmm-source-pulse 1.3s ease-in-out infinite}
#analysisLoadingPanel .loading-step-icon i:nth-child(2){animation-delay:.18s}
#analysisLoadingPanel .loading-step-icon i:nth-child(3){animation-delay:.36s}
#analysisLoadingPanel .loading-step.is-unavailable{color:#895b0d;border-color:#efd49b}
#analysisLoadingPanel .loading-step.is-unavailable .loading-step-icon{background:#fff0cd;color:#90640c;font-weight:800}
#analysisLoadingPanel .loading-info-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;gap:18px}
#analysisLoadingPanel .loading-detected-card,#analysisLoadingPanel .loading-help-card,#analysisLoadingPanel .loading-next{padding:22px;border:1px solid #e0e8ee;border-radius:16px;background:white;min-width:0}
#analysisLoadingPanel h3{font-size:16px;line-height:1.4;margin:0 0 10px;color:#173b51}
#analysisLoadingPanel #loadingDetectedHeading{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#analysisLoadingPanel #loadingDetectedHeading>span{font-size:12px;font-weight:500;padding:4px 8px;border-radius:7px;background:#eef4f8;color:#486b82}
#analysisLoadingPanel #loadingDetectedStatus{font-size:13px;line-height:1.5;color:#62788a;margin:0 0 12px}
#analysisLoadingPanel .loading-detected{list-style:none;padding:0;margin:0;min-height:186px}
#analysisLoadingPanel .loading-detected-row,#analysisLoadingPanel .loading-skeleton-row{display:grid;grid-template-columns:minmax(70px,.6fr) minmax(0,1.5fr) auto;align-items:center;gap:14px;min-height:62px;padding:12px 0;border-bottom:1px solid #edf1f5;animation:fmm-row-in .4s ease both}
#analysisLoadingPanel .loading-detected-row:last-child,#analysisLoadingPanel .loading-skeleton-row:last-child{border:0}
#analysisLoadingPanel .loading-detected-row{background:linear-gradient(110deg,transparent 25%,#e6f6f266 45%,transparent 65%);background-size:240% 100%;animation:fmm-row-in .4s ease both,fmm-detected-shine 1.5s ease-out both}
#analysisLoadingPanel .loading-detected-row strong{display:block;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
#analysisLoadingPanel .loading-detected-row small{display:block;font-size:12px;line-height:1.5;color:#728398;margin-top:4px}
#analysisLoadingPanel .loading-detected-country{font-size:13px;overflow-wrap:anywhere;color:#486a83}
#analysisLoadingPanel .loading-provisional-badge{padding:5px 8px;font-size:12px;color:#86610d;background:#fff7df;border-radius:15px}
#analysisLoadingPanel .loading-skeleton-row span,#analysisLoadingPanel .loading-skeleton-row i,#analysisLoadingPanel .loading-skeleton-row b{display:block;height:13px;max-width:100%;border-radius:5px;background:linear-gradient(100deg,#e2e8ed 25%,#f5f8fa 45%,#e2e8ed 65%);background-size:240% 100%;animation:fmm-shimmer 2s linear infinite}
#analysisLoadingPanel .loading-skeleton-row span{width:48px;height:23px}
#analysisLoadingPanel .loading-skeleton-row i{width:72%}
#analysisLoadingPanel .loading-skeleton-row i+i{width:48%;height:9px;margin-top:8px}
#analysisLoadingPanel .loading-skeleton-row b{width:70px;height:25px;border-radius:14px}
#analysisLoadingPanel .loading-footnote{font-size:12px;line-height:1.55;color:#687e8f;margin:12px 0 0}
#analysisLoadingPanel .loading-help-stack{display:grid;gap:14px}
#analysisLoadingPanel .loading-help-card ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}
#analysisLoadingPanel .loading-help-card li{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5;color:#45647c}
#analysisLoadingPanel .loading-help-card li>span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#edf5ff;color:#3685d9;font-size:17px}
#analysisLoadingPanel .loading-help-card li:last-child>span{background:#fff0e7;color:#ab6b25}
#analysisLoadingPanel .loading-tip{display:flex;gap:14px;padding:20px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(115deg,#dff6ee,#edf2ff);align-items:flex-start}
#analysisLoadingPanel .loading-tip-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;background:linear-gradient(140deg,#0cb687,#238acf);color:white;border-radius:50%;font-size:22px;font-family:Georgia,serif;font-style:italic}
#analysisLoadingPanel .loading-tip h3{font-size:14px;margin:0 0 5px}
#analysisLoadingPanel .loading-tip p{font-size:14px;line-height:1.6;margin:0;color:#41617b}
#analysisLoadingPanel .loading-next{margin-top:18px}
#analysisLoadingPanel .loading-next-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}
#analysisLoadingPanel .loading-next-head h3{margin:0}
#analysisLoadingPanel #loadingBackToProgram{min-height:40px;padding:8px 12px;border:1px solid #c4dce7;background:white;color:#107c8e;font:inherit;font-size:13px;border-radius:9px;cursor:pointer}
#analysisLoadingPanel .loading-upcoming{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#analysisLoadingPanel .loading-next-match{text-align:left;padding:13px 15px;border:1px solid #e0e8ee;border-radius:10px;background:#fbfdff;color:#234760;font:inherit;cursor:pointer;min-width:0;min-height:64px}
#analysisLoadingPanel .loading-next-match:hover{border-color:#68b7b8;background:#f2faf7}
#analysisLoadingPanel .loading-next-match>span{display:block;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
#analysisLoadingPanel .loading-next-match small{display:block;font-size:12px;color:#667e94;line-height:1.5;margin-top:4px}
#analysisLoadingPanel .loading-empty{grid-column:1/-1;font-size:14px;line-height:1.5;color:#6a8092;margin:0}
#analysisLoadingPanel button:focus-visible{outline:3px solid #168f9a;outline-offset:3px}
body.public-app.has-result #result{animation:fmm-result-in .35s ease both}
/* Circled controls: restore one aligned header, inset from the panel edges. */
body.public-app #weekendHighlights .weekend-main{padding:22px!important}
body.public-app #weekendHighlights .weekend-head{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;gap:12px!important;margin:0 0 20px!important;padding:0!important;min-height:44px}
body.public-app #weekendHighlights #weekendTitle{margin:0!important;max-width:100%;min-width:0;font-size:clamp(20px,2vw,26px)!important;line-height:1.3!important;font-weight:750!important;letter-spacing:-.025em!important;text-shadow:none!important;-webkit-text-stroke:0!important;color:#15394e}
body.public-app #weekendHighlights #weekendPause{position:static!important;transform:none!important;align-self:center!important;display:inline-flex;align-items:center;justify-content:center;gap:7px!important;min-height:42px!important;margin:0!important;padding:9px 13px!important;font:inherit;font-size:14px!important;line-height:1.4!important;white-space:nowrap;box-shadow:none!important}
@keyframes fmm-radar{to{transform:rotate(360deg)}}
@keyframes fmm-progress-halo{to{transform:translateX(500%)}}
@keyframes fmm-source-pulse{0%,80%,100%{opacity:.3;transform:scale(.85)}40%{opacity:1;transform:scale(1.2)}}
@keyframes fmm-shimmer{to{background-position:-240% 0}}
@keyframes fmm-detected-shine{from{background-position:240% 0}to{background-position:-140% 0}}
@keyframes fmm-row-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes fmm-result-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){
  #analysisLoadingPanel .loading-stadium{padding:24px 22px;gap:10px 18px;grid-template-columns:minmax(80px,1fr) minmax(0,3fr) minmax(80px,1fr)}
  #analysisLoadingPanel .loading-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  #analysisLoadingPanel .loading-info-grid{grid-template-columns:minmax(0,1fr)}
  #analysisLoadingPanel .loading-help-stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media(max-width:640px){
  #analysisLoadingPanel .loading-stadium{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:20px 16px;gap:16px}
  #analysisLoadingPanel .loading-center{grid-column:1/-1;grid-row:1}
  #analysisLoadingPanel .loading-team{grid-row:2;gap:8px}
  #analysisLoadingPanel .loading-team img{width:55px;height:55px}
  #analysisLoadingPanel .loading-team strong{font-size:14px}
  #analysisLoadingPanel .loading-progress-area{margin:0}
  #analysisLoadingPanel .loading-radar{width:96px;height:96px}
  #analysisLoadingPanel .loading-brand-logo{width:52px;height:52px}
  #analysisLoadingPanel .ring-three{inset:-8px}
  #analysisLoadingPanel .loading-progress-meta{flex-direction:column;align-items:center;gap:4px;text-align:center}
  #analysisLoadingPanel #loadingEstimate{text-align:center}
  #analysisLoadingPanel .loading-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
  #analysisLoadingPanel .loading-step{padding:12px 9px;gap:8px;align-items:flex-start}
  #analysisLoadingPanel .loading-step:last-child{grid-column:1/-1}
  #analysisLoadingPanel .loading-step-icon{width:26px;height:26px;flex-basis:26px}
  #analysisLoadingPanel .loading-help-stack,#analysisLoadingPanel .loading-upcoming{grid-template-columns:minmax(0,1fr)}
  #analysisLoadingPanel .loading-detected-card,#analysisLoadingPanel .loading-help-card,#analysisLoadingPanel .loading-next{padding:17px}
  #analysisLoadingPanel .loading-detected-row{grid-template-columns:minmax(50px,.7fr) minmax(0,1.5fr);gap:9px}
  #analysisLoadingPanel .loading-provisional-badge{grid-column:2;justify-self:start}
  body.public-app #weekendHighlights .weekend-main{padding:18px 14px!important}
  body.public-app #weekendHighlights .weekend-head{gap:10px!important}
  body.public-app #weekendHighlights #weekendTitle{flex:1 1 190px}
  body.public-app #weekendHighlights #weekendPause{min-height:44px!important;margin-left:auto!important}
}
@media(prefers-reduced-motion:reduce){
  #analysisLoadingPanel *,#analysisLoadingPanel *::before,#analysisLoadingPanel *::after,body.public-app.has-result #result{animation:none!important;transition:none!important}
  #analysisLoadingPanel .modern-loading-glow,#analysisLoadingPanel #analysisProgressFill{animation:none!important;transition:none!important}
}
