/* The menus (arcade-menu.js, Docs/MENUS.md): Virtua Tennis 1's structure in the Fusbolín skin (tackle-game's tokens):
   Rubik 900 italic, hard black shadows, slanted plates, yellow only for the main action. Sizes follow the wireframe:
   1rem is 10 px of its 844 × 390 landscape screen (390 × 844 upright), so every screen keeps its proportions. */
@font-face{font-family:'Rubik';src:url('fonts/rubik-latin-wght-normal.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap}
@font-face{font-family:'Rubik';src:url('fonts/rubik-latin-wght-italic.woff2') format('woff2');font-weight:300 900;font-style:italic;font-display:swap}
html{font-size:min(calc(1000vw / 844),calc(1000vh / 390))}
@supports (height:1dvh){html{font-size:min(calc(1000vw / 844),calc(1000dvh / 390))}}
@media (orientation:portrait){
  html{font-size:min(calc(1000vw / 390),calc(1000vh / 844))}
  @supports (height:1dvh){html{font-size:min(calc(1000vw / 390),calc(1000dvh / 844))}}
}

.ft-menu,#ft-match-layer{
  --ink:#0E1411;--ink2:#111915;--panel:#1C2A22;--line:#3A4A3F;--edge:#7C8B7E;--cream:#F3E9CF;--muted:#A9A58F;
  --yellow:#FFD23F;--red:#C8412F;--red-d:#45170F;--blue:#2F6DB5;--blue-d:#15294A;--paper:#EDE3C8;--stamp:#AD3829;
  --live:#7CF29A;--orange:#F08A24;--shadow:.4rem .4rem 0 #000;
  font-family:'Rubik',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--cream);
  -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;
}
.ft-menu{position:fixed;inset:0;z-index:45;overflow:hidden;background:var(--ink)}
.ft-menu[hidden]{display:none!important}
.ft-menu.stage-3d{background:transparent}
.ft-menu button,#ft-match-layer button{font:inherit;color:inherit;background:none;border:0;padding:0;min-height:0;border-radius:0;cursor:pointer}
.ft-menu button:focus-visible,#ft-match-layer button:focus-visible,.ft-menu a:focus-visible,.ft-menu input:focus-visible{outline:.3rem solid var(--yellow);outline-offset:.3rem}
.ft-menu img,#ft-match-layer img{display:block}
.ft-screen-host{position:absolute;inset:0}
/* Each screen is the wireframe's 844 × 390 box (390 × 844 upright), centred; backgrounds fill the whole viewport. */
.ft-screen{position:absolute;inset:0;margin:auto;width:84.4rem;height:39rem;box-sizing:border-box}
@media (orientation:portrait){.ft-screen{width:39rem;height:84.4rem}}
.ft-screen>*{box-sizing:border-box}

