/* Shared result, choice and input language. Restored RC62 light/net vocabulary. */
:root{--oms-ink:#eef7f0;--oms-pitch:#173f37;--oms-light:#bce9d4}
.renewalResult{background:radial-gradient(ellipse at 50% 43%,#215a47,#03121eed 78%);overflow:hidden;isolation:isolate}
.renewalResult .goalCutinInner{height:94svh!important;width:min(96vw,640px)!important;max-height:94svh!important;box-sizing:border-box;display:grid!important;grid-template-rows:28px minmax(0,1fr) auto 24px 22px 26px 24px;gap:6px;padding:calc(env(safe-area-inset-top,0px) + 16px) 14px calc(env(safe-area-inset-bottom,0px) + 12px)!important;overflow:hidden;border:1px solid var(--accent);background:linear-gradient(145deg,#183d37,#071d28)!important;border-radius:18px;text-align:center;animation:none!important}
.renewalResult .footballCinema.omsRecovered{display:block!important;position:relative;height:100%!important;max-height:none!important;min-height:0;overflow:visible!important;grid-row:2;grid-column:1}
.renewalResult .omsMotionPitch{display:block;width:100%;height:100%!important;max-height:none!important;max-width:none;aspect-ratio:auto;border:0;box-shadow:none;margin:0;border-radius:0}
.renewalResult .playLead{grid-row:1;font-size:13px;line-height:1.4;margin:0;color:#e5f4e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.renewalResult .goalWord{grid-row:3;font-size:clamp(38px,13vw,82px)!important;line-height:1.1;margin:0;min-height:1.1em;font-weight:900;font-style:italic;letter-spacing:-.035em;color:var(--oms-ink);text-shadow:0 0 35px #b5e8d488;animation:none!important}
.renewalResult .goalScorer{grid-row:4;font-size:16px;margin:0;line-height:24px}.renewalResult #highlightCaption{grid-row:5;font-size:11px;margin:0;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.renewalResult .goalScore{grid-row:6;font-size:22px;line-height:26px;margin:0}.renewalResult #highlightNext{grid-row:7;font-size:11px;margin:0;line-height:24px;color:#d6e9e3}
.renewalResult #highlightGrowth,.renewalResult #assistCredit,.renewalResult .impactStage,.renewalResult .superSpectacle,.renewalResult .specialSpectacle,.renewalResult .passConnection,.renewalResult .cutinRibbon,.renewalResult .goalAura~.impactStreaks{display:none!important}
.renewalResult[data-result-phase="motion"] .goalWord,.renewalResult[data-result-phase="motion"] #highlightCaption{visibility:hidden}
.renewalResult .omsSkillRail{position:absolute;top:0;left:0;right:0;z-index:5;height:64px;min-height:0;margin:0;pointer-events:none}
.renewalResult .skillActive{position:relative;inset:auto;transform:none;width:100%;max-width:100%;box-sizing:border-box;background:#071b28e8;padding:7px 10px;border-left:3px solid #d4ebc5;box-shadow:0 0 22px #aaf5ff22;border-radius:8px;animation:panelArrive .2s ease-out both}
.renewalResult .skillActive strong{font-size:15px;margin:2px 0;line-height:1.2}.renewalResult .skillActive small{font-size:8px;letter-spacing:.15em}.renewalResult .skillActive span{font-size:10px;line-height:1.2}
.renewalResult .omsMotionCaption{display:none}.renewalResult .omsMotionForecast{position:absolute;top:70px;left:0;right:0;font-size:11px;letter-spacing:.1em;z-index:1}
.renewalResult .renewalSeal{position:absolute;left:0;right:0;bottom:4%;font-weight:900;font-size:clamp(20px,7vw,36px);letter-spacing:.1em;color:#fff1bd;text-shadow:0 0 20px #ffdc8999;pointer-events:none}
.renewalResult[data-tier="gold"]{background:radial-gradient(ellipse,#9e7827,#251c0c 85%)}.renewalResult[data-tier="gold"] .goalCutinInner{border:2px solid #ffe09c;box-shadow:0 0 60px #f4c26877}.renewalResult[data-tier="gold"] .recoveredTrail{filter:drop-shadow(0 0 5px #ffe293)}
.renewalResult[data-tier="rainbow"]{background:conic-gradient(from 35deg,#78316c,#825729,#347651,#235973,#553273,#78316c)}.renewalResult[data-tier="rainbow"] .goalCutinInner{background:linear-gradient(120deg,#332737,#173b35,#242841)!important;border:2px solid #e5c9ff;box-shadow:-16px 0 70px #ff8eac66,16px 0 70px #82dbed66}.renewalResult[data-tier="rainbow"] .recoveredTrail{filter:drop-shadow(0 0 7px #abfaff) drop-shadow(0 0 12px #dabaff)}
.renewalResult[data-owner="team"]{background:radial-gradient(ellipse,#20435b,#04141e)}.renewalResult[data-owner="team"] .goalCutinInner{border-color:#a4c9e7;background:linear-gradient(150deg,#173b46,#0c2436)!important;box-shadow:0 0 26px #9ac7e333}.renewalResult[data-owner="team"] .goalWord{color:#c9e5fa!important;-webkit-text-fill-color:#c9e5fa;font-size:clamp(36px,11vw,64px)!important}.renewalResult[data-owner="team"] .goalWord:before{content:'TEAM ';font-size:.38em;font-style:normal;vertical-align:middle;letter-spacing:.1em}.renewalResult[data-owner="team"] .goalScorer{color:#b8d6ea}
.renewalGlass{position:fixed;inset:0;width:100vw;height:100svh;z-index:8;pointer-events:none}.renewalGlass polygon{fill:#14232b99;stroke:#dcffff;stroke-width:.3;transform-origin:50% 50%;animation:glassBreak .6s ease-in both}.renewalGlass polygon:nth-child(2n){--dx:45vw;--dy:-35vh;--turn:24deg}.renewalGlass polygon:nth-child(2n+1){--dx:-40vw;--dy:40vh;--turn:-27deg}.renewalResult[data-phase="recovery"] .goalWord{font-size:clamp(28px,9vw,52px)!important;letter-spacing:.035em}
.renewalStandalone{position:fixed;inset:0;z-index:80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;background:radial-gradient(ellipse,#356a66,#051320);color:#fff1b9}.renewalStandalone strong{font-size:clamp(30px,8vw,65px)}.renewalStandalone small{font-size:12px}
/* One ball asset in every HTML control and cinematic SVG. */
.pitchBall,.passBall,.swipeBall,.shotStart,.defenseDot,.courseBall{background:url('assets/football.svg') center/100% 100% no-repeat!important;border:0!important;border-radius:50%;color:transparent;box-shadow:0 0 12px #e4f7ff66}
.pitchBall:before,.pitchBall:after,.passBall:before,.passBall:after,.swipeBall:before,.swipeBall:after,.defenseDot:before,.defenseDot:after{content:none!important}
.playerFigure,.recoveredPlayerSprite{display:none!important}.pitchFigure{background:transparent!important}.pitchFigure small{font-size:10px;background:#061a2bb8;border-radius:5px;padding:2px 4px}.pitchFigure:before{content:'';display:block;width:26px;height:9px;margin:0 auto;border:1px solid #ceeaff99;border-radius:50%;background:#ceebff1a;box-shadow:0 0 15px #ceeaff44}
/* Timed match choices occupy one fixed viewport; no hidden button below a fold. */
body.choosing{overflow:hidden;overscroll-behavior:none}
body.choosing #match{position:fixed;inset:calc(env(safe-area-inset-top,0px) + 12px) 8px calc(env(safe-area-inset-bottom,0px) + 10px);z-index:25;max-width:520px;margin:0 auto;box-sizing:border-box;padding:14px 12px;display:flex;flex-direction:column;gap:5px;overflow:hidden;background:linear-gradient(150deg,#143f35,#0b2433)}
body.choosing #matchYear{font-size:10px;line-height:14px;margin:0}body.choosing .matchBroadcast,body.choosing #oppInfo,body.choosing #strategyPanel,body.choosing #match .meter,body.choosing #match .meter~.teamCard,body.choosing #identityMoment,body.choosing #match .hud+.tiny{display:none!important}
body.choosing #match .hud{min-height:54px;gap:8px;margin:0;align-items:center}body.choosing #match .hud img{display:none}body.choosing #myTeamHud,body.choosing #oppHud{font-size:12px;line-height:1.2}body.choosing #match .score{font-size:28px;line-height:1.1}
body.choosing #matchTitle{font-size:19px;line-height:1.2;margin:6px 0 0}body.choosing #matchText{font-size:12px;line-height:1.4;max-height:3em;overflow:hidden;margin:0}
body.choosing #decisionClock{position:static!important;align-self:center;flex:none;inset:auto;transform:none;font-size:24px;line-height:30px;margin:0;min-height:30px;z-index:28}
body.choosing .possessionMap{margin:0;font-size:8px;line-height:1.3;padding:4px;flex:none}body.choosing .possessionMap small{font-size:10px}body.choosing .comboHud{font-size:10px;line-height:1.3;max-height:30px;overflow:hidden;padding:3px 0;margin:0}
body.choosing #matchChoices{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(44px,1fr);gap:8px;flex:1;min-height:0;margin:5px 0 0;align-content:stretch;touch-action:manipulation}
body.choosing #matchChoices button{position:relative;box-sizing:border-box;min-height:44px;max-height:76px;margin:0;padding:8px 14px;line-height:1.3;font-size:15px;width:100%;text-align:left;border-radius:10px;border:1px solid #dce9df66;background:#132d2be6;color:#f2f6ec}
body.choosing #matchChoices button.chanceChoice{border-color:#ffe19a;background:linear-gradient(120deg,#5b451a,#8a6921,#5b451a);box-shadow:0 0 22px #efbe5b77;color:#fff2bd}
body.choosing #matchChoices button.rainbowChoice{border-color:#ebd8ff;background:linear-gradient(115deg,#6d304a,#715731,#326944,#2a5f76,#604d82);box-shadow:0 0 26px #c9d1ff88;color:#fff}
body.choosing[data-combo="blue"] #matchChoices button:not(.chanceChoice):not(.rainbowChoice){border-color:#8dcced;background:#183a4d}body.choosing[data-combo="red"] #matchChoices button:not(.chanceChoice):not(.rainbowChoice){border-color:#fda2a3;background:#512a32}body.choosing[data-combo="gold"] #matchChoices button:not(.rainbowChoice){border-color:#ffe19a;box-shadow:0 0 13px #dfbf6a44}body.choosing[data-combo="rainbow"] #matchChoices button{border-color:#ecd8ff;background:linear-gradient(115deg,#643748,#655233,#315a42,#2b526b,#574778)}
.playSurface[data-tier="gold"] .playStage{box-shadow:0 0 50px #f2ca6277;border-color:#ffe7a6}.playSurface[data-tier="rainbow"] .playStage{box-shadow:-15px 0 50px #d188b866,15px 0 50px #80c7d466;border-color:#e6d2ff}
@media(max-height:680px){body.choosing #match{gap:3px;padding:10px}body.choosing #matchText{max-height:2.8em;font-size:11px}body.choosing .comboHud{max-height:14px;font-size:9px}body.choosing #matchChoices{gap:6px}body.choosing #matchChoices button{font-size:14px;padding:6px 10px}.renewalResult .goalCutinInner{gap:3px;grid-template-rows:22px minmax(0,1fr) auto 20px 18px 22px 20px;padding:12px 10px!important}.renewalResult .goalScorer{font-size:13px;line-height:20px}.renewalResult .goalScore{font-size:18px;line-height:22px}.renewalResult #highlightCaption{line-height:18px}.renewalResult .omsMotionForecast{display:none}}
@media(orientation:landscape) and (max-height:520px){body.choosing #match{display:grid;grid-template-columns:1fr 1.3fr;grid-template-rows:16px 54px 28px auto 1fr;gap:4px 12px;max-width:850px}body.choosing #matchChoices{grid-column:2;grid-row:1/span 5;margin:0;grid-auto-rows:minmax(44px,1fr)}body.choosing #decisionClock{grid-row:3;grid-column:1}body.choosing #matchTitle{grid-column:1;font-size:16px}body.choosing #matchText{grid-column:1}.renewalResult .goalCutinInner{width:96vw!important;max-width:800px;grid-template-columns:1.5fr 1fr;grid-template-rows:24px 1fr 28px 24px 24px}.renewalResult .footballCinema.omsRecovered{grid-row:1/span 5;grid-column:1}.renewalResult .playLead{grid-row:1;grid-column:2}.renewalResult .goalWord{grid-row:2;grid-column:2;font-size:32px!important;align-self:center}.renewalResult .goalScorer{grid-row:3;grid-column:2}.renewalResult #highlightCaption{grid-row:4;grid-column:2}.renewalResult .goalScore{grid-row:5;grid-column:2}.renewalResult #highlightNext{grid-column:2;grid-row:6}.renewalResult .omsSkillRail{left:0;right:0;top:0}.renewalResult .skillActive span{display:none}.renewalResult .skillActive strong{font-size:12px}.renewalResult .renewalSeal{font-size:18px}}
@media(prefers-reduced-motion:reduce){.renewalGlass{display:none}.renewalResult *{animation:none!important}.renewalResult .recoveredTrail{stroke-dashoffset:0}.renewalResult .cinemaTravel{transform:translate(var(--mx20),var(--my20)) scale(var(--ms20,1))}}
body.choosing #decisionClock{box-sizing:border-box;height:44px;min-height:44px;padding:2px 8px;font-size:23px;line-height:26px;border-radius:12px}body.choosing #decisionClock::after{font-size:8px;line-height:10px}body.choosing .possessionMap>span{padding:4px 1px}body.choosing .possessionMap small{padding:2px}body.choosing #match .hud .shield{display:none}
@media(max-height:600px){body.choosing #match .hud{min-height:40px}body.choosing #matchTitle{font-size:16px;margin-top:2px}body.choosing #matchText{max-height:2.7em}body.choosing .possessionMap{padding:0}body.choosing .possessionMap>span{padding:2px 1px}body.choosing .comboHud{max-height:12px}}
.renewalResult[data-result-phase="result"] .goalWord,.renewalResult[data-result-phase="result"] .goalScorer,.renewalResult[data-result-phase="result"] .goalScore,.renewalResult[data-result-phase="result"] #highlightCaption{opacity:1!important;transform:none!important;animation:none!important}.renewalResult[data-result-phase="motion"] .goalScorer,.renewalResult[data-result-phase="motion"] .goalScore{opacity:0!important}
.renewalResult .footballCinema.omsMotion svg.omsMotionPitch{height:100%!important;width:100%}
body.choosing .comboHud{border:0!important;min-height:14px;white-space:nowrap;padding:0;margin:0}body.choosing .comboHud::after{display:none}
.pitchBall,.passBall,.swipeBall,.defenseDot,.courseBall{width:24px;height:24px}
.demoMate,.demoDF{display:none!important}
/* Reserve banner space above the pitch; the skill never covers a ball or net. */
.renewalResult .footballCinema.omsRecovered{display:grid!important;grid-template-rows:64px minmax(0,1fr)}.renewalResult .omsSkillRail{position:relative;inset:auto;grid-row:1;height:64px}.renewalResult .footballCinema.omsMotion svg.omsMotionPitch{grid-row:2;min-height:0}.renewalResult .omsMotionForecast{top:66px}.renewalResult .renewalSeal{bottom:3%}
@media(orientation:landscape) and (max-height:520px){.renewalResult .footballCinema.omsRecovered{grid-template-rows:48px minmax(0,1fr)}.renewalResult .omsSkillRail{height:48px}}
/* Abstract pitch markers keep target/opponent positions readable without dolls. */
.playSurface .playerFigure{display:block!important;width:24px!important;height:18px!important;min-height:0!important;background:#cae9db22!important;background-image:none!important;border:1px solid #c9ead8!important;border-radius:7px!important;clip-path:polygon(50% 0,100% 25%,88% 100%,12% 100%,0 25%);box-shadow:0 0 12px #cae9db44!important}
.playSurface .playerFigure.orangeFigure{background:#ffa97922!important;border-color:#ffc398!important;box-shadow:0 0 12px #ffac7844!important}.playSurface .playerFigure:before,.playSurface .playerFigure:after{content:none!important}.playSurface .playerFigure img{display:none!important}
#matchOpening:not(.hidden){position:fixed;inset:0;z-index:70;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:28px;margin:0;padding:24px;background:radial-gradient(ellipse,#254f48,#041520f8 78%);text-align:center;border:0;color:#e9f4e8}
#matchOpening strong{font-size:clamp(30px,8vw,52px);font-weight:900;line-height:1.4}#matchOpening span{font-size:15px;line-height:1.8;max-width:360px}#matchOpening .openingTap{font-size:11px;color:#c9dcd1}
