/* Original Footy loading presentation. Artwork is captured from this game. */
#loading-overlay{z-index:1000;display:block;overflow:hidden;background:#0c1c20;color:#fff;font-family:Inter,system-ui,sans-serif;isolation:isolate}
.footy-loading-art,.footy-loading-shade{position:absolute;inset:0;pointer-events:none}
.footy-loading-art{overflow:hidden;background:#173438}
.footy-loading-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:footy-postcard 30s linear infinite;will-change:transform,opacity}
.footy-loading-art img:first-child{opacity:1;animation-delay:-1s}
.footy-loading-art img:nth-child(2){animation-delay:9s}
.footy-loading-art img:nth-child(3){animation-delay:19s}
.footy-loading-shade{background:linear-gradient(0deg,#071214 0%,#071214d9 18%,#07121424 67%,#0712148c 100%),linear-gradient(90deg,#071214b8,transparent 75%)}
.footy-loading-head{position:absolute;top:max(28px,env(safe-area-inset-top));left:max(36px,env(safe-area-inset-left));right:max(36px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:24px}
.footy-loading-head a{display:inline-flex;align-items:center;min-height:44px;color:#fff;font-size:12px;text-decoration:none;border-bottom:1px solid #ffffff50}
.footy-loading-head img{width:110px;height:auto;object-fit:contain}
.footy-loading-title{position:absolute;left:7%;top:26%;margin:0;font-size:clamp(68px,12vw,174px);font-weight:800;line-height:.86;letter-spacing:-.075em;text-shadow:0 3px 30px #0003}
.footy-loading-title span{display:block;margin-top:24px;font-size:clamp(12px,1.3vw,18px);font-weight:600;letter-spacing:.24em;line-height:1.6}
.footy-loading-bottom{position:absolute;left:7%;right:7%;bottom:max(36px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,380px);gap:64px;align-items:end}
.footy-loading-eyebrow{margin:0 0 12px;color:#f4d377;font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
#loading-title{margin:0;font-size:22px;font-weight:650;letter-spacing:-.035em;line-height:1.25}
.footy-loading-meter{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 8px;font-size:11px;color:#d6dedc;font-variant-numeric:tabular-nums}
#loading-overlay .loader-track{width:100%;max-width:420px;height:3px;margin:12px 0;background:#ffffff36;border-radius:0}
#loading-overlay .loader-fill{border-radius:0;background:#f4d377}
.footy-loading-meta{font-size:11px;color:#d6dedc;margin:9px 0;line-height:1.5;min-height:17px}
.footy-loading-details{max-width:420px;font-size:11px;color:#c7d3d1}
.footy-loading-details summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;gap:6px}
.footy-loading-details summary::after{content:'+';margin-left:5px}
.footy-loading-details[open] summary::after{content:'−'}
#loading-overlay #loading-status{font-size:11px;color:#d6dedc;line-height:1.5;margin:0;overflow-wrap:anywhere}
.footy-loading-tip{border-top:1px solid #ffffff5c;padding-top:16px;min-height:155px}
#loading-tip-title{font-size:19px;line-height:1.3;font-weight:650;margin:0 0 8px;letter-spacing:-.025em}
#loading-tip-copy{font-size:13px;line-height:1.65;color:#d6dedc;margin:0;max-width:360px;min-height:44px}
.footy-loading-tip-controls{display:flex;align-items:center;gap:8px;margin-top:8px}
.footy-loading-tip-controls button,#loading-retry{min-width:44px;min-height:44px;border:1px solid #ffffff50;border-radius:0;background:transparent;color:#fff;font:inherit;font-size:12px;cursor:pointer}
.footy-loading-tip-controls button{padding:8px 12px}
#loading-tip-count{margin-left:auto;color:#d6dedc;font-size:11px;font-variant-numeric:tabular-nums}
#loading-overlay button:focus-visible,#loading-overlay a:focus-visible,#loading-overlay summary:focus-visible{outline:2px solid #f4d377;outline-offset:4px}
#loading-retry{padding:8px 16px;margin-top:12px}
#loading-retry[hidden]{display:none}
.footy-loading-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#loading-overlay.hidden .footy-loading-art img{animation-play-state:paused;will-change:auto}
@keyframes footy-postcard{0%,28%{opacity:1;transform:scale(1.04) translateX(-.6%)}33%,94%{opacity:0;transform:scale(1.12) translateX(.6%)}100%{opacity:1;transform:scale(1.04) translateX(-.6%)}}
@media(max-width:640px){.footy-loading-head{left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top))}.footy-loading-head img{width:88px}.footy-loading-title{left:24px;top:24%;font-size:92px}.footy-loading-title span{font-size:11px;letter-spacing:.18em;margin-top:18px}.footy-loading-bottom{left:24px;right:24px;bottom:max(20px,env(safe-area-inset-bottom));grid-template-columns:1fr;gap:16px}.footy-loading-tip{min-height:0;padding-top:12px}.footy-loading-tip .footy-loading-eyebrow{display:none}#loading-tip-title{font-size:16px;margin-bottom:4px}#loading-tip-copy{font-size:12px;min-height:36px}.footy-loading-tip-controls{margin-top:3px}.footy-loading-tip-controls button{border-color:transparent;padding:4px 8px}#loading-title{font-size:19px}.footy-loading-eyebrow{margin-bottom:8px}.footy-loading-meta{margin:6px 0}.footy-loading-details summary{min-height:36px}}
@media(max-height:500px){.footy-loading-head{top:max(10px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right))}.footy-loading-title{top:23%;left:5%;font-size:72px}.footy-loading-title span{font-size:10px;margin-top:12px}.footy-loading-bottom{left:5%;right:5%;bottom:max(12px,env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;gap:36px}.footy-loading-tip{min-height:0;padding-top:10px}.footy-loading-tip .footy-loading-eyebrow,.footy-loading-bottom>.footy-loading-progress>.footy-loading-eyebrow{display:none}#loading-title{font-size:17px}#loading-tip-title{font-size:16px}#loading-tip-copy{font-size:12px;min-height:0}.footy-loading-tip-controls{margin-top:2px}.footy-loading-meta{margin:4px 0}.footy-loading-details summary{min-height:30px}.footy-loading-tip-controls button{min-height:36px}.footy-loading-head img{width:88px}}
@media(prefers-reduced-motion:reduce){.footy-loading-art img{animation:none;will-change:auto}.footy-loading-art img:first-child{opacity:1}.loader-track.is-indeterminate .loader-fill{animation:none;transform:scaleX(1);width:100%;opacity:.65}#loading-overlay{transition:none}}
@media(max-height:360px){.footy-loading-title{font-size:48px;top:64px}.footy-loading-title span{display:none}.footy-loading-bottom{gap:20px}.footy-loading-details[open]{max-height:84px;overflow:auto}#loading-tip-title{font-size:14px}#loading-tip-copy{font-size:11px}}
@media(pointer:coarse){.footy-loading-tip-controls button,.footy-loading-details summary{min-height:44px}}
@media(max-width:640px) and (max-height:650px){.footy-loading-title{font-size:64px;top:17%}.footy-loading-title span{font-size:9px;margin-top:12px}.footy-loading-bottom{gap:10px}.footy-loading-progress>.footy-loading-eyebrow{display:none}#loading-tip-title{font-size:14px}}
@media(max-height:500px){#loading-overlay:has(.footy-loading-details[open]) .footy-loading-title{display:none}.footy-loading-details[open]{max-height:84px;overflow:auto}}