/* ---------- Shared pieces ---------- */
.ft-stripes-bg,.ft-grid-bg,.ft-sunburst{position:fixed;inset:0;z-index:-1;pointer-events:none}
.ft-stripes-bg{background:repeating-linear-gradient(-12deg,var(--ink) 0 6rem,var(--ink2) 6rem 12rem)}
.ft-face{object-fit:cover;background:var(--panel)}
.ft-cta{display:block;filter:drop-shadow(.5rem .5rem 0 #000);text-decoration:none}
.ft-cta>span{display:flex;align-items:center;justify-content:center;gap:1rem;height:5.2rem;padding:0 2.4rem;clip-path:polygon(1.4rem 0,100% 0,calc(100% - 1.4rem) 100%,0 100%);background:var(--yellow);color:var(--ink);font-weight:900;font-style:italic;font-size:2.2rem;text-transform:uppercase;white-space:nowrap}
.ft-cta>span i{font-style:normal}
.ft-cta:hover>span{background:#FFE07A}
.ft-cta:active{transform:translate(.3rem,.3rem);filter:drop-shadow(.2rem .2rem 0 #000)}
.ft-cta.small>span{height:4rem;font-size:1.5rem;padding:0 1.8rem}
.ft-cta.wide{width:100%}
.ft-cta.wide>span{flex-direction:column;gap:.2rem;height:6.4rem}
.ft-cta.wide>span b{font-weight:900}
.ft-cta.wide>span b i{font-style:normal}
.ft-cta.wide small{font-size:1.1rem;font-weight:700;font-style:normal;text-transform:none;letter-spacing:.02em}
.ft-back{display:flex;align-items:center;justify-content:center;width:4.4rem;height:4.4rem;flex:none;background:var(--panel)!important;border:.2rem solid var(--edge)!important;box-shadow:.3rem .3rem 0 #000;box-sizing:border-box}
.ft-back svg{width:1.8rem;height:1.8rem}
.ft-chip,.ft-menu button.ft-chip,#ft-match-layer button.ft-chip{display:inline-flex;align-items:center;gap:.8rem;height:4rem;padding:0 1.2rem;text-transform:uppercase;box-sizing:border-box;border:.2rem solid var(--cream)!important;box-shadow:.3rem .3rem 0 #000;font-weight:700;font-size:1.1rem;letter-spacing:.08em;text-decoration:none;color:var(--cream);white-space:nowrap}
.ft-chip svg{width:1.6rem;height:1.6rem}
.ft-chip.dark{background:var(--ink)!important}
.ft-chip.cream{background:var(--cream)!important;color:var(--ink)!important;border-color:#000!important}
.ft-chip.yellow{background:var(--yellow)!important;color:var(--ink)!important;border-color:#000!important;font-weight:900;font-style:italic}
.ft-chip.big{height:5.2rem;padding:0 1.6rem;font-size:1.2rem;box-shadow:.4rem .4rem 0 #000}
.ft-chip.side{font-weight:900;font-style:italic;font-size:1.3rem;padding:0 1.2rem 0 .4rem}
.ft-chip.side.rubio{background:var(--blue)!important}
.ft-chip.side.gary{background:var(--red)!important}
.ft-chip.side i{font-style:normal}
.ft-face.chip{width:3rem;height:3rem;border-radius:50%;border:.2rem solid var(--cream)}
.ft-plate{display:flex;align-items:center;justify-content:center;clip-path:polygon(1.2rem 0,100% 0,calc(100% - 1.2rem) 100%,0 100%);font-weight:900;font-style:italic;text-transform:uppercase;white-space:nowrap}
.ft-plate.dark{background:var(--ink);color:var(--cream)}
.ft-plate.cream{background:var(--cream)}
.ft-plate.blue{color:var(--blue-d)}.ft-plate.red{color:var(--red-d)}
.ft-sticker{display:inline-block;align-self:flex-start;padding:.4rem 1rem;background:var(--paper);color:var(--stamp);font-weight:900;font-style:italic;font-size:1.3rem;letter-spacing:.04em;box-shadow:.3rem .3rem 0 #000;transform:rotate(-2deg);white-space:nowrap}
.ft-sticker.small{font-size:1.1rem;color:#1C2A22;padding:.3rem .8rem}
.ft-sticker.red{color:var(--stamp)}.ft-sticker.blue{color:var(--blue-d)}
.ft-tag{display:inline-block;padding:.3rem .6rem;background:var(--c,var(--red));color:var(--cream);font-weight:900;font-size:1.1rem;letter-spacing:.04em}
.ft-tag.cream{background:var(--cream);color:var(--blue-d)}
.ft-tag.dark{background:var(--ink);color:var(--yellow);border:.1rem solid var(--yellow)}
.ft-live{display:inline-flex;align-items:center;gap:.6rem;align-self:flex-start;padding:.4rem .9rem;background:var(--ink);font-size:1rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.ft-live i{width:.7rem;height:.7rem;border-radius:50%;background:var(--live);flex:none;animation:ft-blink 1.2s infinite}
.ft-live.off i{background:var(--muted);animation:none}
@keyframes ft-blink{50%{opacity:.35}}
.ft-link{color:var(--yellow)!important;text-decoration:underline!important;text-underline-offset:.3rem;font-weight:700;font-size:1.2rem;align-self:flex-start}
.ft-input{height:4rem;padding:0 1rem;background:var(--ink);border:.2rem solid var(--cream);color:var(--cream);font:inherit;font-weight:900;font-size:1.6rem;letter-spacing:.12em;text-transform:uppercase;box-sizing:border-box;border-radius:0;outline:none}
.ft-input::placeholder{color:var(--muted)}
.ft-seg{display:inline-flex;border:.2rem solid var(--cream);box-shadow:.3rem .3rem 0 #000}
.ft-seg button{height:3.6rem;padding:0 1.2rem;font-weight:900!important;font-style:italic!important;font-size:1.3rem!important;background:var(--ink)!important;color:var(--muted)!important}
.ft-seg button+button{border-left:.2rem solid var(--cream)!important}
.ft-seg button.on{background:var(--cream)!important;color:var(--ink)!important}
.ft-hint{margin:0;font-size:1.1rem;color:var(--muted);line-height:1.35}
.ft-hint b{color:var(--cream)}
.ft-toast{position:absolute;left:50%;bottom:calc(100% + .6rem);transform:translateX(-50%);padding:.4rem .8rem;background:var(--ink);border:.2rem solid var(--yellow);color:var(--yellow);font-size:1.1rem;font-weight:700;font-style:normal;white-space:nowrap;z-index:5;pointer-events:none}
.ft-flag{display:inline-block;width:3rem;height:2rem;border:.2rem solid #000;box-sizing:border-box}
.ft-flag.arg{background:linear-gradient(180deg,#75AADB 0 33%,#fff 33% 66%,#75AADB 66%)}
.ft-flag.uru{background:repeating-linear-gradient(180deg,#fff 0 .2rem,#3E6FB5 .2rem .4rem)}
.ft-flag.bra{background:radial-gradient(circle,#1E4BA0 0 .4rem,transparent .45rem),linear-gradient(135deg,#1A8B3E 0 30%,#F2C414 30% 70%,#1A8B3E 70%)}
.ft-vert{writing-mode:vertical-rl;transform:rotate(180deg);font-weight:900;font-style:italic;font-size:1.3rem;letter-spacing:.1em;color:rgba(243,233,207,.6)}
.orange{color:var(--orange)}.yellow{color:var(--yellow)}
.ft-pip{display:inline-block;width:1.2rem;height:1.2rem;border-radius:50%;border:.2rem solid var(--line);background:var(--ink)}
.ft-pip.bronce{background:#C07A3A;border-color:#000}.ft-pip.plata{background:#C9CED2;border-color:#000}.ft-pip.oro{background:var(--yellow);border-color:#000}
.ft-pips{display:inline-flex;gap:.4rem}
.ft-pips.big .ft-pip{width:2.4rem;height:2.4rem;border-width:.3rem}

/* The header bar of most screens: back, a small orange label over the big title, and what goes on the right. */
.ft-bar{position:absolute;left:4rem;right:4rem;top:.8rem;height:4.6rem;display:flex;align-items:center;gap:1.4rem;z-index:2}
.ft-bar-title{display:flex;flex-direction:column;min-width:0}
.ft-bar-title span{font-size:.9rem;font-weight:700;letter-spacing:.22em;color:var(--orange);white-space:nowrap}
.ft-bar-title h1{margin:0;font-weight:900;font-style:italic;text-transform:uppercase;font-size:2.6rem;line-height:.9;text-shadow:.3rem .3rem 0 #000;white-space:nowrap}
.ft-bar>.ft-bar-title+.ft-chip,.ft-bar>.ft-steps,.ft-bar>.ft-legend,.ft-bar>.ft-nick{margin-left:auto}
.ft-steps{display:flex;align-items:center;gap:.6rem;font-size:1rem;font-weight:700;letter-spacing:.1em;white-space:nowrap}
.ft-steps span{padding:.5rem .8rem;border:.1rem solid var(--line);color:var(--muted)}
.ft-steps span.now{background:var(--cream);color:var(--ink);border-color:var(--cream)}
.ft-actions{position:absolute;right:4rem;bottom:1.6rem;display:flex;align-items:center;gap:1.2rem;z-index:2}
.ft-actions .ft-cta{min-width:20rem}
@media (orientation:portrait){
  .ft-bar{left:2.4rem;right:2.4rem;top:max(1.6rem,env(safe-area-inset-top));height:auto;flex-wrap:wrap;row-gap:.8rem}
  .ft-bar>.ft-steps,.ft-bar>.ft-legend{margin-left:0;width:100%;order:3}
  .ft-bar>.ft-bar-title+.ft-chip{margin-left:auto}
  .ft-bar-title h1{font-size:2.4rem}
  .ft-actions{left:2.4rem;right:2.4rem;bottom:max(2.4rem,env(safe-area-inset-bottom))}
  .ft-actions .ft-cta{flex:1;min-width:0}
}

/* Loading bar, under every screen until the game is ready. */
.ft-loadbar{position:absolute;left:50%;bottom:max(.8rem,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:1rem;padding:.5rem 1.2rem;background:var(--ink);border:.2rem solid var(--cream);box-shadow:.3rem .3rem 0 #000;font-size:1.1rem;font-weight:700;letter-spacing:.06em;transition:opacity .5s;pointer-events:none}
.ft-loadbar.is-done{opacity:0}
.ft-loadbar-track{width:16rem;height:.8rem;background:var(--line)}
.ft-loadbar-fill{display:block;height:100%;width:1%;background:var(--yellow);transition:width .3s}
.ft-menu[data-screen="vs"] .ft-loadbar,.ft-menu[data-screen="desafio"] .ft-loadbar{bottom:auto;top:5rem}
.ft-menu[data-screen="bando"] .ft-loadbar{bottom:max(4.8rem,calc(env(safe-area-inset-bottom) + 4rem))}
@media (orientation:portrait){.ft-menu[data-screen="bando"] .ft-loadbar{bottom:auto;top:max(1.6rem,env(safe-area-inset-top))}}

/* ---------- «¿De qué lado estás?» ---------- */
.ft-bando-half{position:fixed;inset:0;z-index:-1}
.ft-bando-half.rubio{clip-path:polygon(0 0,55.4% 0,43.4% 100%,0 100%);background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),linear-gradient(135deg,var(--blue) 0%,var(--blue-d) 85%)}
.ft-bando-half.gary{clip-path:polygon(56.6% 0,100% 0,100% 100%,44.6% 100%);background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),linear-gradient(225deg,var(--red) 0%,var(--red-d) 85%)}
.ft-menu[data-screen="bando"]{background:#000}
.ft-s-bando .ft-back{position:absolute;left:4rem;top:1.6rem;z-index:2}
.ft-bando-title{position:absolute;left:0;right:0;top:1.6rem;display:flex;flex-direction:column;align-items:center;gap:1rem;pointer-events:none}
.ft-bando-title h1{margin:0;padding:.8rem 3.4rem;font-size:3.2rem;line-height:1;filter:drop-shadow(.5rem .5rem 0 #000)}
.ft-bando-title .ft-sticker{font-size:1.2rem;transform:rotate(-2deg);align-self:center}
.ft-bando-pick{position:absolute;top:11rem;width:28rem;display:flex!important;flex-direction:column;gap:1.2rem;text-align:left}
.ft-bando-pick.rubio{left:5.6rem;align-items:flex-start}
.ft-bando-pick.gary{right:5.6rem;align-items:flex-end}
.ft-bando-who{display:flex;align-items:flex-start;gap:1.2rem}
.ft-face.big{width:12.8rem;height:12.8rem;border:.5rem solid var(--cream);box-shadow:.7rem .7rem 0 #000}
.ft-bando-pick.rubio .ft-face{transform:rotate(-4deg)}.ft-bando-pick.gary .ft-face{transform:rotate(4deg)}
.ft-quote{margin-top:1.4rem;padding:.5rem .9rem;background:var(--paper);color:#1C2A22;font-weight:900;font-style:italic;font-size:1.2rem;line-height:1.25;box-shadow:.3rem .3rem 0 #000;transform:rotate(2deg)}
.ft-bando-pick.gary .ft-quote{transform:rotate(-2deg)}
.ft-bando-pick .ft-plate{height:5rem;padding:0 2.6rem;font-size:2.4rem;filter:drop-shadow(.5rem .5rem 0 #000)}
.ft-bando-pick:hover .ft-plate,.ft-bando-pick.current .ft-plate{background:var(--yellow)}
.ft-bando-pick:active{transform:translate(.3rem,.3rem)}
.ft-bando-foot{position:absolute;left:0;right:0;bottom:1.4rem;margin:0;text-align:center}
.ft-bando-foot{font-size:1.1rem;font-weight:700;letter-spacing:.04em}
.ft-bando-foot::before{content:'';position:absolute;inset:-.4rem 22%;background:rgba(14,20,17,.85);z-index:-1}
@media (orientation:portrait){
  .ft-bando-half.rubio{clip-path:polygon(0 0,100% 0,100% 46.6%,0 52.6%);background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),linear-gradient(180deg,var(--blue),var(--blue-d))}
  .ft-bando-half.gary{clip-path:polygon(0 53.8%,100% 47.8%,100% 100%,0 100%);background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),linear-gradient(0deg,var(--red-d),var(--red))}
  .ft-s-bando .ft-back{left:2.4rem;top:2rem}
  .ft-bando-title{top:35.2rem;gap:1.2rem}
  .ft-bando-title h1{font-size:2.3rem;padding:1rem 2rem}
  .ft-bando-title .ft-sticker{font-size:1.3rem}
  .ft-bando-pick{left:2.4rem!important;right:2.4rem!important;width:auto;gap:1.8rem}
  .ft-bando-pick.rubio{top:6rem;align-items:stretch}
  .ft-bando-pick.gary{top:51rem;align-items:stretch;flex-direction:column-reverse}
  .ft-bando-pick.gary .ft-bando-who{justify-content:flex-end}
  .ft-face.big{width:14rem;height:14rem}
  .ft-quote{margin-top:2.4rem;font-size:1.4rem}
  .ft-bando-pick .ft-plate{height:5.6rem;font-size:2.8rem}
  .ft-bando-foot{left:2.4rem;right:2.4rem;bottom:2.2rem;font-size:1.2rem;line-height:1.35;padding:.6rem 1rem;background:rgba(14,20,17,.85)}
  .ft-bando-foot::before{display:none}
}

/* The cast's two sides (cast16.json "bando"): under each quip the side's motto and its friends' faces; the menu's Team
   chip carries them small; the select grids put a badge on every face (none on El Profe, who is nobody's). */
.ft-bando-side{display:flex;flex-direction:column;gap:.6rem}
.ft-bando-friends{display:flex;flex-direction:column;gap:.4rem}
.ft-bando-pick.gary .ft-bando-side,.ft-bando-pick.gary .ft-bando-friends{align-items:flex-end}
.ft-bando-motto{align-self:flex-start;padding:.2rem .6rem;background:var(--ink);font-weight:900;font-style:italic;font-size:1rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;box-shadow:.2rem .2rem 0 #000}
.ft-bando-pick.gary .ft-bando-motto{align-self:flex-end}
.ft-bando-faces{display:grid;grid-template-columns:repeat(4,2.8rem);gap:.3rem}
.ft-bando-pick .ft-face.friend{width:2.8rem;height:2.8rem;border:.15rem solid var(--cream);box-shadow:.15rem .15rem 0 #000;box-sizing:border-box;transform:none}
.ft-chip-friends{display:inline-flex;align-items:center}
.ft-chip-friends .ft-face.mate{width:2rem;height:2rem;border-radius:50%;border:.15rem solid var(--cream);box-sizing:border-box;margin-left:-1.1rem;box-shadow:-.1rem 0 .2rem rgba(0,0,0,.45)}
.ft-chip-friends .ft-face.mate:first-child{margin-left:0}
.ft-bando-badge{position:absolute;right:.2rem;bottom:.2rem;width:1.6rem;height:1.6rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:900;font-size:.9rem;line-height:1;color:var(--cream);border:.15rem solid var(--cream);box-shadow:.15rem .15rem 0 #000;box-sizing:border-box;pointer-events:none}
.ft-bando-badge.rubio{background:var(--blue)}
.ft-bando-badge.gary{background:var(--red)}
@media (orientation:portrait){
  .ft-bando-faces{grid-template-columns:repeat(4,3.2rem)}
  .ft-bando-pick .ft-face.friend{width:3.2rem;height:3.2rem}
  .ft-bando-motto{font-size:1.1rem}
}

/* ---------- Main menu (VT1) ---------- */
.ft-menu[data-screen="menu"]{background:linear-gradient(90deg,rgba(255,210,63,0) 30%,rgba(255,194,58,.5) 66%,rgba(14,20,17,.92) 100%),repeating-linear-gradient(180deg,var(--orange) 0 .3rem,#DC7417 .3rem .6rem)}
.ft-mm-arc{position:fixed;z-index:-1;left:calc(50vw - 42.2rem - 56rem);top:calc(50vh - 19.5rem - 30rem);width:88rem;height:100rem;border-radius:50%;background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),linear-gradient(180deg,var(--blue) 0%,var(--blue-d) 100%);box-shadow:.4rem 0 0 var(--cream),1rem 0 0 #000}
.ft-mm-band{position:fixed;z-index:-1;left:0;top:0;width:100vw;height:calc(50vh - 19.5rem + 6rem);background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),#2A63A6;box-shadow:0 .4rem 0 var(--cream),0 .9rem 0 #000}
.ft-mm-head{position:absolute;left:2rem;top:.8rem;height:4.4rem;display:flex;align-items:center;gap:1rem}
.ft-ball-logo{width:4.4rem;height:4.4rem;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FFF6B0,var(--yellow) 55%,#C9A21E);border:.3rem solid #000;box-shadow:.3rem .3rem 0 #000;display:flex;align-items:center;justify-content:center;color:var(--ink);font-weight:900;font-style:italic;font-size:.88rem;line-height:.95;text-align:center;box-sizing:border-box}
.ft-mm-head h1{margin:0;font-weight:900;font-style:italic;font-size:3.1rem;line-height:1;text-shadow:.4rem .4rem 0 #000;white-space:nowrap}
.ft-mm-corner{position:absolute;right:2rem;top:1.1rem;height:3.8rem;display:inline-flex;align-items:stretch;background:var(--ink);border:.2rem solid var(--cream);box-shadow:.35rem .35rem 0 #000;z-index:2;overflow:hidden}
.ft-mm-dock-item{display:inline-flex!important;align-items:center;gap:.5rem;height:100%;padding:0 .85rem!important;box-sizing:border-box;font-weight:800!important;font-size:.98rem!important;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;color:var(--cream)!important;white-space:nowrap;transition:background .12s,color .12s}
.ft-mm-dock-item+.ft-mm-dock-item{border-left:.2rem solid rgba(243,233,207,.28)!important}
.ft-mm-dock-item:focus-visible{outline-offset:-.3rem!important}
.ft-mm-dock-item:hover{background:var(--panel)!important;color:var(--yellow)!important}
.ft-mm-dock-item svg{width:1.45rem;height:1.45rem;flex:none}
.ft-mm-dock-item.side{font-weight:900!important;font-style:italic!important;font-size:1.08rem!important;padding-left:.45rem!important}
.ft-mm-dock-item.side.rubio{background:linear-gradient(180deg,#1F4E86,var(--blue-d))!important}
.ft-mm-dock-item.side.gary{background:linear-gradient(180deg,#922D20,var(--red-d))!important}
.ft-mm-dock-item.side:hover{filter:brightness(1.14);color:var(--yellow)!important}
.ft-mm-dock-item.side i{font-style:normal;opacity:.85;font-size:1.05rem}
.ft-face.dock{width:2.4rem;height:2.4rem;border-radius:50%;border:.18rem solid var(--cream);flex:none;box-sizing:border-box}
.ft-mm-dock-item.trophy svg{fill:var(--yellow);color:var(--yellow)}
.ft-mm-dock-item.trophy b{color:var(--yellow);font-weight:900;font-style:italic;font-size:1.1rem}
.ft-mm-resume{position:absolute;right:2rem;top:7.6rem;z-index:2}
.ft-mm-ghost{position:absolute;left:.4rem;top:8.4rem;writing-mode:vertical-rl;transform:rotate(180deg);font-weight:900;font-style:italic;font-size:10.4rem;line-height:1;color:rgba(243,233,207,.06);-webkit-text-stroke:.2rem rgba(243,233,207,.3);text-transform:uppercase;white-space:nowrap;pointer-events:none;max-height:30rem;overflow:hidden}
.ft-mm-desc{position:absolute;left:12rem;top:16.4rem;width:17rem;display:flex;flex-direction:column;gap:.8rem}
/* The daily challenge's card under the mode's description (ft-daily.js): yellow until today's is won, then dark with a check. */
.ft-mm-daily{display:flex!important;flex-direction:column;align-items:flex-start;gap:.25rem;margin-top:.6rem;padding:.6rem .9rem!important;background:var(--yellow)!important;color:var(--ink)!important;border:.2rem solid var(--ink)!important;border-radius:0!important;box-shadow:.3rem .3rem 0 #000;text-align:left;cursor:pointer;animation:ft-daily-pulse 1.8s ease-in-out infinite}
.ft-mm-daily.done{background:var(--ink)!important;color:var(--cream)!important;border-color:var(--cream)!important;animation:none}
.ft-mm-daily .ft-daily-head{font-weight:900;font-style:italic;font-size:1.15rem;text-transform:uppercase;letter-spacing:.02em}
.ft-mm-daily .ft-daily-streak{padding:.05rem .45rem;background:var(--orange);color:var(--ink);font-size:.8rem;font-weight:900;font-style:italic;text-transform:uppercase}
.ft-mm-daily small{font-size:.85rem;font-weight:700;line-height:1.25}
.ft-mm-daily:hover,.ft-mm-daily:focus-visible{transform:translate(-.1rem,-.1rem);box-shadow:.4rem .4rem 0 #000}
@keyframes ft-daily-pulse{0%,100%{box-shadow:.3rem .3rem 0 #000}50%{box-shadow:.3rem .3rem 0 #000,0 0 0 .3rem rgba(255,210,63,.35)}}
@media (prefers-reduced-motion:reduce){.ft-mm-daily{animation:none}}
.ft-mm-title{margin:0;font-weight:900;font-style:italic;font-size:2.1rem;line-height:1.08;text-shadow:.3rem .3rem 0 #000}
.ft-mm-sub{margin:0;font-size:1.1rem;line-height:1.35}
/* The Copa Oficial stays on the menu whatever mode is highlighted; locked (dashed, muted) until the Arcade is won. */
.ft-mm-nav{position:absolute;left:34rem;top:7.5rem;display:flex;flex-direction:column}
.ft-mode{height:4.1rem;display:flex!important;align-items:center;margin-left:calc(min(var(--i),6 - var(--i)) * 1rem)!important;font-weight:900!important;font-style:italic!important;font-size:3.9rem!important;text-transform:uppercase;letter-spacing:.01em;color:rgba(59,36,12,.78)!important;text-shadow:.4rem .4rem 0 rgba(0,0,0,.3);white-space:nowrap;text-align:left;transition:transform .12s}
.ft-mode.active,.ft-mode:hover{color:var(--yellow)!important;-webkit-text-stroke:.15rem #000;text-shadow:.5rem .5rem 0 #000}
.ft-mode.active{transform:translateX(-.6rem)}
@media (orientation:portrait){
  .ft-menu[data-screen="menu"]{background:linear-gradient(180deg,rgba(255,210,63,0) 40%,rgba(255,194,58,.5) 75%,rgba(14,20,17,.92) 100%),repeating-linear-gradient(180deg,var(--orange) 0 .3rem,#DC7417 .3rem .6rem)}
  .ft-mm-arc{left:calc(50vw - 19.5rem - 30rem);top:calc(50vh - 42.2rem - 46rem);width:100rem;height:80rem}
  .ft-mm-band{width:100vw;height:calc(50vh - 42.2rem + 15.6rem)}
  .ft-mm-head{left:2.4rem;top:max(1.8rem,env(safe-area-inset-top));height:4.4rem}
  .ft-ball-logo{width:4.4rem;height:4.4rem;font-size:.9rem}
  .ft-mm-head h1{font-size:2.9rem}
  .ft-mm-corner{left:2.4rem;right:2.4rem;top:7.2rem;height:auto;display:grid;grid-template-columns:1fr auto}
  .ft-mm-dock-item{height:3.4rem;justify-content:center;font-size:1rem!important;padding:0 .9rem!important}
  .ft-mm-dock-item.side{justify-content:flex-start}
  .ft-mm-dock-item.universe{grid-column:1/-1;border-left:0!important;border-top:.2rem solid rgba(243,233,207,.28)}
  .ft-mm-dock-item.universe:first-child{border-top:0}
  .ft-mm-resume{left:2.4rem;right:2.4rem;top:28.4rem;justify-content:center}
  .ft-mm-ghost{left:auto;right:.6rem;top:16rem;font-size:8rem;max-height:none;writing-mode:horizontal-tb;transform:none;display:none}
  .ft-mm-desc{left:2.4rem;top:17.6rem;width:31rem}
  .ft-mm-title{font-size:2.3rem}
  .ft-mm-nav{left:2.4rem;top:34rem}
  .ft-mode{font-size:3.3rem!important;height:4.8rem}
}

/* ---------- VT1 arc screens: Opciones, Online and the match's pause ---------- */
.ft-arc-bg{position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,210,63,0) 30%,rgba(255,194,58,.4) 66%,rgba(14,20,17,.92) 100%),repeating-linear-gradient(180deg,var(--orange) 0 .3rem,#DC7417 .3rem .6rem)}
.ft-arc-bg::before{content:'';position:absolute;left:calc(50vw - 42.2rem - 62rem);top:calc(50vh - 19.5rem - 30rem);width:94rem;height:100rem;border-radius:50%;background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),linear-gradient(180deg,var(--blue) 0%,var(--blue-d) 100%);box-shadow:.4rem 0 0 var(--cream),1rem 0 0 #000}
.ft-arc-bg::after{content:'';position:absolute;left:0;top:0;width:calc(50vw - 42.2rem + 61rem);height:calc(50vh - 19.5rem + 7.2rem);border-bottom-right-radius:12rem 7.2rem;background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 .2rem,transparent .2rem .5rem),#2A63A6;box-shadow:0 .4rem 0 var(--cream),0 .9rem 0 #000}
.ft-arc-bg.dim{background:rgba(14,20,17,.55)}
.ft-arc-bg.dim::after{display:none}
.ft-arc-head{position:absolute;left:2.6rem;top:1rem;height:5.2rem;display:flex;align-items:center;gap:1.4rem;z-index:2}
.ft-arc-head h1{margin:0;font-weight:900;font-style:italic;font-size:3.8rem;line-height:1;text-shadow:.4rem .4rem 0 #000}
.ft-arc-ghost{position:absolute;left:.4rem;top:8.4rem;writing-mode:vertical-rl;transform:rotate(180deg);font-weight:900;font-style:italic;font-size:9rem;line-height:1;color:rgba(243,233,207,.06);-webkit-text-stroke:.2rem rgba(243,233,207,.28);white-space:nowrap;pointer-events:none;max-height:30rem;overflow:hidden}
.ft-arc-panel{position:absolute;left:11rem;top:11rem;width:21rem;display:flex;flex-direction:column;gap:.8rem}
.ft-arc-title{margin:0;font-weight:900;font-style:italic;font-size:1.9rem;line-height:1.1;text-shadow:.3rem .3rem 0 #000}
.ft-arc-sub{margin:0;font-size:1.1rem;line-height:1.4}
.ft-menu .ft-online-player{display:flex;align-items:center;gap:.9rem;width:100%;box-sizing:border-box;padding:.5rem .9rem .5rem .5rem;border:.2rem solid var(--c,var(--yellow));border-radius:.8rem;background:rgba(10,14,30,.72);text-align:left}
.ft-online-player img{flex:none;width:4.4rem;height:4.4rem;border-radius:.6rem;object-fit:cover;background:var(--c,#333)}
.ft-online-player span{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.ft-online-player small{font-size:.9rem;opacity:.8}
.ft-online-player b{font-size:1.45rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-online-player i{margin-top:.2rem;font-style:normal;font-weight:800;font-size:1rem;color:var(--yellow);white-space:nowrap}
.ft-menu .ft-online-player:hover:not(:disabled){background:rgba(30,36,64,.9)}
.ft-menu .ft-online-player:disabled{cursor:default}
/* Asset credits (Docs/AUDIO_CREDITS.md): plain text, no link (Poki allows no external links). */
.ft-arc-credits{margin:.4rem 0 0;font-size:.9rem;line-height:1.35;color:var(--cream);opacity:.72}
/* Opciones: the privacy policy (fusbolin.com/privacy/), under the credits. */
.ft-arc-panel .ft-privacy{display:inline-block;margin-top:.5rem;font-size:.95rem}
.ft-options{position:absolute;left:38rem;right:4rem;top:8.6rem;display:flex;flex-direction:column;gap:.6rem}
.ft-opt{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:3.8rem;padding:0 1rem 0 1.4rem;background:rgba(14,20,17,.88);border:.2rem solid var(--ink);box-shadow:.3rem .3rem 0 #000}
/* A long label (MÃO DOMINANTE on a phone) takes a second line instead of pushing the picker out of the row. */
.ft-opt-label{flex:1 1 0;min-width:0;font-weight:900;font-style:italic;font-size:1.6rem;line-height:1.05;text-transform:uppercase}
.ft-opt-pick{flex:none;display:flex;align-items:center;gap:.6rem}
.ft-opt-pick b{min-width:13rem;text-align:center;color:var(--yellow);font-weight:900;font-style:italic;font-size:1.5rem;letter-spacing:.04em}
.ft-opt-pick button{width:3rem;height:3rem;font-size:1.2rem!important;color:var(--cream)!important;background:var(--panel)!important;border:.2rem solid var(--edge)!important}
.ft-opt .ft-chip{height:3rem;font-size:1.1rem}
/* Eight rows (a desktop with both regions: touch controls and the server too, plus the language) only fit the 39rem
   screen packed tighter; upright there is room for them as they are. */
.ft-options.dense{gap:.4rem}
.ft-options.dense .ft-opt{height:3.3rem}
.ft-options.dense .ft-opt-pick button{width:2.7rem;height:2.7rem}
.ft-options.dense .ft-opt .ft-chip{height:2.7rem}
.ft-options.ultra{top:7.2rem;gap:.34rem}
.ft-options.ultra .ft-opt{height:2.85rem}
.ft-options.ultra .ft-opt-label{font-size:1.45rem}
.ft-options.ultra .ft-opt-pick b{font-size:1.35rem}
.ft-options.ultra .ft-opt-pick button,.ft-options.ultra .ft-opt .ft-chip{height:2.4rem}
.ft-options.ultra .ft-opt-pick button{width:2.55rem}
@media (orientation:portrait){
  .ft-arc-bg::before{left:calc(50vw - 19.5rem - 34rem);top:calc(50vh - 42.2rem - 46rem);width:100rem;height:76rem}
  .ft-arc-bg::after{width:100vw;height:calc(50vh - 42.2rem + 9rem)}
  .ft-arc-head{left:2.4rem;top:max(2rem,env(safe-area-inset-top))}
  .ft-arc-head h1{font-size:3.2rem}
  .ft-arc-ghost{display:none}
  .ft-arc-panel{left:2.4rem;right:2.4rem;top:11rem;width:auto}
  .ft-options,.ft-options.ultra{left:2.4rem;right:2.4rem;top:34rem}
  .ft-opt,.ft-options.dense .ft-opt,.ft-options.ultra .ft-opt{height:4.4rem}
  .ft-options.dense,.ft-options.ultra{gap:.52rem}
  .ft-options.ultra .ft-opt-pick button,.ft-options.ultra .ft-opt .ft-chip{height:3rem}
  .ft-options.ultra .ft-opt-pick button{width:3rem}
  .ft-opt-pick b{min-width:12rem}
}

/* ---------- Online ---------- */
.ft-online{position:absolute;left:38rem;right:4rem;top:6.2rem;bottom:1.2rem;display:flex;flex-direction:column;gap:.48rem}
/* Nothing on it shrinks (a squeezed row drew under «Find a rival»): a short screen scrolls it instead. */
.ft-online{overflow-y:auto;overscroll-behavior:contain}
.ft-online>*{flex-shrink:0}
.ft-online .ft-cta.wide>span{height:4.6rem;gap:.1rem}
.ft-online-row{display:flex;align-items:center;gap:.8rem}
.ft-online-row .ft-seg button{height:3.2rem;padding:0 .95rem;font-size:1.18rem!important}
.ft-online-row .ft-input{width:13rem;height:3.3rem;font-size:1.4rem}
.ft-online-row .ft-chip{height:3.3rem}
.ft-online-label{font-weight:900;font-style:italic;font-size:1.6rem;text-transform:uppercase;text-shadow:.3rem .3rem 0 #000;min-width:8.2rem}
.ft-online-note{margin:0;font-size:.94rem;line-height:1.22;color:var(--ink);font-weight:600;max-width:40rem}
.ft-online-error{margin:0;padding:.4rem .8rem;background:var(--ink);color:var(--yellow);font-size:1.1rem;font-weight:700}
.ft-online-barrio{margin:.6rem 0 0;padding:.35rem .8rem;background:var(--ink);font-size:.92rem;font-weight:700;letter-spacing:.08em;line-height:1.4}
.ft-online-barrio span,.ft-online-barrio b{color:var(--live)}
.ft-online-busy{display:flex;flex-direction:column;align-items:flex-start;gap:1.1rem;padding:1.5rem;background:rgba(14,20,17,.9);border:.2rem solid var(--cream);box-shadow:.4rem .4rem 0 #000}
.ft-online-busy .ft-live{font-size:1.2rem;letter-spacing:.04em;text-transform:none;white-space:normal;line-height:1.35}
.ft-online-code{margin:0;font-size:1.4rem;font-weight:700;letter-spacing:.14em}
.ft-online-code b{font-size:3.2rem;font-style:italic;color:var(--yellow);letter-spacing:.08em}
.ft-online-rules-chip{height:auto!important;min-height:3.2rem;padding:.45rem .95rem!important;white-space:normal!important;line-height:1.25;font-size:1rem!important;max-width:100%}
.ft-online-rules{padding:.38rem .48rem;background:rgba(14,20,17,.86);border:.18rem solid var(--ink);box-shadow:.3rem .3rem 0 #000}
@media (orientation:portrait){
  .ft-online{left:2.4rem;right:2.4rem;top:30.6rem;bottom:max(2rem,env(safe-area-inset-bottom));gap:.75rem;overflow-y:auto;padding-right:.2rem}
  .ft-online-note{color:var(--cream);text-shadow:.15rem .15rem 0 #000}
}

/* ---------- 3D stage screens: Jugador, Rival, La Pilcha ---------- */
.ft-menu:not(.stage-3d)[data-screen="jugador"],.ft-menu:not(.stage-3d)[data-screen="rival"],.ft-menu:not(.stage-3d)[data-screen="armado"]{background:repeating-linear-gradient(-12deg,var(--ink) 0 6rem,var(--ink2) 6rem 12rem)}
/* The 3D window: Unity draws the players behind the menu; everything around the window is covered by its own shadow. */
.ft-menu.stage-3d .ft-stage3d{box-shadow:0 0 0 300vmax rgba(14,20,17,.94);z-index:-1}
.ft-stage3d{position:absolute;left:4rem;top:6.2rem;width:43.4rem;height:31.2rem;overflow:hidden;border:.2rem dashed rgba(243,233,207,.35);background:linear-gradient(180deg,rgba(14,20,17,0) 55%,rgba(14,20,17,.85))}
.ft-menu:not(.scene-ready) .ft-stage3d{background:linear-gradient(180deg,rgba(47,109,181,.35),rgba(14,20,17,0) 70%),repeating-linear-gradient(45deg,#17221C 0 1rem,#1C2A22 1rem 2rem)}
.ft-stage-ghost{position:absolute;left:-.6rem;top:.6rem;font-weight:900;font-style:italic;font-size:9.2rem;line-height:.85;text-transform:uppercase;color:rgba(243,233,207,.07);white-space:nowrap;pointer-events:none}
.ft-stage-note{position:absolute;right:1.2rem;top:1rem;font-size:.9rem;font-weight:700;letter-spacing:.14em;color:var(--muted)}
.ft-ficha{position:absolute;left:1.6rem;bottom:1.6rem;width:21.4rem;display:flex;flex-direction:column;gap:.65rem}
.ft-style-trait{font-size:.98rem;font-weight:700;line-height:1.25;color:var(--yellow);text-shadow:.15rem .15rem 0 #000}
.ft-ficha-top{display:flex;align-items:center;gap:.8rem;font-size:1.1rem;font-weight:500}
.ft-quip{margin:0;font-weight:700;font-style:italic;font-size:1.25rem;line-height:1.15;color:var(--paper);text-shadow:.15rem .15rem 0 #000}
.ft-ficha-name{font-weight:900;font-style:italic;text-transform:uppercase;font-size:3.4rem;line-height:.88;text-shadow:.3rem .3rem 0 #000}
.ft-stats{display:flex;flex-direction:column;gap:.5rem;margin-top:.4rem}
.ft-stat{display:grid;grid-template-columns:7rem 1fr;align-items:center;gap:.8rem;font-size:.9rem;font-weight:700;letter-spacing:.08em}
.ft-stat b{font-size:1rem;font-weight:900}
.ft-bars{display:flex;gap:.3rem}
.ft-bars i{flex:1;height:.7rem;background:var(--line)}
.ft-bars i.on{background:var(--cream)}
.ft-roster{position:absolute;left:49.4rem;top:6.2rem;width:31rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.ft-tile{position:relative;height:9.6rem;padding:0!important;border:.2rem solid var(--line)!important;background:var(--panel)!important;overflow:hidden;color:var(--cream)!important;box-sizing:border-box}
.ft-tile img{width:100%;height:100%;object-fit:cover}
.ft-tile>span{position:absolute;left:0;right:0;bottom:0;padding:.3rem 0;background:rgba(14,20,17,.85);font-weight:900;font-style:italic;font-size:1.2rem;text-transform:uppercase;text-align:center;white-space:nowrap;overflow:hidden}
.ft-tile.on{border:.4rem solid var(--c,var(--red))!important;box-shadow:.4rem .4rem 0 #000}
.ft-tile.on>span{background:var(--c,var(--red))}
.ft-tile-tag{position:absolute;left:0;top:0;padding:.2rem .6rem;background:var(--c,var(--red));font-weight:900;font-size:1.1rem}
.ft-tile.add,.ft-tile.random{border:.2rem dashed var(--yellow)!important;background:var(--ink2)!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:.4rem}
.ft-tile.add b,.ft-tile.random b{font-weight:900;font-style:italic;font-size:3.8rem;line-height:1;color:var(--yellow)}
.ft-tile.add span,.ft-tile.random span{position:static;background:none;font-size:1rem;font-weight:700;font-style:normal;letter-spacing:.1em;padding:0}
/* The 19 faces plus your player / random fit three rows; the name is on the ficha or face-off. */
.ft-roster.cast16{grid-template-columns:repeat(7,minmax(0,1fr));gap:.6rem}
.ft-roster.cast16 .ft-tile{height:6.4rem}
.ft-roster.cast16 .ft-tile.on{border-width:.3rem!important;box-shadow:.3rem .3rem 0 #000}
.ft-roster.cast16 .ft-tile-tag{font-size:.9rem;padding:.1rem .4rem}
.ft-roster.cast16 .ft-tile.add b,.ft-roster.cast16 .ft-tile.random b{font-size:2.4rem}
.ft-roster.cast16 .ft-tile.add span,.ft-roster.cast16 .ft-tile.random span{font-size:.75rem;letter-spacing:.04em;line-height:1;white-space:normal;text-align:center}
.ft-s-jugador .ft-hint{position:absolute;left:49.4rem;top:27.4rem;width:31rem}
.ft-s-jugador .ft-actions{left:49.4rem;right:auto;width:31rem;top:30.6rem;bottom:auto}
.ft-s-jugador .ft-actions .ft-cta{flex:1;min-width:0}
@media (orientation:portrait){
  .ft-stage3d{left:2.4rem;right:2.4rem;width:auto;top:11rem;height:31.4rem}
  .ft-ficha{width:auto;right:1.6rem}
  .ft-ficha-name{font-size:3rem}
  .ft-roster{left:2.4rem;right:2.4rem;width:auto;top:44rem}
  .ft-tile{height:10rem}
  .ft-roster.cast16 .ft-tile{height:6.8rem}
  .ft-s-jugador .ft-hint{left:2.4rem;right:2.4rem;width:auto;top:66.4rem}
  .ft-s-jugador .ft-actions{left:2.4rem;right:2.4rem;width:auto;top:auto;bottom:max(2.4rem,env(safe-area-inset-bottom))}
}

/* La Pilcha */
.ft-nick{display:flex;align-items:center;gap:.8rem;font-size:1rem;font-weight:700;letter-spacing:.14em;color:var(--orange)}
.ft-nick .ft-input{width:15rem;height:3.6rem;font-size:1.5rem}
.ft-tabs{position:absolute;left:4rem;top:6.4rem;width:12rem;display:flex;flex-direction:column;gap:.6rem}
.ft-tabs[hidden]{display:none}
.ft-tabs button{height:4rem;padding:0 1.2rem!important;text-align:left;font-weight:900!important;font-style:italic!important;font-size:1.6rem!important;text-transform:uppercase;background:var(--panel)!important;border:.2rem solid var(--line)!important}
.ft-tabs button.on{background:var(--cream)!important;color:var(--ink)!important;border-color:var(--cream)!important;box-shadow:.3rem .3rem 0 #000}
.ft-stage3d.small{left:17.4rem;width:28rem;top:6.4rem;height:28.6rem}
.ft-stage3d.small .ft-sticker{position:absolute;right:1rem;top:3.2rem;font-size:1rem;transform:rotate(2deg)}
.ft-armado-pick{position:absolute;left:47rem;right:4rem;top:6.4rem;height:22rem;overflow-y:auto;display:flex;flex-direction:column;gap:.6rem;padding-right:.4rem}
.ft-choice{display:flex;flex-wrap:wrap;gap:.6rem}
.ft-choice button{position:relative;min-height:3.6rem;padding:.4rem 1.1rem!important;background:var(--panel)!important;border:.2rem solid var(--line)!important;font-weight:900!important;font-style:italic!important;font-size:1.3rem!important;text-transform:uppercase;display:inline-flex!important;align-items:center;gap:.6rem}
.ft-choice button.on{background:var(--cream)!important;color:var(--ink)!important;border-color:var(--cream)!important;box-shadow:.3rem .3rem 0 #000}
.ft-choice button.locked{color:var(--muted)!important;border-style:dashed!important}
.ft-choice button.locked svg{width:1.2rem;height:1.2rem;fill:var(--muted)}
.ft-choice.small button{min-height:3rem;font-size:1.1rem!important;padding:.3rem .8rem!important}
.ft-choice.faces{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem}
.ft-choice.faces button{flex-direction:column;gap:.2rem;padding:.3rem!important;font-size:.66rem!important;min-width:0}
.ft-choice.faces img{width:100%;aspect-ratio:1;height:auto;object-fit:cover}
.ft-choice.faces span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft-choice.styles button{flex-direction:column;align-items:flex-start;width:100%}
.ft-choice.styles small{font-size:1rem;font-weight:700;font-style:normal;letter-spacing:.06em;opacity:.85}
.ft-choice-label{font-size:.9rem;font-weight:700;letter-spacing:.2em;color:var(--orange)}
.ft-armado-sum{position:absolute;left:47rem;right:4rem;top:29.2rem;margin:0;font-size:1rem;letter-spacing:.06em;color:var(--muted)}
.ft-armado-sum b{color:var(--cream)}
.ft-s-armado .ft-hint.left{position:absolute;left:4rem;width:41rem;bottom:1.6rem}
@media (orientation:portrait){
  .ft-nick{width:100%;order:4}
  .ft-nick .ft-input{flex:1}
  .ft-tabs{left:2.4rem;right:2.4rem;width:auto;top:16.6rem;flex-direction:row;overflow-x:auto}
  .ft-tabs button{flex:none;font-size:1.3rem!important;height:3.6rem}
  .ft-stage3d.small{left:2.4rem;right:2.4rem;width:auto;top:21.6rem;height:24rem}
  .ft-armado-pick{left:2.4rem;right:2.4rem;top:47rem;height:20rem}
  .ft-armado-sum{left:2.4rem;right:2.4rem;top:68rem}
  .ft-s-armado .ft-hint.left{left:2.4rem;right:2.4rem;width:auto;bottom:10rem}
}

/* Exhibición: formato and rival */
.ft-menu[data-screen="formato"]{background:repeating-linear-gradient(-12deg,var(--ink) 0 6rem,var(--ink2) 6rem 12rem)}
.ft-formats{position:absolute;left:4rem;right:4rem;top:6.4rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.ft-card{display:flex!important;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:.3rem;height:9.8rem;padding:1.1rem 1.25rem!important;text-align:left;background:linear-gradient(160deg,var(--panel),var(--ink))!important;border:.2rem solid var(--line)!important;box-sizing:border-box;width:100%}
.ft-card b{font-weight:900;font-style:italic;font-size:2.15rem;line-height:.95;text-transform:uppercase}
.ft-card small{font-size:1.02rem;color:var(--muted);font-weight:500}
.ft-card.on{border:.4rem solid var(--yellow)!important;box-shadow:.5rem .5rem 0 #000}
.ft-card.on b::before{content:'✓ ';color:var(--yellow)}
.ft-card-wrap{display:flex;flex-direction:column;gap:.55rem}
.ft-card-wrap .ft-card{height:5.85rem;padding:.8rem 1.2rem!important}
.ft-card-wrap .ft-seg{align-self:stretch}
.ft-card-wrap .ft-seg button{flex:1;height:3.4rem}
.ft-card-wrap .ft-seg button{white-space:nowrap;padding:0 .6rem!important}
.ft-friend-seg button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;height:3.8rem!important;line-height:1}
.ft-friend-seg button small{font-size:.85rem!important;font-style:normal;font-weight:700;letter-spacing:.02em;text-transform:none;opacity:.85}
.ft-exh-opts{position:absolute;left:4rem;right:4rem;top:17.2rem;display:flex;flex-direction:column;gap:.7rem}
.ft-exh-top{display:flex;align-items:center;flex-wrap:nowrap;gap:1.1rem}
.ft-opt-group{display:flex;align-items:center;gap:.55rem;min-width:0}
.ft-opt-group>span:first-child{flex:none;padding-right:.15rem;font-weight:900;font-style:italic;font-size:1.3rem;white-space:nowrap}
.ft-opt-group .ft-seg button{height:3.1rem;padding:0 .65rem;font-size:1.1rem!important;white-space:nowrap}
.ft-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem .85rem}
.ft-rule-cell{display:flex;align-items:center;justify-content:space-between;gap:.5rem;height:3.4rem;padding:0 .7rem;background:rgba(14,20,17,.82);border:.16rem solid var(--line);box-sizing:border-box;min-width:0}
.ft-rule-lbl{font-weight:800;font-style:italic;font-size:1.05rem;line-height:1.05;text-transform:uppercase;color:var(--cream);min-width:0}
.ft-seg.compact{flex:none;box-shadow:.2rem .2rem 0 #000;border-width:.16rem}
.ft-seg.compact button{height:2.5rem;padding:0 .65rem;font-size:1.05rem!important}
.ft-seg.compact button+button{border-left-width:.16rem!important}
.ft-rules-grid.doubles:not(.online){grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem .65rem}
.ft-rules-grid.doubles:not(.online) .ft-rule-cell{flex-direction:column;align-items:stretch;justify-content:center;height:auto;padding:.34rem .52rem;gap:.24rem}
.ft-rules-grid.doubles:not(.online) .ft-rule-lbl{font-size:.88rem;letter-spacing:.03em;color:var(--muted)}
.ft-rules-grid.doubles:not(.online) .ft-seg.compact{display:flex;width:100%;min-width:0}
.ft-rules-grid.doubles:not(.online) .ft-seg.compact button{flex:1 1 auto;min-width:0;height:2.25rem;padding:0 .38rem;font-size:.98rem!important;white-space:nowrap}
.ft-rules-grid.doubles:not(.online) .ft-rule-cell.ball{grid-column:span 2}
.ft-rules-grid.online{grid-template-columns:repeat(3,minmax(0,1fr));gap:.32rem .42rem}
.ft-rules-grid.online .ft-rule-cell.ball{grid-column:span 2}
.ft-rules-grid.online .ft-rule-cell{flex-direction:column;align-items:stretch;justify-content:center;height:auto;padding:.26rem .42rem;gap:.18rem;background:rgba(28,42,34,.78);overflow:hidden}
.ft-rules-grid.online .ft-rule-lbl{font-size:.82rem;letter-spacing:.04em;color:var(--muted)}
.ft-rules-grid.online .ft-seg.compact{display:flex;width:100%;min-width:0}
.ft-rules-grid.online .ft-seg.compact button{flex:1 1 auto;min-width:0;height:1.95rem;padding:0 .28rem;font-size:.88rem!important;white-space:nowrap}
.ft-exh-opts .ft-hint{max-width:51rem;font-size:1.08rem}
.ft-s-rival .ft-stage3d.wide{left:4rem;right:4rem;width:auto;top:6.4rem;height:17rem;border-style:dashed}
.ft-face-off{position:absolute;bottom:1.4rem;display:flex;flex-direction:column;gap:.4rem}
.ft-face-off.left{left:1.6rem}.ft-face-off.right{right:1.6rem;align-items:flex-end}
.ft-face-off b{font-weight:900;font-style:italic;font-size:2.6rem;line-height:.9;text-transform:uppercase;text-shadow:.3rem .3rem 0 #000}
.ft-face-off small{font-size:1rem;font-weight:700;letter-spacing:.1em;color:var(--muted)}
.ft-face-off .ft-tag{align-self:inherit}
.ft-vs-small{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-4deg);font-weight:900;font-style:italic;font-size:5rem;color:var(--yellow);-webkit-text-stroke:.15rem #000;text-shadow:.5rem .5rem 0 #000}
.ft-roster.row{left:4rem;right:27rem;width:auto;top:27.8rem;grid-template-columns:repeat(6,1fr);gap:.8rem}
.ft-roster.row .ft-tile{height:8.2rem}
.ft-roster.row.cast16{top:24.6rem;grid-template-columns:repeat(10,minmax(0,1fr))}
.ft-roster.row.cast16 .ft-tile{height:5.8rem}
.ft-s-rival .ft-actions{bottom:3rem}
@media (orientation:portrait){
  .ft-formats{left:2.4rem;right:2.4rem;top:13.2rem;grid-template-columns:1fr;gap:.5rem}
  .ft-card{height:5.5rem;padding:.7rem 1.1rem!important}
  .ft-card b{font-size:1.85rem}
  .ft-card small{font-size:.98rem}
  .ft-card-wrap{gap:.42rem}
  .ft-card-wrap .ft-card{height:5.2rem}
  .ft-card-wrap .ft-seg button{height:2.8rem}
  .ft-exh-opts{left:2.4rem;right:2.4rem;top:34.6rem;gap:.46rem}
  .ft-exh-top{flex-direction:column;align-items:stretch;gap:.42rem}
  .ft-opt-group{justify-content:space-between;gap:.6rem}
  .ft-opt-group>span:first-child{min-width:5.2rem;font-size:1.25rem}
  .ft-opt-group .ft-seg{flex:1}
  .ft-opt-group .ft-seg button{flex:1;height:2.85rem;padding:0 .45rem;font-size:1.04rem!important}
  .ft-rules-grid{grid-template-columns:1fr 1fr;gap:.44rem}
  .ft-rules-grid.doubles:not(.online){grid-template-columns:1fr 1fr;gap:.42rem}
  .ft-rules-grid.doubles .ft-rule-cell.ball,.ft-rules-grid.online .ft-rule-cell.ball{grid-column:1 / -1}
  .ft-rule-cell{flex-direction:column;align-items:stretch;justify-content:center;height:auto;padding:.34rem .5rem;gap:.24rem}
  .ft-rule-lbl{font-size:.88rem;color:var(--muted)}
  .ft-seg.compact{display:flex;width:100%}
  .ft-seg.compact button{flex:1 1 auto;min-width:0;height:2.35rem;padding:0 .3rem;font-size:.94rem!important;white-space:nowrap}
  .ft-rules-grid.online,.ft-rules-grid.online.doubles{grid-template-columns:1fr 1fr;gap:.42rem}
  .ft-rules-grid.online .ft-seg.compact button{height:2.35rem;font-size:.96rem!important}
  .ft-exh-opts .ft-hint{max-width:none;font-size:1.02rem}
  .ft-s-rival .ft-stage3d.wide{left:2.4rem;right:2.4rem;top:16rem;height:36rem}
  .ft-roster.row{left:2.4rem;right:2.4rem;top:54rem;grid-template-columns:repeat(3,1fr)}
  .ft-roster.row .ft-tile{height:9rem}
  .ft-roster.row.cast16{top:53.6rem;grid-template-columns:repeat(7,minmax(0,1fr))}
  .ft-roster.row.cast16 .ft-tile{height:6.6rem}
  .ft-s-rival .ft-actions{bottom:max(2.4rem,env(safe-area-inset-bottom))}
}

/* The coin (club coins, the Arcade's) and the small round faces (Copa pairs, World Tour, the stages' switch). */
.ft-coin{width:2.2rem;height:2.2rem;background:var(--yellow);border:.2rem solid #000;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.ft-coin::after{content:'';width:.8rem;height:.8rem;border-radius:50%;background:var(--ink)}
.ft-face.mini{width:2.8rem;height:2.8rem;border-radius:50%;border:.2rem solid var(--edge);filter:grayscale(.7)}

/* ---------- Arcade stages and the Copa's way ---------- */
.ft-menu[data-screen="etapas"],.ft-menu[data-screen="historia"],.ft-menu[data-screen="bonus"],.ft-menu[data-screen="copa"],.ft-menu[data-screen="entrenamiento"],.ft-menu[data-screen="fixture"]{background:var(--ink)}
.ft-clasico-arc{position:absolute;left:4rem;right:4rem;top:6.2rem;margin:0;text-align:center;font-weight:900;font-style:italic;font-size:1.2rem;letter-spacing:.08em;color:var(--red)}
.ft-stages{position:absolute;left:4rem;right:4rem;top:8.6rem;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:1.2rem}
.ft-stage,.ft-round{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;padding:1rem;background:var(--panel);border:.2rem solid var(--line);min-width:0;box-sizing:border-box}
.ft-stage-n{font-size:1rem;font-weight:700;letter-spacing:.14em;color:var(--orange);white-space:nowrap}
.ft-stage-face{position:relative;display:block;width:100%;aspect-ratio:1/1;border:.3rem solid var(--c);box-sizing:border-box;background:var(--ink);overflow:visible}
.ft-stage-face img{width:100%;height:100%}
/* Copa: the two who can still be your rival in a later round, side by side */
.ft-pair{display:flex;width:100%;height:100%}
.ft-stage-face .ft-pair img.ft-face.mini{width:50%;height:100%;border:0;border-radius:0;filter:grayscale(.6) brightness(.8)}
.ft-stage-name{font-weight:900;font-style:italic;font-size:1.8rem;line-height:1;text-transform:uppercase;white-space:nowrap}
.ft-stage-name.pair{font-size:1.3rem;white-space:normal}
.ft-stage-venue{display:block;font-style:normal;font-weight:800;font-size:.95rem;letter-spacing:.08em;text-transform:uppercase;color:var(--yellow,#FFD23F);opacity:.85;line-height:1.2}
.ft-stage small,.ft-round small{font-size:1rem;font-weight:700;letter-spacing:.06em;color:var(--muted);line-height:1.25}
.ft-stage.now,.ft-round.now{border:.4rem solid var(--yellow);box-shadow:.5rem .5rem 0 #000;transform:translateY(-.6rem)}
.ft-stage.now small,.ft-round.now small{color:var(--yellow)}
.ft-stage.done small,.ft-round.done small{color:var(--live)}
.ft-round.lost small{color:var(--red)}
.ft-check{position:absolute;right:-.8rem;top:-.8rem;width:2.8rem;height:2.8rem;border-radius:50%;background:var(--live);color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:1.6rem;border:.2rem solid #000}
.ft-stage.boss{border:.2rem dashed var(--red)}
.ft-stage.boss.now{border:.4rem solid var(--yellow)}
.ft-stage.boss .ft-stage-face img{filter:grayscale(.6) brightness(.7)}
.ft-stage.boss.now .ft-stage-face img{filter:none}
.ft-boss{position:absolute;left:-1rem;top:-.8rem;padding:.2rem .8rem;background:var(--ink);color:var(--yellow);border:.2rem solid var(--yellow);font-weight:900;font-style:italic;font-size:1.4rem;transform:rotate(-8deg)}
.ft-q{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:5rem;font-weight:900;font-style:italic;color:var(--muted)}
.ft-revanchas{position:absolute;left:4rem;bottom:2rem;display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1rem;width:36rem}
.ft-revanchas small{flex-basis:100%}
.ft-s-etapas .ft-stage-face{aspect-ratio:5/4}
.ft-s-etapas .ft-stage-face img{object-fit:cover;object-position:50% 25%}
.ft-revanchas b{font-weight:900;font-style:italic;font-size:1.6rem}
.ft-revanchas span{color:var(--yellow);font-size:1.8rem;letter-spacing:.2em}
.ft-revanchas small{font-size:1.1rem;color:var(--muted)}
.ft-stages.copa{grid-template-columns:repeat(5,1fr)}
.ft-round.clasico{border-color:var(--red)}
.ft-round.prize{background:linear-gradient(160deg,#2A2310,var(--ink));border-color:var(--yellow);align-items:center;justify-content:center;text-align:center}
.ft-round.prize .ft-trophy svg{width:7rem;height:7rem;fill:var(--yellow);stroke:#000;stroke-width:.8}
.ft-trophy svg{fill:var(--yellow)}
.ft-copa-foot{position:absolute;left:4rem;bottom:2rem;width:40rem;display:flex;flex-direction:column;gap:.5rem}
/* The Arcade's side: you play as your captain (cream plate); the other captain's tile switches sides. */
.ft-arc-side{margin-left:auto;display:flex;align-items:stretch;gap:.6rem;height:4.4rem}
.ft-arc-me,.ft-arc-swap{display:flex;align-items:center;gap:.7rem;box-sizing:border-box;box-shadow:.3rem .3rem 0 #000}
.ft-arc-me{padding:0 1.3rem 0 .3rem;background:var(--cream);color:var(--ink)}
.ft-arc-me img{width:3.8rem;height:3.8rem;border:.2rem solid var(--c);background:var(--ink);box-sizing:border-box}
.ft-arc-me>span,.ft-arc-swap>span{display:flex;flex-direction:column;align-items:flex-start;line-height:1}
.ft-arc-side small{font-size:.8rem;font-weight:800;letter-spacing:.16em;white-space:nowrap}
.ft-arc-me b{font-weight:900;font-style:italic;font-size:1.8rem;text-transform:uppercase;white-space:nowrap}
.ft-arc-swap{padding:0 1.1rem 0 .3rem;background:var(--panel);border:.2rem solid var(--line);color:var(--cream);font:inherit;cursor:pointer}
.ft-arc-swap img{width:3.2rem;height:3.2rem;border:.2rem solid var(--c);background:var(--ink);box-sizing:border-box;filter:grayscale(.45)}
.ft-arc-swap small{color:var(--muted)}
.ft-arc-swap b{font-weight:900;font-style:italic;font-size:1.3rem;text-transform:uppercase;white-space:nowrap}
.ft-arc-swap:hover,.ft-arc-swap:focus-visible{border-color:var(--yellow)}
.ft-arc-swap:hover img,.ft-arc-swap:focus-visible img{filter:none}
.ft-arc-note{position:absolute;left:42rem;width:16rem;bottom:2rem;margin:0;font-size:1rem;line-height:1.35;color:var(--muted)}
.ft-saved{color:var(--live);font-weight:900;font-style:italic;font-size:1.3rem;letter-spacing:.06em}
.ft-copa-foot small{font-size:1.1rem;color:var(--muted);line-height:1.35}
@media (orientation:portrait){
  .ft-clasico-arc{left:2.4rem;right:2.4rem;top:12rem;font-size:1.1rem}
  .ft-stages{left:2.4rem;right:2.4rem;top:15rem;grid-template-columns:1fr;gap:.8rem}
  .ft-stage,.ft-round{display:grid;grid-template-columns:7rem 1fr;grid-template-rows:auto auto auto;column-gap:1.2rem;row-gap:.2rem;align-items:center;padding:.8rem}
  .ft-stage-face{grid-row:1/4;grid-column:1;width:7rem}
  .ft-stage-n{grid-column:2}
  .ft-stage.now,.ft-round.now{transform:none}
  .ft-round.prize{display:flex;flex-direction:row;gap:1.2rem}
  .ft-round.prize .ft-trophy svg{width:4rem;height:4rem}
  .ft-revanchas,.ft-copa-foot{left:2.4rem;right:2.4rem;width:auto;bottom:11rem}
  .ft-stages.copa{grid-template-columns:1fr;top:17rem}
  /* The stages upright: the side under the title (HISTORIA beside it), five short rows, the note, the revanchas. */
  .ft-s-etapas .ft-arc-side{margin-left:0;order:3;height:3.8rem;gap:.5rem}
  .ft-s-etapas .ft-bar>.ft-chip{order:4;margin-left:auto}
  .ft-arc-me{padding-right:.9rem}.ft-arc-me img{width:3.2rem;height:3.2rem}.ft-arc-me b{font-size:1.4rem}
  .ft-arc-swap{padding-right:.8rem}.ft-arc-swap img{width:2.6rem;height:2.6rem}.ft-arc-swap b{font-size:1.05rem}
  .ft-arc-side small{font-size:.7rem;letter-spacing:.12em}
  .ft-s-etapas .ft-clasico-arc{top:12.8rem}
  .ft-s-etapas .ft-stages{top:16rem;gap:.6rem}
  .ft-s-etapas .ft-stage{grid-template-columns:5.2rem 1fr;grid-template-rows:auto auto auto auto;row-gap:.15rem;padding:.6rem .8rem}
  .ft-s-etapas .ft-stage>:not(.ft-stage-face){grid-column:2}
  .ft-s-etapas .ft-stage-face{grid-row:1/5;width:5.2rem}
  .ft-s-etapas .ft-stage-name{font-size:1.5rem}
  .ft-s-etapas .ft-boss{font-size:1rem;left:-.6rem;top:-.6rem;padding:.1rem .5rem}
  .ft-s-etapas .ft-check{width:2.2rem;height:2.2rem;font-size:1.2rem;right:-.6rem;top:-.6rem}
  .ft-arc-note{left:2.4rem;right:2.4rem;width:auto;bottom:19.4rem}
  .ft-s-etapas .ft-stage-face{aspect-ratio:1/1}
  .ft-opt.howto{flex-wrap:wrap;row-gap:.6rem;height:auto!important;padding-top:.8rem;padding-bottom:.8rem;justify-content:flex-start}
  .ft-opt.howto .ft-opt-label{flex-basis:100%}
}

/* ---------- VS ---------- */
.ft-menu[data-screen="vs"]{background:#000}
.ft-vs-half{position:fixed;inset:0;z-index:-1}
.ft-vs-half.left{clip-path:polygon(0 0,55.4% 0,43.4% 100%,0 100%);background:linear-gradient(135deg,var(--c) 0%,var(--d) 85%)}
.ft-vs-half.right{clip-path:polygon(56.6% 0,100% 0,100% 100%,44.6% 100%);background:linear-gradient(225deg,var(--c) 0%,var(--d) 85%)}
.ft-vs-band{position:fixed;left:0;right:0;top:0;height:3rem;background:var(--ink);display:flex;align-items:center;justify-content:center;gap:1rem;font-size:1.1rem;font-weight:700;letter-spacing:.2em}
.ft-vs-band i{font-style:normal}
.ft-vs-band .red{color:var(--red)}
.ft-vs-p{position:absolute;top:5.2rem;width:25rem;display:flex;flex-direction:column;gap:1rem}
.ft-vs-p.left{left:5.8rem;align-items:flex-start}
.ft-vs-p.right{right:5.8rem;align-items:flex-end}
.ft-face.vs{width:15rem;height:15rem;border:.5rem solid var(--cream);box-shadow:.8rem .8rem 0 #000;transform:rotate(-4deg)}
.ft-vs-p.right .ft-face.vs{transform:rotate(4deg)}
.ft-face.vs.gold{border-color:var(--yellow)}
.ft-boss-wrap{position:relative;display:block}
.ft-boss-wrap .ft-boss{left:-1.6rem}
.ft-vs-p>b{font-weight:900;font-style:italic;font-size:4.2rem;line-height:.9;text-transform:uppercase;text-shadow:.4rem .4rem 0 #000;margin-top:.8rem;white-space:nowrap}
.ft-vs-big{position:absolute;left:0;right:0;top:10.6rem;text-align:center;font-weight:900;font-style:italic;font-size:11.8rem;line-height:1;color:var(--yellow);text-shadow:.6rem .6rem 0 #000,-.2rem -.2rem 0 #000,.2rem -.2rem 0 #000,-.2rem .2rem 0 #000;transform:rotate(-4deg);pointer-events:none}
.ft-stamp{position:absolute;left:50%;top:4.6rem;transform:translateX(-50%) rotate(-4deg);padding:.2rem 1.2rem;background:var(--paper);color:var(--stamp);border:.3rem solid var(--stamp);font-weight:900;font-style:italic;font-size:2.4rem;text-transform:uppercase;box-shadow:.4rem .4rem 0 #000;white-space:nowrap}
.ft-record{position:absolute;left:30.2rem;top:24.4rem;width:24rem;padding:.6rem 1rem;background:var(--ink);border:.2rem solid var(--cream);box-shadow:.4rem .4rem 0 #000;display:flex;flex-direction:column;align-items:center;gap:.2rem;box-sizing:border-box}
.ft-record>span{font-size:.9rem;font-weight:700;letter-spacing:.18em;color:var(--muted)}
.ft-record b{display:flex;align-items:baseline;gap:.8rem;font-weight:900;font-style:italic;font-size:2.6rem;line-height:1;text-transform:uppercase}
.ft-record b i{font-size:1.2rem;font-style:italic}
.ft-record .blue{color:#9CC3F0}.ft-record .red{color:#F0A090}
.ft-record small{font-size:.9rem;color:var(--muted);text-align:center}
.ft-vs-foot{position:fixed;left:0;right:0;bottom:0;height:5.2rem;background:var(--ink);display:flex;align-items:center;gap:1.6rem;padding:0 max(4rem,calc(50vw - 38.2rem));box-sizing:border-box}
.ft-vs-foot>div{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.ft-vs-foot>div span{font-size:1.1rem;font-weight:700}
.ft-vs-foot>div small{font-size:1rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-vs-foot .ft-cta{margin-left:auto;filter:drop-shadow(.4rem .4rem 0 #000)}
.ft-vs-foot .ft-cta>span{height:4.4rem;font-size:1.5rem;clip-path:none}
@media (orientation:portrait){
  .ft-vs-half.left{clip-path:polygon(0 0,100% 0,100% 46.6%,0 52.6%);background:linear-gradient(180deg,var(--c),var(--d))}
  .ft-vs-half.right{clip-path:polygon(0 53.8%,100% 47.8%,100% 100%,0 100%);background:linear-gradient(0deg,var(--d),var(--c))}
  .ft-vs-band{top:env(safe-area-inset-top);font-size:1rem;letter-spacing:.12em}
  .ft-vs-p{width:auto}
  .ft-vs-p.left{left:2.4rem;top:7rem}
  .ft-vs-p.right{right:2.4rem;top:auto;bottom:16rem}
  .ft-vs-big{top:34rem}
  .ft-stamp{top:31rem}
  .ft-record{left:7.5rem;top:47rem}
  .ft-vs-foot{flex-direction:column;height:auto;padding:1.2rem 2.4rem max(2rem,env(safe-area-inset-bottom));align-items:stretch;gap:1rem}
  .ft-vs-foot .ft-cta{margin-left:0}
}

/* ---------- ¡Campeón! ---------- */
.ft-menu[data-screen="campeon"]{background:repeating-conic-gradient(from 0deg at 30% 58%,var(--orange) 0deg 9deg,#FFC23A 9deg 18deg)}
.ft-champ-head{position:absolute;left:4rem;top:1.8rem;width:44rem;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem}
.ft-champ-head h1{margin:.4rem 0 0;font-weight:900;font-style:italic;text-transform:uppercase;font-size:7.6rem;line-height:.9;color:var(--cream);text-shadow:.6rem .6rem 0 #000,-.2rem -.2rem 0 #000,.2rem -.2rem 0 #000,-.2rem .2rem 0 #000;transform:rotate(-4deg);transform-origin:left center}
.ft-champ-pic{position:absolute;left:5.2rem;top:14.6rem;display:flex;align-items:flex-end;gap:.6rem}
.ft-face.champ{width:12.4rem;height:12.4rem;border:.5rem solid var(--cream);box-shadow:.7rem .7rem 0 #000;transform:rotate(-3deg)}
.ft-champ-pic .ft-trophy svg{width:11.8rem;height:11.8rem;fill:var(--yellow);stroke:#000;stroke-width:.8}
.ft-champ-chips{position:absolute;left:31.8rem;top:14rem;width:18.6rem;display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
.ft-champ-chips span{padding:.6rem .9rem;background:var(--ink);font-weight:900;font-style:italic;font-size:1.3rem;line-height:1.15;text-transform:uppercase}
.ft-champ-chips span b{font-size:2.2rem;color:var(--yellow)}
.ft-champ-chips span small{font-size:.9rem;letter-spacing:.14em;color:var(--muted);font-style:normal}
.ft-champ-side{position:fixed;right:0;top:0;bottom:0;width:calc(50vw - 42.2rem + 36rem);clip-path:polygon(5.2rem 0,100% 0,100% 100%,0 100%);background:var(--ink);padding:2.6rem max(4rem,calc(50vw - 38.2rem)) 2rem 7.4rem;display:flex;flex-direction:column;gap:1.2rem;box-sizing:border-box}
.ft-champ-side>span{font-size:1rem;font-weight:700;letter-spacing:.22em}
.ft-champ-prize{display:flex;align-items:center;gap:1.2rem}
.ft-champ-prize svg{width:6.4rem;height:6.4rem;fill:var(--yellow);stroke:#000;stroke-width:.9}
.ft-champ-prize b{font-weight:900;font-style:italic;font-size:2.8rem;line-height:.9;text-transform:uppercase}
.ft-champ-side ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.6rem;font-size:1.2rem;line-height:1.35}
.ft-champ-side p{margin:0;font-size:1.2rem;line-height:1.35}
.ft-champ-side .ft-cta{margin-top:auto}
.ft-champ-side .ft-cta>span{font-size:1.5rem;padding:0 1.8rem}
.ft-champ-btns{position:absolute;left:4rem;bottom:1.8rem;display:flex;gap:1rem}
.ft-side-note{display:none}
/* #44 3D Champion ceremony on court behind ¡Campeón! */
.ft-menu.ceremony-3d[data-screen="campeon"]{background:linear-gradient(90deg,rgba(8,14,12,.80) 0%,rgba(8,14,12,.22) 24%,rgba(8,14,12,0) 56%),linear-gradient(180deg,rgba(8,14,12,.56) 0%,rgba(8,14,12,0) 24%,rgba(8,14,12,0) 76%,rgba(8,14,12,.78) 100%)}
.ft-menu.ceremony-3d[data-screen="campeon"] .ft-sunburst,.ft-menu.ceremony-3d[data-screen="campeon"] .ft-champ-pic{display:none}
.ft-menu.ceremony-3d .ft-champ-head{top:1.2rem;transform:scale(.70);transform-origin:left top}
.ft-menu.ceremony-3d .ft-champ-chips{left:4rem;top:10.4rem;bottom:auto;width:16.8rem;flex-direction:column;gap:.75rem}
.ft-menu.ceremony-3d .ft-champ-chips span{background:rgba(14,20,17,.92);border:.15rem solid rgba(243,233,207,.35);box-shadow:.3rem .3rem 0 #000}
@media (orientation:portrait){
  .ft-menu[data-screen="campeon"]{background:repeating-conic-gradient(from 0deg at 50% 22%,var(--orange) 0deg 9deg,#FFC23A 9deg 18deg)}
  .ft-menu.ceremony-3d[data-screen="campeon"]{background:linear-gradient(180deg,rgba(8,14,12,.68) 0%,rgba(8,14,12,0) 20%,rgba(8,14,12,0) 44%,rgba(8,14,12,.9) 56%)}
  .ft-champ-head{left:2.4rem;top:3rem}
  .ft-menu.ceremony-3d .ft-champ-head{left:2.4rem;top:max(1.6rem,env(safe-area-inset-top));transform:scale(.68)}
  .ft-champ-head h1{font-size:6.4rem}
  .ft-champ-pic{left:2.4rem;top:15rem}
  .ft-champ-chips{left:2.4rem;top:30rem;width:auto;right:2.4rem;flex-direction:row;flex-wrap:wrap}
  .ft-menu.ceremony-3d .ft-champ-chips{left:2.4rem;right:2.4rem;width:auto;top:37.2rem;bottom:auto;flex-direction:row;flex-wrap:wrap;gap:.5rem;z-index:2}
  .ft-menu.ceremony-3d .ft-champ-chips span{padding:.45rem .75rem}
  .ft-champ-side{position:absolute;left:0;right:0;top:44rem;bottom:auto;width:auto;clip-path:polygon(0 3rem,100% 0,100% 100%,0 100%);padding:5rem 2.4rem 2rem}
  .ft-menu.ceremony-3d .ft-champ-side{top:46.5rem;padding:4.2rem 2.4rem 2rem}
  .ft-champ-btns{left:2.4rem;right:2.4rem;bottom:max(2rem,env(safe-area-inset-bottom))}
  .ft-champ-btns .ft-chip{flex:1;justify-content:center}
}

/* ---------- Fixture ---------- */
.ft-legend{display:flex;align-items:center;gap:.6rem;font-size:1rem;font-weight:700;letter-spacing:.1em;color:var(--muted)}
.ft-legend i{width:1rem;height:1rem;display:inline-block;margin-left:.6rem}
.ft-legend i.cast{background:var(--cream)}.ft-legend i.you{background:var(--yellow)}.ft-legend i.barrio{background:var(--line)}.ft-legend i.live{background:var(--live)}
.ft-fx-heads{position:absolute;left:4rem;right:4rem;top:6.2rem;display:grid;grid-template-columns:1fr 1fr 1fr 1.1fr 1fr 1fr 1fr;gap:.6rem;font-size:.9rem;font-weight:700;letter-spacing:.14em;color:var(--orange);text-align:center}
.ft-fixture{position:absolute;left:4rem;right:4rem;top:8rem;bottom:4rem;display:grid;grid-template-columns:1fr 1fr 1fr 1.1fr 1fr 1fr 1fr;gap:.6rem}
.ft-fx-col{display:flex;flex-direction:column;justify-content:space-around;gap:.4rem}
.ft-fx-m{display:flex;flex-direction:column;background:var(--panel);border:.15rem solid var(--line);position:relative}
.ft-fx-m.yours{border-color:var(--yellow)}
.ft-fx-m.live{border-color:var(--live)}
.ft-fx-m small{position:absolute;right:.2rem;bottom:-1.3rem;font-size:.8rem;color:var(--live);font-weight:700;letter-spacing:.06em;white-space:nowrap}
.ft-fx-p{display:flex;align-items:center;gap:.4rem;height:2.4rem;padding:0 .4rem;font-size:1rem;font-weight:700;white-space:nowrap;overflow:hidden}
.ft-fx-p+.ft-fx-p{border-top:.1rem solid var(--line)}
.ft-fx-p span{flex:1;overflow:hidden;text-overflow:ellipsis}
.ft-fx-p b{font-weight:900;color:var(--muted)}
.ft-fx-p.won b{color:var(--yellow)}
.ft-fx-p.out{opacity:.45}
.ft-fx-p.you{color:var(--yellow)}
.ft-fx-p .ft-face.mini{width:1.8rem;height:1.8rem;filter:none;border-width:.1rem}
.ft-fx-final{align-self:center;display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center;padding:1rem .4rem;background:linear-gradient(160deg,#2A2310,var(--ink));border:.2rem solid var(--yellow)}
.ft-fx-final svg{width:4.4rem;height:4.4rem;fill:var(--yellow);stroke:#000;stroke-width:.8}
.ft-fx-final b{font-weight:900;font-style:italic;font-size:1.3rem;text-transform:uppercase}
.ft-fx-final small{font-size:.8rem;letter-spacing:.1em;color:var(--muted)}
.ft-fixture+.ft-hint{position:absolute;left:4rem;right:4rem;bottom:1.4rem;text-align:center}
@media (orientation:portrait){
  .ft-fx-heads{display:none}
  .ft-fixture{left:1.2rem;right:1.2rem;top:16rem;bottom:8rem;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;overflow-y:auto;gap:.6rem}
  .ft-fx-col.r0,.ft-fx-col.r1,.ft-fx-col.r2{grid-row:auto}
  .ft-fx-final{grid-column:1/-1;flex-direction:row}
  .ft-fixture+.ft-hint{left:2.4rem;right:2.4rem;bottom:3rem}
}

/* ---------- Entrenamiento ---------- */
/* Entrenamiento: the picked card big on the left, the six to pick (La Lección first) on the right; each card wears its shot
   from the game (art/menu/<drill>.webp). */
.ft-train-feature{position:absolute;left:4rem;top:6.6rem;width:33rem;height:24.4rem;display:flex;flex-direction:column;background:var(--panel);border:.3rem solid var(--yellow);box-shadow:.5rem .5rem 0 #000;overflow:hidden}
.ft-train-art{position:relative;flex:0 1 auto;height:14.6rem;min-height:9rem;background:var(--ink) center/cover no-repeat;border-bottom:.3rem solid #000}
.ft-train-art::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,20,17,0) 55%,rgba(14,20,17,.7))}
.ft-train-art .ft-pips{position:absolute;right:1rem;bottom:.9rem;z-index:1}
.ft-train-profe{position:absolute;left:1rem;bottom:-.1rem;z-index:1;width:9rem;height:9rem;object-fit:cover;border:.3rem solid var(--yellow);box-shadow:.3rem .3rem 0 #000;background:var(--ink)}
.ft-train-info{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.8rem 1.1rem}
.ft-train-info>b{font-weight:900;font-style:italic;font-size:2.2rem;line-height:1;text-transform:uppercase}
.ft-train-info>small{font-size:1.1rem;line-height:1.3;color:var(--cream)}
.ft-train-tiers{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;font-size:1rem;font-weight:800;color:var(--muted)}
.ft-train-tiers .ft-pip{width:1rem;height:1rem;margin-left:.3rem}
.ft-train-tiers .ft-pip:first-child{margin-left:0}
.ft-drills{position:absolute;left:39rem;right:4rem;top:6.6rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:12rem;gap:.8rem}
.ft-drill{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;gap:.3rem;padding:0 0 .5rem!important;text-align:left;background:var(--panel)!important;border:.2rem solid var(--line)!important;box-sizing:border-box;min-width:0;overflow:hidden;transition:transform .12s}
.ft-drill:hover{border-color:var(--cream)!important}
.ft-drill.on{border:.3rem solid var(--yellow)!important;box-shadow:.4rem .4rem 0 #000;transform:translateY(-.3rem)}
.ft-drill-art{display:block;width:100%;flex:1;min-height:0;background:var(--ink) center/cover no-repeat;position:relative;overflow:hidden}
.ft-drill-art img{position:absolute;left:.4rem;bottom:.4rem;width:3.4rem;height:3.4rem;object-fit:cover;border:.2rem solid var(--yellow);background:var(--ink)}
.ft-drill>b{padding:0 .7rem;font-weight:900;font-style:italic;font-size:1.2rem;line-height:1.02;text-transform:uppercase;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;box-sizing:border-box}
.ft-drill>.ft-pips,.ft-drill>.ft-drill-teach{padding:0 .7rem}
.ft-drill>.ft-pips .ft-pip{width:1rem;height:1rem}
.ft-drill.leccion>.ft-drill-teach{font-size:.8rem;letter-spacing:.08em}
.ft-drill-teach{font-size:.9rem;font-weight:700;letter-spacing:.14em;color:var(--orange)}
.ft-drill-prize{font-size:1rem;font-weight:700;color:var(--muted)}
.ft-drill-prize b{color:var(--cream)}
.ft-drill-prize.won{color:var(--live)}
.ft-s-entrenamiento .ft-actions{left:auto;right:4rem;width:41.4rem;bottom:1.6rem}
.ft-s-entrenamiento .ft-actions .ft-cta{flex:1}
/* Torneos: the Copa Oficial and, later, the World Tour */
/* Torneos: each cup on its shot from the game (art/menu/copa.webp: Gary against El Rubio; tour.webp: three venues), a
   kicker on it saying what it is (one cup of 4 rounds / your career). Locked: the shot in grey under a padlock. */
.ft-torneos{position:absolute;left:4rem;right:4rem;top:7rem;display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}
.ft-torneo{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;gap:.5rem;padding:0 0 1rem!important;text-align:left;background:var(--panel)!important;border:.3rem solid var(--line)!important;box-sizing:border-box;min-width:0;color:var(--cream);overflow:hidden}
.ft-torneo>b,.ft-torneo>small,.ft-torneo>span:not(.ft-torneo-art){margin:0 1.2rem}
.ft-torneo.copa:not(.locked){border-color:var(--yellow)!important;box-shadow:.5rem .5rem 0 #000}
.ft-torneo.tour:not(.locked){border-color:var(--cream)!important;box-shadow:.5rem .5rem 0 #000}
.ft-torneo.locked{border-style:dashed!important;cursor:default}
.ft-torneo-art{position:relative;display:block;width:100%;height:12.6rem;flex:none;background:var(--ink) center/cover no-repeat;border-bottom:.3rem solid #000}
.ft-torneo-art::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,20,17,0) 50%,rgba(14,20,17,.75))}
.ft-torneo.locked .ft-torneo-art{filter:grayscale(1) brightness(.55)}
.ft-torneo-badge{position:absolute;right:1rem;top:1rem;z-index:1;display:flex;align-items:center;justify-content:center;width:4.4rem;height:4.4rem;background:var(--ink);border:.25rem solid var(--yellow);box-shadow:.3rem .3rem 0 #000}
.ft-torneo-badge svg{width:2.6rem;height:2.6rem;fill:var(--yellow);color:var(--yellow)}
.ft-torneo.locked .ft-torneo-badge{border-color:var(--cream)}
.ft-torneo.locked .ft-torneo-badge svg{fill:var(--cream);color:var(--cream)}
.ft-torneo-kicker{position:absolute;left:1rem;bottom:.9rem;z-index:1;padding:.25rem .7rem;background:var(--yellow);color:var(--ink);font-style:normal;font-weight:900;font-size:1rem;letter-spacing:.1em;box-shadow:.25rem .25rem 0 #000}
.ft-torneo.tour .ft-torneo-kicker{background:var(--cream)}
.ft-torneo>b{font-weight:900;font-style:italic;font-size:2.4rem;line-height:1;text-transform:uppercase;margin-top:.4rem!important}
.ft-torneo>small{font-size:1.08rem;line-height:1.28;color:var(--muted)}
.ft-torneo-state{font-size:1rem;font-weight:700;letter-spacing:.14em;color:var(--orange)}

/* ---------- World Tour (ft-tour.js) ---------- */
.ft-tour{position:absolute;left:4rem;right:4rem;top:7.4rem;bottom:8.4rem;display:grid;grid-template-columns:3fr 2fr;gap:1.6rem;min-height:0}
.ft-tour-cal{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem;overflow-y:auto;min-height:0}
.ft-tour-ev{position:relative;display:grid;grid-template-columns:8.6rem 1fr auto;grid-template-rows:auto auto;column-gap:1rem;align-items:center;padding:.5rem .8rem;background:var(--panel);border:.15rem solid var(--line)}
.ft-tour-ev.gs{background:linear-gradient(160deg,#2A2310,var(--panel))}
.ft-tour-ev.now{border:.3rem solid var(--yellow);box-shadow:.3rem .3rem 0 #000}
.ft-tour-ev.done{opacity:.75}
.ft-tour-ev.won{opacity:1;border-color:var(--yellow)}
.ft-tour-tier{grid-row:1/3;align-self:stretch;display:flex;align-items:center;justify-content:center;background:var(--ink);font-weight:900;font-style:italic;font-size:1.3rem;color:var(--orange);text-align:center;line-height:1}
.ft-tour-ev.gs .ft-tour-tier{color:var(--yellow);font-size:1rem}
.ft-tour-ev>b{font-weight:900;font-style:italic;font-size:1.5rem;text-transform:uppercase;line-height:1.1}
.ft-tour-ev>small{grid-column:2;font-size:1rem;color:var(--muted)}
.ft-tour-state{grid-column:3;grid-row:1/3;font-size:.95rem;font-weight:700;letter-spacing:.08em;color:var(--orange);text-align:right;max-width:16rem}
.ft-tour-ev.won .ft-tour-state{color:var(--yellow)}
.ft-tour-cup{position:absolute;right:-.6rem;top:-.6rem}.ft-tour-cup svg{width:2.2rem;height:2.2rem;fill:var(--yellow);stroke:#000;stroke-width:.8}
.ft-tour-rank{display:flex;flex-direction:column;gap:.4rem;min-height:0;padding:.8rem;background:var(--ink);border:.2rem solid var(--cream);box-shadow:.4rem .4rem 0 #000}
.ft-tour-rank>span{font-weight:900;font-style:italic;font-size:1.4rem;text-transform:uppercase}
.ft-tour-rank ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem;overflow-y:auto;min-height:0}
.ft-tour-rank li{display:flex;align-items:center;gap:.6rem;height:2.5rem;padding:0 .4rem;font-size:1.05rem;font-weight:700;border-bottom:.1rem solid var(--line)}
.ft-tour-rank li.you{background:var(--yellow);color:var(--ink)}
.ft-tour-rank li b{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft-tour-rank .ft-face.mini{width:2rem;height:2rem;filter:none;border-width:.1rem}
.ft-tour-rk{width:2rem;text-align:right;font-weight:900;font-style:italic}
.ft-tour-pts{font-weight:900;min-width:4rem;text-align:right}
.ft-tour-t{display:inline-flex;align-items:center;gap:.1rem;font-style:normal;font-size:.9rem}.ft-tour-t svg{width:1.3rem;height:1.3rem;fill:currentColor}
.ft-tour-end{position:absolute;left:4rem;right:4rem;bottom:8.6rem;z-index:3;display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;padding:.8rem 1.2rem;background:var(--ink);border:.3rem solid var(--yellow);box-shadow:.4rem .4rem 0 #000}
.ft-tour-end h2{margin:0;font-weight:900;font-style:italic;font-size:1.8rem;text-transform:uppercase}
.ft-tour-end p{margin:0;font-size:1.2rem;color:var(--muted)}
.ft-s-tour .ft-copa-foot{flex-direction:row;align-items:center;gap:1rem;width:auto;right:32rem}
.ft-tour-note{font-size:1rem;color:var(--muted);max-width:22rem}
.ft-tour-draw{position:absolute;left:4rem;right:4rem;top:8rem;bottom:9rem;display:grid;gap:1.2rem}
.ft-tour-draw.s4{grid-template-columns:1fr 1fr .8fr}
.ft-tour-draw.s8{grid-template-columns:1fr 1fr 1fr .8fr}
.ft-tour-col{display:flex;flex-direction:column;justify-content:space-around;gap:.6rem;min-width:0}
.ft-tour-colh{align-self:center;font-size:.95rem;font-weight:700;letter-spacing:.16em;color:var(--orange)}
.ft-tour-colh svg{width:3rem;height:3rem;fill:var(--yellow);stroke:#000;stroke-width:.8}
.ft-tour-draw .ft-fx-p{height:2.8rem;font-size:1.1rem}
.ft-tour-draw .ft-fx-p .ft-face.mini{width:2.1rem;height:2.1rem}
.ft-tour-champ{display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:1rem;background:linear-gradient(160deg,#2A2310,var(--ink));border:.3rem solid var(--yellow)}
.ft-tour-champ .ft-face{width:7rem;height:7rem}
.ft-tour-champ b{font-weight:900;font-style:italic;font-size:1.4rem;text-transform:uppercase;text-align:center}
.ft-tour-draw+.ft-hint{position:absolute;left:4rem;right:30rem;bottom:2.6rem}
@media (orientation:portrait){
  .ft-tour{left:2.4rem;right:2.4rem;top:15rem;bottom:15rem;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);overflow-y:auto}
  .ft-tour-cal{overflow:visible}
  .ft-tour-state{max-width:11rem}
  .ft-tour-end{left:2.4rem;right:2.4rem;bottom:15.5rem}
  .ft-s-tour .ft-copa-foot{right:2.4rem;bottom:9.5rem}
  .ft-tour-draw{left:1.2rem;right:1.2rem;top:15rem;bottom:14rem;grid-template-columns:1fr!important;overflow-y:auto}
  .ft-tour-draw+.ft-hint{left:2.4rem;right:2.4rem;bottom:9rem}
}
/* La Cinchada: Fusbolín's El Rubio vs Gary rope this month (ft-cinchada.js, off by default) */
.ft-cinchada{position:absolute;left:4rem;bottom:1.6rem;width:min(40rem,calc(100% - 34rem));display:flex;flex-direction:column;gap:.4rem;color:var(--cream)}
.ft-cinchada-title{font-size:1rem;font-weight:700;letter-spacing:.14em;color:var(--orange)}
.ft-cinchada-rope{display:flex;align-items:center;gap:.8rem;font-weight:900;font-style:italic;font-size:1.3rem;white-space:nowrap}
.ft-cinchada-bar{flex:1;height:.8rem;background:var(--blue);border:.2rem solid #000;min-width:4rem}
.ft-cinchada-bar i{display:block;height:100%;background:var(--yellow)}
.ft-cinchada small{font-size:1rem;line-height:1.3;color:var(--muted)}
@media (orientation:portrait){
  .ft-cinchada{left:2.4rem;right:2.4rem;width:auto;bottom:11rem}
  .ft-train-feature{left:2.4rem;right:2.4rem;width:auto;top:11.6rem;height:27rem}
  .ft-train-art{height:15rem}
  .ft-drills{left:2.4rem;right:2.4rem;top:40.4rem;bottom:10rem;overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:13.6rem;gap:.8rem;padding:.4rem .5rem .8rem 0}
  .ft-drill>b{font-size:1.1rem;padding:0 .5rem}
  .ft-drill.leccion>.ft-drill-teach{display:none}
  .ft-s-entrenamiento .ft-actions{left:2.4rem;right:2.4rem;width:auto;bottom:max(2.4rem,env(safe-area-inset-bottom))}
  .ft-torneos{left:2.4rem;right:2.4rem;top:12rem;grid-template-columns:1fr;gap:1.6rem}
  .ft-torneo-art{height:12rem}
}

/* ---------- El Palmarés: the trophy case and the achievements (ft-palmares.js) ---------- */
.ft-chip.trophy svg{fill:var(--ink);color:var(--ink)}
.ft-chip.trophy b{color:var(--stamp);font-weight:900}
.ft-rank svg{fill:var(--yellow);color:var(--yellow)}
.ft-rank.r4{border-color:var(--yellow)!important;color:var(--yellow)}
.ft-palmares{position:absolute;left:4rem;right:4rem;top:7.4rem;bottom:1.6rem;display:grid;grid-template-columns:23rem minmax(0,1fr);gap:1.6rem}
.ft-pal-head{margin:0 0 .6rem;font-size:1rem;font-weight:700;letter-spacing:.22em;color:var(--orange);white-space:nowrap}
.ft-pal-head span{margin-left:.6rem;color:var(--muted);letter-spacing:.12em}
.ft-vitrina{display:flex;flex-direction:column;min-height:0}
.ft-vitrina-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.ft-trophy{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;padding:.7rem;background:var(--panel);border:.2rem dashed var(--line);min-width:0}
.ft-trophy-art{display:flex;align-items:center;justify-content:center;width:100%;height:4.4rem;background:linear-gradient(180deg,#1C3A2A,#0E1E15)}
.ft-trophy-art svg{width:3.2rem;height:3.2rem;fill:var(--line);color:var(--line)}
.ft-trophy>b{font-size:.95rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.15;min-height:2.2rem}
.ft-trophy>strong{font-weight:900;font-style:italic;font-size:1.2rem;line-height:1;color:var(--muted);text-transform:uppercase}
.ft-trophy.won{border-style:solid;border-color:var(--cream);box-shadow:.3rem .3rem 0 #000}
.ft-trophy.won>strong{font-size:2.2rem;color:var(--cream)}
.ft-trophy.won .ft-trophy-art svg{fill:var(--yellow);color:var(--yellow)}
.ft-trophy.won.rubio{border-color:var(--blue)}.ft-trophy.won.rubio .ft-trophy-art{background:linear-gradient(180deg,var(--blue),var(--blue-d))}
.ft-trophy.won.gary{border-color:var(--red)}.ft-trophy.won.gary .ft-trophy-art{background:linear-gradient(180deg,var(--red),var(--red-d))}
.ft-trophy.won.copa{border-color:var(--yellow)}
.ft-vitrina .ft-hint{margin-top:auto;padding-top:.6rem;font-size:1rem}
.ft-logros-wrap{display:flex;flex-direction:column;min-height:0;min-width:0}
.ft-logros{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:max-content;gap:.7rem;align-content:start;padding:0 .6rem .6rem 0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--edge) transparent}
.ft-logro{display:flex!important;align-items:flex-start;gap:.8rem;padding:.6rem .8rem!important;text-align:left;background:rgba(28,42,34,.75)!important;border:.2rem solid var(--line)!important;box-sizing:border-box;min-width:0;color:var(--cream)!important}
.ft-logro.done{background:var(--panel)!important;border-color:var(--cream)!important;box-shadow:.3rem .3rem 0 #000}
.ft-medal{flex:none;display:flex;align-items:center;justify-content:center;width:3.2rem;height:3.2rem;border-radius:50%;box-sizing:border-box;border:.25rem dashed var(--mc);background:var(--ink);color:var(--ink);font-size:1.6rem;font-weight:900}
.ft-medal.t1{--mc:#C07A3A}.ft-medal.t2{--mc:#C9CED2}.ft-medal.t3{--mc:var(--yellow)}
.ft-logro.done .ft-medal{border:.25rem solid #000;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.55),transparent 55%),var(--mc);box-shadow:.2rem .2rem 0 #000}
.ft-logro-body{display:flex;flex-direction:column;gap:.25rem;min-width:0;flex:1}
.ft-logro-head{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem}
.ft-logro-head b{font-weight:900;font-style:italic;font-size:1.3rem;line-height:1.05;text-transform:uppercase;min-width:0}
.ft-logro-head em{flex:none;font-style:normal;font-weight:700;font-size:1rem;letter-spacing:.06em;color:var(--muted)}
.ft-logro.done .ft-logro-head em{color:var(--live)}
.ft-logro-body small{font-size:1rem;line-height:1.25;color:var(--muted)}
.ft-logro-foot{display:flex;align-items:center;gap:.8rem}
.ft-logro-track{display:block;flex:1;min-width:3rem;height:.6rem;background:var(--ink);border:.1rem solid var(--line)}
.ft-logro-track i{display:block;height:100%;background:var(--edge)}
.ft-logro.done .ft-logro-track i{background:var(--yellow)}
.ft-logro-reward{flex:none;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:700;letter-spacing:.06em;color:var(--orange);text-transform:uppercase}
.ft-logro:not(.done) .ft-logro-reward{color:var(--muted)}
@media (orientation:portrait){
  .ft-palmares{left:2.4rem;right:2.4rem;top:15rem;bottom:max(2.4rem,env(safe-area-inset-bottom));grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:1.4rem}
  .ft-vitrina-grid{grid-template-columns:repeat(4,1fr);gap:.6rem}
  .ft-trophy{padding:.5rem}
  .ft-trophy-art{height:4.2rem}
  .ft-trophy-art svg{width:3rem;height:3rem}
  .ft-trophy>b{font-size:.85rem;min-height:3rem}
  .ft-vitrina .ft-hint{display:none}
  .ft-logros{grid-template-columns:1fr}
}

/* ---------- Local preview switcher (?boards=auto|club|led|compare) ---------- */
.ft-boards-switch{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:62;display:none;align-items:center;gap:4px;padding:3px 5px 3px 9px;background:rgba(12,20,17,.94);border:2px solid #e9e1cc;box-shadow:3px 3px 0 #040806;font:800 italic 11px/1 "Rubik",system-ui,sans-serif;letter-spacing:.08em}
body:not(.ft-menu-open) .ft-boards-switch,body.ft-menu-open #arcade-frontend.stage-3d~.ft-boards-switch,body.ft-menu-open #arcade-frontend.ceremony-3d~.ft-boards-switch{display:inline-flex}
.ft-boards-lbl{color:#e8b949;margin-right:4px;font-style:normal;font-weight:800;font-size:10px;letter-spacing:.14em}
.ft-boards-switch button{min-height:24px;padding:4px 9px;border:1.5px solid #355046;border-radius:0;background:#162620;color:#b8c7be;font:800 italic 11px/1 "Rubik",system-ui,sans-serif;letter-spacing:.06em;cursor:pointer}
.ft-boards-switch button:hover{color:#f5eedb;border-color:#7ea192}
.ft-boards-switch button.active{background:#ffdb3d;color:#0e1411;border-color:#0e1411}

/* ---------- #29 Arcade Story Vignettes (ft-story.js) ---------- */
.ft-story-bg{position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 18% 28%,color-mix(in srgb,var(--p1,#2F6DB5) 34%,transparent),transparent 54%),radial-gradient(circle at 82% 72%,color-mix(in srgb,var(--p2,#C8412F) 34%,transparent),transparent 54%),linear-gradient(160deg,#121C16,#090F0C);pointer-events:none}
.ft-story-bg.sepia94{background:radial-gradient(circle at 22% 24%,rgba(224,158,62,.24),transparent 50%),radial-gradient(circle at 80% 74%,color-mix(in srgb,var(--p2,#C8412F) 32%,transparent),transparent 54%),linear-gradient(160deg,#1F1810,#0D120F)}
.ft-story-bg.night{background:radial-gradient(circle at 50% 10%,rgba(255,219,61,.18),transparent 46%),radial-gradient(circle at 82% 72%,color-mix(in srgb,var(--p2,#C8412F) 36%,transparent),transparent 54%),linear-gradient(180deg,#0A1320,#080D0B)}
.ft-story-wrap{position:absolute;left:4rem;right:4rem;top:6.6rem;bottom:6.4rem;display:grid;grid-template-columns:24.5rem minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:1rem 1.3rem;align-items:start}
.ft-story-card{grid-row:1/3;position:relative;padding:1.3rem 1.4rem;background:var(--paper);color:var(--ink);border:.3rem solid #000;box-shadow:.55rem .55rem 0 #000;transform:rotate(-1deg);display:flex;flex-direction:column;gap:.75rem}
.ft-story-stamp{align-self:flex-start;padding:.2rem .8rem;background:var(--stamp);color:var(--cream);font-weight:900;font-style:italic;font-size:1.12rem;letter-spacing:.1em;text-transform:uppercase}
.ft-story-prologue{margin:0;font-size:1.24rem;line-height:1.4;font-weight:700;color:#1A1F1C}
.ft-story-dialogue{display:flex;flex-direction:column;gap:.65rem;min-width:0;max-height:100%;overflow-y:auto;padding:0 .4rem .5rem 0}
.ft-story-line{display:flex;align-items:center;gap:.9rem;min-width:0}
.ft-story-line.mine{flex-direction:row-reverse}
.ft-face.story{flex:none;width:5rem;height:5rem;border:.28rem solid var(--c,var(--cream));box-shadow:.32rem .32rem 0 #000;background:var(--panel)}
.ft-story-bubble{flex:1;min-width:0;padding:.58rem .95rem;background:var(--panel);border:.22rem solid var(--cream);box-shadow:.35rem .35rem 0 #000}
.ft-story-line.mine .ft-story-bubble{background:#182B22;border-color:var(--yellow)}
.ft-story-bubble small{display:inline-block;padding:.08rem .5rem;margin-bottom:.22rem;background:var(--c,var(--blue));color:var(--cream);font-size:.88rem;font-weight:900;letter-spacing:.1em}
.ft-story-bubble p{margin:0;font-size:1.22rem;line-height:1.24;font-weight:900;font-style:italic;color:var(--cream)}
.ft-story-choices{grid-column:2;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.5rem .75rem;background:rgba(14,20,17,.88);border:.2rem solid var(--line)}
.ft-story-choice-lbl{font-size:.9rem;font-weight:900;letter-spacing:.14em;color:var(--orange);margin-right:.2rem}
.ft-story-choice{flex:1 1 18rem;padding:.5rem .85rem!important;text-align:left;background:var(--panel)!important;border:.2rem solid var(--line)!important;color:var(--muted)!important;font-size:1.08rem!important;font-weight:800!important;font-style:italic;line-height:1.2;cursor:pointer}
.ft-story-choice.on{background:var(--yellow)!important;color:var(--ink)!important;border-color:#000!important;box-shadow:.25rem .25rem 0 #000}

/* ---------- #31 Arcade Bonus Stage (screens.bonus) ---------- */
.ft-bonus-card{position:absolute;left:4rem;right:4rem;top:8.2rem;bottom:4rem;display:grid;grid-template-columns:25rem minmax(0,1fr);gap:2.2rem;align-items:center}
.ft-bonus-drill{transform:rotate(-1.5deg)!important}
.ft-bonus-drill .ft-drill-art{height:10.5rem}
.ft-bonus-info{display:flex;flex-direction:column;align-items:flex-start;gap:1.2rem;max-width:44rem}
.ft-bonus-info p{margin:0;font-size:1.45rem;line-height:1.42;color:var(--cream)}
.ft-bonus-btns{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;margin-top:.4rem}

@media (orientation:portrait){
  .ft-story-wrap{left:2.4rem;right:2.4rem;top:16.8rem;bottom:9.4rem;display:flex;flex-direction:column;gap:.9rem;overflow-y:auto;padding-bottom:.6rem}
  .ft-story-card{grid-row:auto;padding:1rem 1.15rem;transform:none;flex:none}
  .ft-story-prologue{font-size:1.12rem;line-height:1.35}
  .ft-story-dialogue{max-height:none;overflow:visible;flex:none}
  .ft-story-choices{grid-column:1;flex-direction:column;align-items:stretch;width:100%;box-sizing:border-box;flex:none}
  .ft-story-choice{flex:none}
  .ft-bonus-card{left:2.4rem;right:2.4rem;top:12rem;bottom:4rem;grid-template-columns:1fr;align-content:start;gap:1.4rem;overflow-y:auto}
  .ft-bonus-drill{transform:none!important}
  .ft-bonus-drill .ft-drill-art{height:8rem}
  .ft-bonus-btns{width:100%;flex-direction:column;align-items:stretch}
}

/* World Tour map (the city, art/tour/map.svg): pins on the season's path, and the pinned venue's card. */
.ft-tour-world{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0}
.ft-tour-map{position:relative;height:100%;aspect-ratio:16/10;max-width:100%;border:.25rem solid var(--cream);box-shadow:.4rem .4rem 0 #000;overflow:hidden;background:#2B3442}
.ft-tour-map>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ft-tour-map svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ft-tour-map path.trip{fill:none;vector-effect:non-scaling-stroke;stroke:var(--yellow);stroke-width:4;stroke-linecap:round;stroke-dasharray:1 9;filter:drop-shadow(0 2px 0 #000);animation:ft-trip 1.2s linear infinite}
@keyframes ft-trip{to{stroke-dashoffset:-10}}
.ft-pin{position:absolute;transform:translate(-50%,-100%);display:flex!important;flex-direction:column;align-items:center;gap:.1rem;padding:0!important;background:none!important;border:0!important;cursor:pointer}
.ft-pin b{display:flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--ink);border:.22rem solid var(--cream);box-shadow:.2rem .2rem 0 #000;color:var(--cream);font-weight:900;font-style:italic;font-size:1rem}
.ft-pin b>*,.ft-pin b{line-height:1}
.ft-pin b>i{display:flex;transform:rotate(45deg);font-style:italic}
.ft-pin b svg{width:1.4rem;height:1.4rem;fill:var(--yellow)}
.ft-pin small{padding:.05rem .35rem;background:var(--ink);color:var(--orange);font-size:.7rem;font-weight:800;letter-spacing:.06em;white-space:nowrap}
.ft-pin.gs small{color:var(--yellow)}
.ft-pin.done b{background:#3A4A3F;color:var(--muted)}
.ft-pin.won b{background:var(--ink);border-color:var(--yellow)}
.ft-pin.now b{background:var(--yellow);color:var(--ink);border-color:#000;animation:ft-pin-hop 1.1s ease-in-out infinite}
.ft-pin.focus b{outline:.22rem solid var(--yellow);outline-offset:.15rem}
@keyframes ft-pin-hop{0%,100%{translate:0 0}50%{translate:0 -.35rem}}
.ft-tour-venue{width:min(100%,34rem);display:flex;gap:.7rem;align-items:stretch;background:var(--panel);border:.2rem solid var(--line);box-shadow:.3rem .3rem 0 #000}
.ft-tour-promo{font-size:.9rem;color:var(--muted);line-height:1.3}
.ft-s-tour .ft-copa-foot{bottom:1.2rem}
.ft-s-tour .ft-copa-foot .ft-tour-venue{width:auto;max-width:34rem}  /* as wide as its text: full width it ran under the play plate */
.ft-tour-venue.gs{background:linear-gradient(160deg,#2A2310,var(--panel));border-color:var(--yellow)}
.ft-tour-venue>img{width:8.5rem;aspect-ratio:16/9;object-fit:cover;flex:none}
.ft-tour-venue>div{display:flex;flex-direction:column;justify-content:center;gap:.2rem;padding:.4rem .4rem .4rem 0;min-width:0}
.ft-tour-venue .ft-tour-tier{align-self:flex-start;padding:.1rem .5rem;font-size:1rem}
.ft-tour-venue b{font-weight:900;font-style:italic;font-size:1.25rem;text-transform:uppercase;line-height:1.05}
.ft-tour-venue small{font-size:.8rem;color:var(--muted)}
.ft-tour-venue .ft-tour-state{position:static;max-width:none;text-align:left}
/* The VS of a World Tour match: the venue behind the two halves, its name under the band. */
.ft-vs-venue{position:fixed;inset:0;z-index:-2;background-size:cover;background-position:center}
.ft-vs-half.over-venue{opacity:.70}
.ft-vs-venue-name{position:fixed;left:50%;top:3.6rem;transform:translateX(-50%);display:flex;align-items:center;gap:.8rem;padding:.4rem 1.2rem;background:var(--ink);border:.2rem solid var(--cream);box-shadow:.3rem .3rem 0 #000;white-space:nowrap;z-index:1}
.ft-vs-venue-name span{font-weight:900;font-style:italic;font-size:1.1rem;color:var(--orange)}
.ft-vs-venue-name.gs span{color:var(--yellow)}
.ft-vs-venue-name b{font-weight:900;font-style:italic;font-size:1.6rem;text-transform:uppercase}
@media (orientation:portrait){.ft-tour-venue>img{width:9rem}.ft-vs-venue-name{top:auto;bottom:16rem}}
/* The tour on an upright phone (Roger 2026-11-14): the map is as wide as the column (height:100% of an auto row was 0 and
   only the ranking showed), the ranking scrolls under it; the venue card sits over the buttons, which stack: the play
   plate full width on up to two lines (a long venue name was cut at both ends), skip under it. */
@media (orientation:portrait){
  .ft-s-tour .ft-tour{bottom:22rem;grid-template-rows:auto minmax(12rem,1fr);overflow:hidden}
  .ft-s-tour .ft-tour-map{width:100%;height:auto}
  .ft-s-tour .ft-tour-rank{overflow:hidden}
  .ft-s-tour .ft-copa-foot{right:2.4rem;bottom:13.4rem}
  .ft-s-tour .ft-copa-foot .ft-tour-venue{width:100%}
  .ft-s-tour .ft-actions{flex-direction:column;align-items:stretch;gap:.8rem}
  .ft-s-tour .ft-actions .ft-cta{flex:none}
  .ft-s-tour .ft-actions .ft-cta>span{height:auto;min-height:5.2rem;padding:.4rem 2.4rem;font-size:1.8rem;line-height:1.05;white-space:normal;text-align:center}
  .ft-s-tour .ft-actions .ft-chip,.ft-s-tour .ft-actions .ft-tour-note{align-self:center}
  .ft-s-tour .ft-tour-end{bottom:22.5rem}
}

/* The tournament's title over Unity's flight over the venue before a tournament's first match (renderFlyover). */
.ft-flyover{position:fixed;left:max(4rem,6vw);bottom:max(4rem,9vh);z-index:40;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;pointer-events:none;animation:ft-fly-title .7s .5s cubic-bezier(.2,.9,.3,1) both}
.ft-flyover[hidden]{display:none}
header .hud-scoreboard{transition:opacity .35s}
.ft-flyover-live header .hud-scoreboard{opacity:0;pointer-events:none}
@keyframes ft-fly-title{from{opacity:0;transform:translateX(-3rem)}to{opacity:1;transform:none}}
.ft-flyover small{font-size:1.1rem;font-weight:800;letter-spacing:.2em;color:var(--orange,#ff8a1f);text-shadow:0 2px 0 #000}
.ft-flyover i{padding:.2rem .8rem;background:var(--orange,#ff8a1f);color:var(--ink,#141414);font-weight:900;font-style:italic;font-size:1.6rem;box-shadow:.3rem .3rem 0 #000;transform:skewX(-8deg)}
.ft-flyover.gs i{background:var(--yellow,#ffd23f)}
.ft-flyover b{font-weight:900;font-style:italic;font-size:clamp(3.4rem,7vw,7.2rem);line-height:.95;text-transform:uppercase;color:var(--cream,#fff4dc);text-shadow:.35rem .35rem 0 #000}
.ft-flyover em{font-style:normal;font-weight:700;font-size:1.3rem;color:var(--cream,#fff4dc);text-shadow:0 2px 0 #000}
@media (orientation:portrait){.ft-flyover{left:2.4rem;right:2.4rem;bottom:9rem}}

/* MatchDay (renderMatchDay): TV graphics over Unity's match intro, after Fusbolín's. Pointer-free: a tap still skips. */
.ft-matchday{--md-ink:#0E1411;--md-cream:#F3E9CF;--md-yellow:#FFD23F;position:fixed;inset:0;z-index:40;pointer-events:none;font-family:'Rubik',system-ui,sans-serif;color:var(--md-cream)}
.ft-matchday[hidden]{display:none}
.ft-matchday-live header .hud-scoreboard,.ft-matchday-live .hud-under{opacity:0;pointer-events:none}
/* the touch pads and the match's own cards wait under the intro (it is never played: a tap skips it) */
body.ft-matchday-live #controls,body.ft-matchday-live #intent-feedback,body.ft-matchday-live #message,body.ft-matchday-live #team-control,body.ft-matchday-live #joystick-base,body.ft-matchday-live #ft-match-layer .ft-serve,body.ft-matchday-live #ft-match-layer .ft-green-cue,body.ft-matchday-live #ft-match-layer .ft-tito-call,body.ft-matchday-live #ft-match-layer .ft-player-quip{visibility:hidden!important}
.ft-md-live{position:absolute;top:max(1.4rem,env(safe-area-inset-top));left:max(1.6rem,env(safe-area-inset-left));display:flex;align-items:center;gap:.7rem;padding:.5rem 1.6rem .5rem 1.2rem;background:var(--md-ink);border:.2rem solid var(--md-cream);font:italic 900 1.5rem/1 'Rubik',sans-serif;letter-spacing:.06em;clip-path:polygon(.8rem 0,100% 0,calc(100% - .8rem) 100%,0 100%);animation:ft-md-down .45s cubic-bezier(.2,.9,.3,1) both}
.ft-md-live i{width:1rem;height:1rem;border-radius:50%;background:#E5402F;box-shadow:0 0 .6rem #E5402F;animation:ft-md-blink 1s steps(2,start) infinite}
.ft-md-title{position:absolute;top:max(1.4rem,env(safe-area-inset-top));left:50%;max-width:min(52rem,60vw);padding:.7rem 2.6rem;background:var(--md-cream);color:var(--md-ink);font:italic 900 1.9rem/1.1 'Rubik',sans-serif;text-transform:uppercase;text-align:center;box-shadow:.4rem .4rem 0 #000;clip-path:polygon(1.2rem 0,100% 0,calc(100% - 1.2rem) 100%,0 100%);transform:translateX(-50%);animation:ft-md-title .5s .1s cubic-bezier(.2,.9,.3,1) both}
.ft-md-quote{position:absolute;top:7.4rem;right:max(1.6rem,env(safe-area-inset-right));max-width:28rem;display:flex;flex-direction:column;align-items:flex-end;gap:.4rem;animation:ft-md-right .5s .5s cubic-bezier(.2,.9,.3,1) both}
.ft-md-style{padding:.4rem 1.2rem;background:var(--c,#C8412F);color:#fff;font:italic 900 1.25rem/1.1 'Rubik',sans-serif;text-transform:uppercase;text-shadow:0 .15rem 0 rgba(0,0,0,.45);clip-path:polygon(.6rem 0,100% 0,calc(100% - .6rem) 100%,0 100%)}
.ft-md-quote p{margin:0;padding:.7rem 1.2rem;background:rgba(14,20,17,.92);border-right:.4rem solid var(--c,#C8412F);font:italic 600 1.4rem/1.3 'Rubik',sans-serif;text-align:right}
.ft-md-cap{position:absolute;bottom:7.4rem;display:flex;align-items:center;gap:1rem;padding:.6rem 1.4rem;background:linear-gradient(90deg,var(--d,#15294A),rgba(14,20,17,.94));box-shadow:.4rem .4rem 0 #000;clip-path:polygon(1rem 0,100% 0,calc(100% - 1rem) 100%,0 100%);animation:ft-md-left .5s .25s cubic-bezier(.2,.9,.3,1) both}
.ft-md-cap.left{left:max(1.6rem,env(safe-area-inset-left));border-left:.6rem solid var(--c,#2F6DB5)}
.ft-md-cap.right{right:max(1.6rem,env(safe-area-inset-right));background:linear-gradient(270deg,var(--d,#45170F),rgba(14,20,17,.94));border-right:.6rem solid var(--c,#C8412F);text-align:right;animation-name:ft-md-right}
.ft-md-cap small{display:block;color:var(--md-yellow);font:italic 900 1.2rem/1 'Rubik',sans-serif;letter-spacing:.08em}
.ft-md-cap b{display:block;font:italic 900 3rem/1 'Rubik',sans-serif;text-transform:uppercase;white-space:nowrap}
.ft-face.md{width:5.4rem;height:5.4rem;border:.25rem solid var(--md-cream);flex:none}
.ft-md-ticker{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:stretch;min-height:6.2rem;padding:0 max(2rem,env(safe-area-inset-left)) env(safe-area-inset-bottom);background:var(--md-cream);border-top:.45rem solid var(--md-yellow);color:var(--md-ink);box-shadow:0 -.4rem 0 rgba(0,0,0,.35)}
.ft-md-ticker>div{display:flex;flex-direction:column;justify-content:center;gap:.25rem;padding:0 2.2rem;min-width:0}
.ft-md-ticker>div+div{border-left:.25rem solid rgba(14,20,17,.25)}
.ft-md-ticker small{font:italic 900 1.15rem/1 'Rubik',sans-serif;letter-spacing:.1em;color:#5d5a4c}
.ft-md-ticker b{font:italic 900 2.1rem/1.05 'Rubik',sans-serif;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-matchday[data-phase="a"] .ft-md-ticker.b,.ft-matchday[data-phase="b"] .ft-md-ticker.a{display:none}
.ft-matchday .ft-md-ticker{animation:ft-md-up .45s cubic-bezier(.2,.9,.3,1) both}
.ft-matchday[data-phase="b"] .ft-md-ticker.b>div{animation:ft-md-cell .35s cubic-bezier(.2,.9,.3,1) both}
.ft-matchday[data-phase="b"] .ft-md-ticker.b>div:nth-child(2){animation-delay:.08s}
.ft-matchday[data-phase="b"] .ft-md-ticker.b>div:nth-child(3){animation-delay:.16s}
.ft-md-serve b{color:var(--md-ink)}
@keyframes ft-md-down{from{opacity:0;transform:translateY(-2rem)}to{opacity:1;transform:none}}
@keyframes ft-md-title{from{opacity:0;transform:translate(-50%,-2rem)}to{opacity:1;transform:translateX(-50%)}}
@keyframes ft-md-left{from{opacity:0;transform:translateX(-4rem)}to{opacity:1;transform:none}}
@keyframes ft-md-right{from{opacity:0;transform:translateX(4rem)}to{opacity:1;transform:none}}
@keyframes ft-md-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes ft-md-cell{from{opacity:0;transform:translateY(1.2rem)}to{opacity:1;transform:none}}
@keyframes ft-md-blink{to{opacity:.25}}
@media (prefers-reduced-motion:reduce){.ft-matchday *{animation:none!important}}
/* An upright phone: the title under EN VIVO, the quote under it, the captains over a smaller ticker. */
@media (orientation:portrait){
  .ft-md-title{top:calc(max(1.4rem,env(safe-area-inset-top)) + 4rem);max-width:calc(100vw - 3.2rem);font-size:1.6rem}
  .ft-md-quote{top:calc(max(1.4rem,env(safe-area-inset-top)) + 9.6rem);left:1.6rem;right:1.6rem;max-width:none;align-items:center}
  .ft-md-quote p{text-align:center;border-right:0;border-bottom:.4rem solid var(--c,#C8412F);font-size:1.3rem}
  .ft-md-cap{bottom:calc(6rem + env(safe-area-inset-bottom));max-width:calc(50vw - 2rem);padding:.5rem .9rem;gap:.6rem}
  .ft-md-cap b{font-size:1.9rem;white-space:normal}
  .ft-face.md{width:3.8rem;height:3.8rem}
  .ft-md-ticker{min-height:5.2rem;padding-left:1rem;padding-right:1rem}
  .ft-md-ticker>div{padding:0 1rem;flex:1 1 0}
  .ft-md-ticker small{font-size:.95rem}
  .ft-md-ticker b{font-size:1.45rem;white-space:normal;line-height:1.1}
}

/* The cut to the giant screen between points (renderScreenCut): a small TV plate, the replay's skip under it. */
.ft-screencut{position:fixed;left:max(1.6rem,env(safe-area-inset-left));bottom:max(2rem,calc(env(safe-area-inset-bottom) + 1.2rem));z-index:40;display:flex;flex-direction:column;align-items:flex-start;gap:.8rem;font-family:'Rubik',system-ui,sans-serif}
/* the plate slides in by itself: a transform on the box would pin the fixed skip button to it */
.ft-sc-plate{animation:ft-md-left .4s cubic-bezier(.2,.9,.3,1) both}
.ft-screencut[hidden]{display:none}
.ft-sc-plate{display:flex;flex-direction:column;padding:.6rem 1.8rem .7rem 1.4rem;background:#0E1411;border-left:.6rem solid #FF73B8;box-shadow:.4rem .4rem 0 #000;clip-path:polygon(0 0,100% 0,calc(100% - 1rem) 100%,0 100%)}
.ft-sc-plate small{color:#FFD23F;font:italic 900 1.15rem/1 'Rubik',sans-serif;letter-spacing:.1em}
.ft-sc-plate b{color:#F3E9CF;font:italic 900 2.6rem/1.05 'Rubik',sans-serif;text-transform:uppercase}
.ft-screencut .ft-replay-skip{position:fixed;pointer-events:auto}
body.ft-screencut-live #controls,body.ft-screencut-live #intent-feedback,body.ft-screencut-live #message,body.ft-screencut-live #team-control,body.ft-screencut-live #joystick-base,body.ft-screencut-live #ft-match-layer .ft-serve,body.ft-screencut-live #ft-match-layer .ft-green-cue,body.ft-screencut-live #ft-match-layer .ft-tito-call{visibility:hidden!important}  /* the quip stays: the players chat on the hydration break's bench */

/* The commercial break (renderAdBreak): a fake TV ad over Unity's flight above the stadium (Roger 2026-11-14: «que se
   vea abajo del texto»), its plate low in the sponsor's colours; a tap goes back to the match. */
.ft-adbreak{position:fixed;inset:0;z-index:45;display:flex;align-items:flex-end;justify-content:center;padding-bottom:max(7rem,calc(env(safe-area-inset-bottom) + 6rem));background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0) 55%);font-family:'Rubik',system-ui,sans-serif;cursor:pointer;animation:ft-ad-in .35s ease-out both}
.ft-adbreak[hidden]{display:none}
.ft-ad-bug{position:absolute;top:max(1.4rem,env(safe-area-inset-top));left:max(1.6rem,env(safe-area-inset-left));padding:.5rem 1.4rem;background:#0E1411;color:#F3E9CF;border:.2rem solid #F3E9CF;font:italic 900 1.4rem/1 'Rubik',sans-serif;letter-spacing:.08em;clip-path:polygon(.8rem 0,100% 0,calc(100% - .8rem) 100%,0 100%)}
.ft-ad-card{position:relative;max-width:min(78rem,90vw);padding:1.8rem 3.2rem 2.2rem;background:var(--bg,#121214);color:var(--fg,#FFD23F);text-align:center;box-shadow:.6rem .6rem 0 #000;border:.3rem solid var(--fg,#FFD23F);transform:rotate(-1.5deg);animation:ft-ad-pop .5s .15s cubic-bezier(.2,1.4,.4,1) both}
.ft-ad-card::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(0,0,0,.10) 0 2px,transparent 2px 5px);pointer-events:none}
.ft-ad-card b{display:block;font:italic 900 clamp(3.2rem,6.4vw,6.4rem)/.95 'Rubik',sans-serif;text-transform:uppercase;text-shadow:.4rem .4rem 0 rgba(0,0,0,.4)}
.ft-ad-card p{margin:1rem 0 1.1rem;font:italic 800 clamp(1.6rem,2.4vw,2.4rem)/1.2 'Rubik',sans-serif}
.ft-ad-tag{display:inline-block;padding:.5rem 1.6rem;background:var(--fg,#FFD23F);color:var(--bg,#121214);font:italic 900 clamp(1.4rem,2vw,2rem)/1.1 'Rubik',sans-serif;text-transform:uppercase;box-shadow:.3rem .3rem 0 #000;transform:rotate(2deg)}
.ft-ad-foot{position:absolute;left:0;right:0;bottom:max(1.6rem,env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:center;padding:0 max(2rem,env(safe-area-inset-left))}
.ft-ad-foot span{color:#F3E9CF;font:italic 800 1.4rem/1 'Rubik',sans-serif;text-shadow:0 .2rem 0 #000}
.ft-ad-skip{min-height:36px;padding:6px 13px;background:#0E1411;color:#FFD23F;border:2px solid #F7EFE0;box-shadow:.26rem .26rem 0 #000;font:italic 900 1.3rem/1 'Rubik',sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
@keyframes ft-ad-in{from{opacity:0}to{opacity:1}}
@keyframes ft-ad-pop{from{opacity:0;transform:rotate(-1.5deg) translateY(3rem)}to{opacity:1;transform:rotate(-1.5deg)}}
@media (prefers-reduced-motion:reduce){.ft-adbreak,.ft-ad-card{animation:none}}
/* the scoreboard and the rest of the match's HUD step aside for the ad */
body.ft-screencut-live:has(.ft-adbreak:not([hidden])) header .hud-scoreboard,body.ft-screencut-live:has(.ft-adbreak:not([hidden])) .hud-under{opacity:0}

/* Doubles: the line under the court that said who you control and who receives («Vos: Gary 1 · Recibís vos») goes
   (Roger 2026-11-14: «algo que hay que sacar en dobles»); the marker under your player already says it. */
#team-control{display:none!important}
.ft-mm-daily .ft-daily-prize{padding:.05rem .4rem;background:var(--ink);color:var(--yellow);font-style:italic;font-weight:900}
.ft-mm-daily.done .ft-daily-prize{background:var(--yellow);color:var(--ink)}
.ft-fin-daily{border-color:var(--yellow)!important;color:var(--yellow)!important}
/* Online's warm-up rally: «¡Rival encontrado!» and the line between rounds of cans, over the court (not the menus). */
.ft-wait-toast{position:fixed;left:50%;top:max(4.2rem,calc(env(safe-area-inset-top) + 3.6rem));transform:translateX(-50%);z-index:29;padding:.5rem 1.1rem;background:var(--ink,#102329);border:.2rem solid var(--yellow,#f2c230);color:var(--yellow,#f2c230);font:700 1.15rem/1.2 system-ui,sans-serif;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-shadow:0 .3rem 0 rgba(0,0,0,.35)}
.ft-wait-toast[data-kind=found]{font-size:1.5rem;background:var(--yellow,#f2c230);color:var(--ink,#102329);border-color:var(--ink,#102329)}
.ft-wait-toast[hidden]{display:none}
/* The search's banner (multiplayer.js) during the warm-up: left, clear of the touch buttons, below the drill's HUD and the
   centred notice (.ft-wait-toast): at the very top it sat under the chips on phones, upright and lying down. */
body.ft-wait-rally #peer-floating-banner{top:calc(max(.4rem,env(safe-area-inset-top)) + 7.4rem);bottom:auto;left:max(10px,env(safe-area-inset-left));transform:none;max-width:min(34vw,320px);flex-wrap:wrap;row-gap:4px}
body.ft-wait-rally #peer-banner-share{display:none}


/* ---------- El Club (ft-club.js): the level chip, the three desafíos, the end screen's line and La Pilcha's Tienda ---------- */
.ft-coin{display:inline-block;width:1em;height:1em;margin-right:.25em;vertical-align:-.12em;border-radius:50%;background:radial-gradient(circle at 35% 35%,#FFE989 0 30%,var(--yellow) 31% 62%,#C9961C 63%);box-shadow:inset 0 0 0 .08em #8A6410}
.ft-club-bar{display:inline-block;position:relative;width:5rem;height:.7rem;background:rgba(243,233,207,.18);border:.12rem solid rgba(243,233,207,.5);overflow:hidden;flex:none}
.ft-club-bar i{position:absolute;left:0;top:0;bottom:0;background:var(--live)}
.ft-club-coins{display:inline-flex;align-items:center;color:var(--yellow);font-weight:900;font-style:italic}
.ft-club-coins.big{font-size:1.8rem}
.ft-mm-dock-item.club{gap:.6rem}
.ft-mm-dock-item.club .ft-club-lv{display:flex;flex-direction:column;align-items:flex-start;line-height:1;font-style:italic;font-weight:900}
.ft-mm-dock-item.club .ft-club-lv small{font-size:.72rem;font-weight:700;font-style:normal;text-transform:none;opacity:.8;max-width:9rem;overflow:hidden;text-overflow:ellipsis}
.ft-mm-club{position:absolute;right:1.4rem;top:auto;bottom:1.6rem;width:21rem;display:flex!important;flex-direction:column;align-items:stretch;gap:.35rem;padding:.6rem .8rem!important;background:var(--ink)!important;color:var(--cream)!important;border:.2rem solid var(--cream)!important;box-shadow:.3rem .3rem 0 #000;text-align:left;cursor:pointer;z-index:2}
.ft-mm-club:hover,.ft-mm-club:focus-visible{transform:translate(-.1rem,-.1rem);box-shadow:.4rem .4rem 0 #000}
.ft-mm-club .ft-club-head{font-weight:900;font-style:italic;font-size:1.1rem;text-transform:uppercase;color:var(--yellow)}
.ft-club-row{display:grid;grid-template-columns:1fr 3.4rem auto auto;align-items:center;gap:.5rem;font-size:.92rem;font-weight:700}
.ft-club-row .ft-club-what{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-club-prog{position:relative;height:.55rem;background:rgba(243,233,207,.18);overflow:hidden}
.ft-club-prog i{position:absolute;left:0;top:0;bottom:0;background:var(--yellow)}
.ft-club-row b{font-size:.85rem;opacity:.85}
.ft-club-row em{font-style:normal;font-weight:900;color:var(--yellow);font-size:.85rem;white-space:nowrap}
.ft-mm-club .ft-club-gift{font-size:.8rem;font-weight:700;color:var(--live)}
@media (orientation:portrait){
  .ft-mm-club{right:2.4rem;left:2.4rem;width:auto;top:auto;bottom:max(1.6rem,env(safe-area-inset-bottom))}
}
.ft-fin-club{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;margin-top:.3rem;max-width:44rem}
.ft-fin-club .ft-club-gain{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .7rem;font-size:1.05rem;font-weight:900;font-style:italic}
.ft-fin-club .ft-club-gain b.up{padding:0 .4rem;background:var(--live);color:var(--ink)}
.ft-fin-club .ft-club-done{color:var(--yellow);font-size:.95rem}
.ft-fin-club small{font-size:.9rem;font-weight:700;color:var(--live);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* La Pilcha's Tienda: the coins, three tabs, a grid of drawn pieces (pieceArt) that scrolls, and the picked piece's bar
   always under the grid (it never sits on top of the pieces). */
.ft-armado-pick.shop{height:25.6rem;gap:.55rem;overflow:hidden;padding-right:0}
.ft-shop-top{display:flex;align-items:center;gap:.8rem;flex:none;font-weight:900;font-style:italic}
.ft-shop-lv{font-size:1.2rem}
.ft-shop-tabs{display:flex;gap:.5rem;flex:none}
.ft-shop-tabs button{flex:1;height:3.2rem;font-weight:900!important;font-style:italic!important;font-size:1.2rem!important;text-transform:uppercase;background:var(--panel)!important;border:.2rem solid var(--line)!important}
.ft-shop-tabs button.on{background:var(--cream)!important;color:var(--ink)!important;border-color:var(--cream)!important;box-shadow:.25rem .25rem 0 #000}
.ft-shop-grid{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:min-content;gap:.45rem;padding:.2rem .4rem .3rem .1rem}
.ft-shop-grid.shoes,.ft-shop-grid.ball{grid-template-columns:repeat(5,minmax(0,1fr))}
.ft-shop-item{position:relative;display:flex!important;flex-direction:column;align-items:center;gap:.1rem;padding:.35rem .2rem .3rem!important;border:.2rem solid var(--line)!important;background:linear-gradient(180deg,#24362B,var(--panel))!important;font-size:.9rem!important;font-weight:900!important;font-style:italic;text-transform:uppercase;min-width:0}
.ft-shop-item>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft-shop-item small{font-size:.9rem;font-weight:900;font-style:normal;color:var(--yellow);display:inline-flex;align-items:center;text-transform:none}
.ft-shop-item:hover{border-color:var(--cream)!important}
.ft-shop-item.owned small{color:var(--muted)}
.ft-shop-item.on{border-color:var(--live)!important}
.ft-shop-item.on small{color:var(--live)}
.ft-shop-item.pick{border-color:var(--yellow)!important;box-shadow:.3rem .3rem 0 #000;transform:translateY(-.15rem)}
.ft-piece{display:block;width:3.1rem;height:3.1rem;flex:none;filter:drop-shadow(.2rem .25rem 0 rgba(0,0,0,.45))}
.ft-shop-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:4rem;padding:.4rem .7rem;background:var(--ink);border:.2rem solid var(--line)}
.ft-shop-picked{display:flex;align-items:center;gap:.6rem;min-width:0}
.ft-shop-picked .ft-piece{width:3.4rem;height:3.4rem}
.ft-shop-picked>span{display:flex;flex-direction:column;min-width:0}
.ft-shop-picked b{font-weight:900;font-style:italic;font-size:1.3rem;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-shop-picked small{font-size:.95rem;font-weight:800;color:var(--live)}
.ft-shop-bar .ft-chip{flex:none;font-size:1.2rem}
.ft-shop-note{margin:0;font-size:1.05rem;line-height:1.3;color:var(--cream);font-weight:800}
.ft-shop-note small{display:block;font-size:.9rem;font-weight:600;color:var(--muted)}
.ft-shop-bar .ft-chip.short{background:transparent!important;color:var(--yellow)!important;border:.2rem dashed var(--yellow)!important;box-shadow:none}
.ft-shop-item.short small{color:#FF7A66}
.ft-shop-picked small.short{color:#FF7A66}
.ft-shop-price{display:inline-flex;align-items:center;margin-left:.4rem;font-style:normal;font-size:1.05rem;color:#FF7A66;vertical-align:middle}
/* El Club: level bar and coins in the title bar, its tabs (Desafíos + the Tienda's three), your captain in 3D, and the
   three challenges as big rows with their progress and coins. */
.ft-club-status{margin-left:auto;display:flex;align-items:center;gap:.9rem;padding:.6rem 1.2rem;background:var(--panel);border:.2rem solid var(--line);box-shadow:.3rem .3rem 0 #000}
.ft-club-status .ft-club-bar{width:9rem;height:1rem}
.ft-club-status small{font-size:1.05rem;font-weight:800;letter-spacing:.04em;white-space:nowrap}
.ft-armado-pick.club{height:28.6rem;overflow:hidden}
.ft-club-list{display:flex;flex-direction:column;gap:.7rem}
.ft-club-ch{display:grid;grid-template-columns:1fr 7rem auto auto;align-items:center;gap:.8rem;padding:1rem 1.1rem;background:var(--panel);border:.2rem solid var(--line);font-weight:800;font-size:1.25rem}
.ft-club-ch .ft-club-what{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-club-ch .ft-club-prog{height:.8rem}
.ft-club-ch b{font-size:1.1rem;opacity:.85;white-space:nowrap}
.ft-club-ch em{font-style:normal;font-weight:900;color:var(--yellow);font-size:1.25rem;white-space:nowrap;display:inline-flex;align-items:center}
.ft-club-ch.done{border-color:var(--live)}
.ft-club-ch.done .ft-club-prog i{background:var(--live)}
.ft-club-gift{margin:.3rem 0 0;font-size:1.15rem;font-weight:800;color:var(--live)}
.ft-club-how{margin:0;font-size:1.05rem;line-height:1.4;color:var(--muted)}
@media (orientation:portrait){
  .ft-club-status{margin-left:0;order:3;width:100%;justify-content:space-between;box-sizing:border-box}
  .ft-club-status .ft-club-bar{flex:1}
  .ft-armado-pick.club{height:31rem}
  .ft-s-club .ft-tabs{overflow:visible}
  .ft-s-club .ft-tabs button{flex:1 1 0;min-width:0;padding:0 .4rem!important;font-size:1.1rem!important;text-align:center}
  .ft-club-ch{grid-template-columns:1fr 5rem auto auto;font-size:1.15rem;padding:.9rem}
  .ft-armado-pick.shop{height:29.4rem}
  .ft-shop-grid,.ft-shop-grid.shoes,.ft-shop-grid.ball{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ft-piece{width:3.8rem;height:3.8rem}
}
