@font-face{font-family:Lilita;src:url('assets/LilitaOne.ttf') format('truetype');font-display:swap}:root{--pink:#ff009f;--cyan:#00eaff;--cream:#fff0d3;--ink:#071544;--yellow:#ffe24a;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;margin:0}body{height:100dvh;overflow:hidden;overscroll-behavior:none;color:var(--cream);font:700 16px ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none;background:#006de0 url('assets/fondo-cartel.png') center/cover no-repeat;display:grid;grid-template-rows:56px minmax(0,1fr);padding:0 max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left))}.svg-defs{position:absolute;width:0;height:0;pointer-events:none}.plush{font-family:Lilita,sans-serif;color:var(--cream);letter-spacing:.01em;-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;text-shadow:0 5px 0 #f60096,0 8px 0 #071544,2px -2px 0 #00edff;filter:url('#softFabric')}header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:2;padding:0 10px}.brand{font-size:clamp(23px,3vw,38px);white-space:nowrap}#hud{font-size:13px;background:#061b62d9;border:2px solid #45d9ff;padding:7px 16px;border-radius:20px;letter-spacing:.5px;box-shadow:0 3px #001c64}.top-actions{display:flex;gap:10px}button,a{font:inherit;color:inherit}button{border:3px solid #071544;border-radius:18px;background:linear-gradient(#ff58cf,#ed0096);color:#fff7dc;padding:10px 18px;cursor:pointer;box-shadow:0 4px #071544,0 0 0 2px #39e6ff;font-family:Lilita,sans-serif;font-size:19px;touch-action:none;text-shadow:0 2px #7f125e}button:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #071544,0 0 0 2px #39e6ff}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.top-actions button{font-size:14px;padding:5px 12px;border-radius:13px}#fullscreen{font:22px system-ui;padding:0 10px}.stage{position:relative;display:grid;grid-template-columns:125px minmax(0,1fr) 125px;min-height:0;gap:10px;width:100%;height:100%;padding-bottom:8px}main{display:block;position:relative;min-height:0;min-width:0;border:4px solid #071544;border-radius:26px;overflow:hidden;box-shadow:0 0 0 3px #00eaff,0 7px 0 #f6009f,0 10px 25px #001c7777;background:#00367a}#board{display:block;width:100%;height:100%;outline:none}.rail{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;position:relative}.rail:before{content:'';position:absolute;inset:5px 0;background:#002a78bd;border:2px dashed #7cf5ff;border-radius:26px;z-index:-1;box-shadow:0 0 0 4px #07154499}#portrait{width:112px;height:112px;filter:drop-shadow(0 3px 1px #001b65)}#playerName{font:25px Lilita,sans-serif;text-shadow:0 3px #00206e}#lifeDisplay{color:var(--yellow);font-size:18px;letter-spacing:1px;filter:drop-shadow(0 2px 0 #061a55)}.control-row{display:flex;gap:8px;margin:6px 0}.control-row button{width:52px;height:60px;padding:4px;font:25px system-ui;background-image:linear-gradient(#f700a788,#c1008588),url('assets/fondo-cartel.png');background-size:cover}.right-rail .control-row{flex-direction:column;width:100%;align-items:center;gap:12px}.right-rail .control-row button{width:80px;height:54px}.power-meter{text-align:center;width:92%;font-size:12px;min-height:36px}.power-meter>div{height:8px;border:2px solid #071544;border-radius:20px;background:#002a75;margin-top:8px;overflow:hidden}#powerFill{display:block;width:0;height:100%;background:#ffe666;box-shadow:0 0 12px #fff5b4}#skill{font-size:17px;width:94%;padding:8px 3px;background:linear-gradient(#ffe676,#ffc736);color:#122251;text-shadow:none}#scoreDisplay{font-size:28px}#minimap{width:94px;height:104px;border:2px solid #ff4ec2;border-radius:12px;background:#002365;box-shadow:0 0 0 2px #071544}#overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:#002b7d88;backdrop-filter:blur(8px);padding:14px}#overlay[hidden]{display:none}#panel{width:min(1260px,100%);max-height:100%;overflow:auto;touch-action:pan-y;border:5px solid #071544;border-radius:36px;background:linear-gradient(100deg,#003caa30,#00246bd4),url('assets/fondo-cartel.png') center/cover;box-shadow:0 0 0 3px #fff6de,0 0 0 8px #ff0aa3,0 14px 0 #07154499;padding:24px;text-align:center;position:relative}.menu-layout{display:grid;grid-template-columns:29% 1fr;gap:24px;align-items:center}.menu-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.menu-logo{width:100%;filter:drop-shadow(0 6px 2px #00227766)}.prefix{font:34px Lilita;color:#fff4d7;-webkit-text-stroke:5px #071544;paint-order:stroke fill;text-shadow:0 4px #f5009b;transform:rotate(-7deg);align-self:flex-start;margin:0 0 -18px 10px;z-index:1}.menu-group{width:90%;max-height:330px;object-fit:contain;filter:drop-shadow(0 5px 2px #001a68)}.menu-choose{min-width:0}.menu-prompt{font:30px Lilita;margin:4px 0 14px;text-shadow:0 3px #002c6a}.characters{display:flex;gap:14px;justify-content:center;margin:15px 0}.character{display:flex;align-items:center;flex-direction:column;gap:3px;flex:1;min-width:0;padding:12px 4px;background:linear-gradient(#004aa977,#001c68bb),url('assets/fondo-cartel.png') center/cover;border:3px dashed #69eaff;box-shadow:0 5px 0 #071544,0 0 0 3px #071544;text-shadow:0 2px #002e68}.character.active{background:linear-gradient(#ff71d0d9,#f00e9de8),url('assets/fondo-cartel.png') center/cover;border-color:#fff1cf;box-shadow:0 5px 0 #071544,0 0 0 4px #ffe75c}.character canvas{display:block;width:100%;height:auto;max-width:180px;aspect-ratio:1;filter:drop-shadow(0 3px 1px #00154a66)}.character b{font:25px Lilita,sans-serif}.character small{font:700 11px system-ui}#description{font-size:14px;min-height:38px;line-height:1.35;margin:14px 0}#start{font-size:28px;min-width:230px;background:linear-gradient(#ffe982,#ffcd41);color:#10274f;text-shadow:none;border-color:#10254c}.instructions{font-size:12px;opacity:.95;margin:14px 0 0;line-height:1.4}.eyebrow{font-size:12px;letter-spacing:3px;color:#d4ffff}h1,h2{font-family:Lilita,sans-serif;font-weight:400;font-size:clamp(30px,4vw,48px);line-height:1.05;margin:12px 0;text-shadow:0 3px #07347b}p{line-height:1.5;margin:10px 0}nav{display:flex;gap:24px;justify-content:center;margin-top:12px}a{font-size:13px;text-decoration:underline;text-underline-offset:3px;color:#fff4d8}.party-head{width:95px;height:95px;animation:dance .8s ease-in-out infinite alternate}.parade{display:flex;gap:20px;animation:march 8s linear infinite}.parade canvas{width:76px;height:76px}#rotate{display:none}.rotate-logo{width:85%;max-width:370px}@keyframes march{from{transform:translateX(-130%)}to{transform:translateX(130%)}}@keyframes dance{to{transform:translateY(-13px) rotate(7deg)}}@media(orientation:portrait) and (pointer:coarse){#rotate{position:fixed;inset:0;z-index:20;background:#006de0 url('assets/fondo-cartel.png') center/cover;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;gap:22px;text-align:center;padding:20px}header,.stage{visibility:hidden}}@media(max-height:540px){body{grid-template-rows:42px minmax(0,1fr);padding-left:max(5px,env(safe-area-inset-left));padding-right:max(5px,env(safe-area-inset-right))}header{gap:7px;padding:0 5px}.brand{font-size:24px}#hud{font-size:10px;padding:5px 10px}.top-actions{gap:7px}.top-actions button{font-size:12px;padding:4px 8px}#fullscreen{font-size:19px;padding:0 6px}.stage{grid-template-columns:94px minmax(0,1fr) 94px;gap:8px;padding:0 0 7px}main{border-width:3px;border-radius:18px}.rail{gap:6px}.rail:before{border-radius:18px}#portrait{width:86px;height:86px}#playerName{font-size:20px}#lifeDisplay{font-size:15px}.control-row{gap:6px;flex-wrap:wrap;justify-content:center}.control-row button{width:40px;height:49px;font-size:21px;border-radius:14px}.right-rail .control-row{gap:8px;margin:2px 0}.right-rail .control-row button{width:66px;height:41px}#scoreDisplay{font-size:23px}#minimap{width:62px;height:69px}.power-meter{font-size:10px;min-height:29px}#skill{font-size:14px;padding:6px 2px}#panel{padding:10px 14px;border-radius:24px}.menu-layout{grid-template-columns:27% 1fr;gap:16px}.prefix{font-size:23px;margin:0 0 -10px 4px}.menu-group{max-height:160px;width:95%}.menu-prompt{font-size:21px;margin:2px 0 8px}.characters{gap:10px;margin:6px 0}.character{padding:6px 3px;gap:0;border-width:2px}.character canvas{max-width:116px}.character b{font-size:19px}.character small{font-size:10px}#description{min-height:28px;font-size:12px;line-height:1.2;margin:8px 0}#start{font-size:21px;padding:7px 20px;min-width:200px}.instructions{font-size:10px;margin-top:8px}nav{margin-top:7px;gap:18px}a{font-size:11px}.eyebrow{font-size:10px}h1{font-size:30px}.party-head{width:55px;height:55px}}@media(max-width:720px) and (orientation:landscape){.stage{grid-template-columns:80px minmax(0,1fr) 80px;gap:7px}#portrait{width:72px;height:72px}.control-row button{width:33px;height:47px;font-size:18px;padding:1px}.right-rail .control-row button{width:56px}#hud{font-size:9px;padding:5px 7px}.brand{font-size:21px}.menu-layout{grid-template-columns:24% 1fr;gap:12px}.menu-prompt{font-size:19px}.characters{gap:8px}.character b{font-size:17px}.character small{font-size:9px}#description{font-size:11px}.menu-group{max-height:150px}}@media(max-height:340px){#minimap{width:45px;height:49px}.rail{gap:4px}#portrait{width:62px;height:62px}#playerName{font-size:17px}.menu-group{max-height:120px}.character canvas{max-width:82px}.menu-prompt{font-size:18px}#description{margin:5px 0;min-height:23px}.instructions{margin-top:6px;font-size:9px}.prefix{font-size:19px}}@media(prefers-reduced-motion:reduce){.parade,.party-head{animation:none}}
@media(max-height:540px){.menu-choose .instructions{display:none}.menu-prompt{margin:0 0 3px}.characters{margin:4px 0}.character{padding:4px 2px}#description{min-height:0;margin:6px 0;font-size:11px;line-height:1.2}.menu-choose nav{margin-top:7px}.menu-choose #start{font-size:20px;padding:6px 18px}}
@media(max-height:540px){.left-rail .control-row{flex-direction:column;align-items:center;width:100%;gap:8px}.left-rail .control-row button,.right-rail .control-row button{width:66px;height:44px}}@media(max-width:720px) and (orientation:landscape){.left-rail .control-row button,.right-rail .control-row button{width:56px;height:44px}}
/* Sharp interface text: textile rendering belongs to artwork, never to text. */
[hidden]{display:none!important}.plush{filter:none;-webkit-text-stroke:0;text-shadow:0 2px 0 #071544,1px 0 #071544,-1px 0 #071544}#panel h1{filter:none;color:#fff4df;-webkit-text-stroke:0;text-shadow:0 2px #002778;font-weight:400}.menu-layout{display:block}.game-logo{display:block;width:min(680px,88%);height:150px;object-fit:contain;margin:-12px auto -4px}.menu-prompt{font-size:25px;margin:0 0 7px}.menu-choose{width:100%;max-width:970px;margin:auto}.character canvas{max-width:145px}.characters{margin:8px 0}.character{padding:7px 3px}.character b{font-size:24px}#description{font-size:14px;line-height:1.35;min-height:38px;max-width:860px;margin:12px auto 6px}.fish-help{font-size:13px;margin:4px 0 12px;color:#edffff}.menu-choose .instructions{font-size:11px;margin-top:8px}.menu-choose nav{margin-top:8px}#start{font-size:25px;padding:8px 24px}.intro-counter{font:23px Lilita,sans-serif;color:#fff4df;text-shadow:0 2px #072b76}.round-moment{position:absolute;z-index:3;left:50%;bottom:14px;transform:translateX(-50%);background:#003e97ec;border:3px solid #fff1d2;border-radius:23px;box-shadow:0 0 0 4px #ff13a7,0 6px 20px #000b3b99;padding:9px 18px;text-align:center;min-width:65%;animation:momentIn .25s ease-out}.round-moment strong{display:block;font:27px Lilita,sans-serif;color:#fff1d3;text-shadow:0 2px #001c64}.moment-heads{display:flex;align-items:flex-end;justify-content:center;gap:12px}.moment-winner{width:100px;height:100px;animation:dance .45s ease-in-out infinite alternate}.moment-loser{width:68px;height:68px;animation:sigh 1s ease-in-out infinite alternate}#panel{transition:opacity .2s}.top-actions #sound{min-width:32px}@keyframes momentIn{from{opacity:0;transform:translate(-50%,15px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes sigh{to{transform:translateY(3px) rotate(-3deg)}}
@media(max-height:540px){#panel{padding:7px 14px}.game-logo{width:80%;height:66px;margin:-5px auto -2px}.menu-prompt{display:none}.character canvas{width:84px;max-width:100%}.character{padding:3px 2px;gap:0}.character b{font-size:18px}.character small{font-size:10px}.characters{margin:4px 0;gap:12px}#description{font-size:11px;line-height:1.25;min-height:28px;margin:7px auto 4px}.fish-help{font-size:10px;margin:3px 0 7px;line-height:1.2}.menu-choose #start{font-size:20px;padding:5px 20px}.menu-choose nav{margin-top:6px}.menu-choose .instructions{display:none}.round-moment{bottom:10px;padding:5px 12px;border-radius:16px;min-width:80%}.round-moment strong{font-size:20px}.moment-heads{gap:6px}.moment-winner{width:62px;height:62px}.moment-loser{width:45px;height:45px}.intro-counter{font-size:20px}#panel h1{font-size:30px}.top-actions{gap:5px}.top-actions button{padding-left:7px;padding-right:7px}.top-actions #sound{min-width:26px}}
@media(max-width:720px) and (orientation:landscape){.character canvas{width:78px}.characters{gap:9px}.game-logo{height:61px}#description{font-size:10px;min-height:27px}.fish-help{font-size:9px}.moment-winner{width:55px;height:55px}.moment-loser{width:39px;height:39px}.round-moment{min-width:90%}}
@media(prefers-reduced-motion:reduce){.moment-winner,.moment-loser,.round-moment{animation:none}}
@media(max-height:540px){#description{font-size:12px;min-height:30px}}@media(max-width:720px) and (orientation:landscape){#description{font-size:11px;min-height:28px}}
.brand-logo{display:block;width:182px;height:53px;object-fit:contain;flex-shrink:0}#saveIndicator{font:700 12px system-ui;color:#b9ffdf;min-width:12px}.save-error{color:#ffe174!important;font-size:10px!important}.pickup-icon{display:inline-block;width:36px;height:36px;vertical-align:middle;background-image:url('assets/objetos-peluche.png');background-size:200% 200%;background-repeat:no-repeat;filter:drop-shadow(0 1px 1px #00154d66);margin:0 3px}.pickup-star{background-position:0 100%}.pickup-fish{background-position:0 0}.menu-prompt{display:none!important}.character small{display:none}.menu-buttons{display:flex;align-items:stretch;justify-content:center;gap:14px;margin:6px auto}.menu-buttons button{font-size:23px;min-width:210px;padding:8px 20px}.menu-buttons button small{display:block;font:700 11px system-ui;margin-top:3px}.menu-buttons #continueSaved{background:linear-gradient(#fff0a0,#ffd044);color:#082650;text-shadow:none}.menu-buttons #start{background:linear-gradient(#ff63d0,#f3009c);color:#fff3dc;text-shadow:0 2px #851454}.save-note{font-size:11px;margin:7px 0 0;color:#d9faff}.game-logo{height:135px}.fish-help{display:flex;align-items:center;justify-content:center;gap:3px;margin:3px 0 8px}#description{min-height:38px;margin:8px auto 3px;line-height:1.35}.power-meter{background:#003173bb;border:1px dashed #7ee6ff;border-radius:14px;padding:8px 4px;min-height:82px;width:96%}.power-meter .pickup-icon{width:26px;height:26px}.moment-heads{gap:9px;justify-content:center}.moment-winner,.moment-loser{width:110px;height:110px;flex-shrink:0}.round-moment{min-width:80%;max-width:96%;padding:8px 14px}.moment-winner{filter:drop-shadow(0 0 6px #ffe164)}.final-cast{display:grid;grid-template-columns:repeat(6,90px);justify-content:center;gap:10px;margin:14px auto}.final-cast .party-head{width:90px;height:90px}.menu-choose .instructions{margin-top:5px}
@media(max-height:540px){.brand-logo{width:126px;height:39px}#hud{font-size:10px;padding:5px 8px}header{gap:5px}.top-actions{gap:4px}#saveIndicator{font-size:10px;min-width:10px}.game-logo{height:54px;margin:-4px auto -2px}.character canvas{width:73px}.character{padding:3px 2px}.character b{font-size:18px}.characters{margin:4px 0;gap:10px}#description{font-size:12px;min-height:25px;margin:5px auto 2px;line-height:1.3}.pickup-icon{width:27px;height:27px;margin:0 2px}.fish-help{font-size:11px;line-height:1.1;margin:2px 0 5px}.menu-buttons{margin:5px auto 0;gap:10px}.menu-buttons button,.menu-choose .menu-buttons #start{font-size:18px;min-width:175px;padding:5px 12px}.menu-buttons button small{font-size:9px;line-height:1.1;margin-top:2px}.save-note{font-size:10px;margin-top:5px;line-height:1.15}.menu-choose nav{margin-top:5px}.power-meter{min-height:76px;font-size:11px;padding:5px 3px}.power-meter .pickup-icon{width:24px;height:24px}.moment-winner,.moment-loser{width:clamp(56px,calc((100vw - 280px)/6),90px);height:clamp(56px,calc((100vw - 280px)/6),90px)}.moment-heads{gap:5px}.round-moment{padding:5px 10px}.final-cast{grid-template-columns:repeat(6,64px);gap:6px;margin:8px auto}.final-cast .party-head{width:64px;height:64px}}
@media(max-width:720px) and (orientation:landscape){.brand-logo{width:111px;height:37px}.game-logo{height:49px}.character canvas{width:68px}.character b{font-size:17px}#description{font-size:11px;min-height:24px}.fish-help{font-size:10px}.pickup-icon{width:24px;height:24px}.menu-buttons button,.menu-choose .menu-buttons #start{min-width:160px;font-size:16px;padding:4px 10px}.save-note{font-size:9px}.final-cast{grid-template-columns:repeat(6,54px);gap:5px}.final-cast .party-head{width:54px;height:54px}}
@media(max-height:340px){.character canvas{width:58px}.game-logo{height:43px}.save-note{margin-top:3px}.menu-buttons{margin-top:3px}.power-meter{min-height:65px}.moment-winner,.moment-loser{width:55px;height:55px}.final-cast{grid-template-columns:repeat(6,46px)}.final-cast .party-head{width:46px;height:46px}}

/* One-thumb pad: the whole surface tracks one captured pointer, including corners. */
.stage{grid-template-columns:125px minmax(0,1fr) 180px}.right-rail{gap:9px}.dpad{--pad-size:156px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:var(--pad-size);height:var(--pad-size);flex-shrink:0;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;isolation:isolate;margin:4px 0 8px;filter:drop-shadow(0 5px 0 #071544)}.dpad:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(145deg,#ff66d4,#f0009f 65%,#a90085);clip-path:polygon(33.33% 0,66.67% 0,66.67% 33.33%,100% 33.33%,100% 66.67%,66.67% 66.67%,66.67% 100%,33.33% 100%,33.33% 66.67%,0 66.67%,0 33.33%,33.33% 33.33%);border-radius:16px}.dpad button{width:100%;height:100%;min-width:0;padding:0;border:2px solid #5aefff;box-shadow:none;background:transparent;font:24px system-ui;border-radius:12px;touch-action:none;position:relative;color:#fff4d8;z-index:1}.dpad button:after{content:'';position:absolute;inset:5px;border:1px dashed #fff2caaa;border-radius:6px;pointer-events:none}.dpad button:active{transform:none;box-shadow:none}.dpad button.is-pressed{background:#fff1b7;color:#091c54;text-shadow:none;box-shadow:0 0 15px #fff3c780}.pad-up{grid-area:1/2}.pad-left{grid-area:2/1}.pad-right{grid-area:2/3}.pad-down{grid-area:3/2}.pad-center{grid-area:2/2;position:relative;background:linear-gradient(135deg,#ed28bb,#b5008c);border-radius:10px;box-shadow:inset 0 2px 6px #07154488}.pad-center:after{content:'';position:absolute;inset:30%;border-radius:50%;border:2px dashed #fff0d3;box-shadow:0 1px 3px #071544}.pause-pad{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:86px;height:76px;margin-top:12px;background:linear-gradient(#ff58cf,#db0093);border:3px solid #091848;border-radius:20px;box-shadow:0 4px #071544,0 0 0 2px #4bedff;touch-action:none}.pause-pad span{font:30px system-ui;line-height:1}.pause-pad small{font:16px Lilita,sans-serif}.right-rail .power-meter{min-height:55px}.right-rail #minimap{width:70px;height:77px}
@media(max-height:540px){.stage{grid-template-columns:86px minmax(0,1fr) 150px;gap:8px}.right-rail{gap:5px}.dpad{--pad-size:144px;margin:2px 0 8px}.right-rail #minimap{width:45px;height:50px}.right-rail #scoreDisplay{font-size:23px;line-height:1.05}.right-rail .power-meter{min-height:49px;max-width:145px;font-size:11px;padding:3px}.right-rail .power-meter>div{margin-top:3px;height:6px}.right-rail .pickup-icon{width:22px;height:22px}.pause-pad{width:70px;height:68px;margin-top:15px}.pause-pad span{font-size:27px}.pause-pad small{font-size:14px}.left-rail{gap:6px}.left-rail #portrait{width:80px;height:80px}}
@media(max-width:720px) and (orientation:landscape){.stage{grid-template-columns:76px minmax(0,1fr) 144px;gap:7px}.dpad{--pad-size:138px}.pause-pad{width:62px;height:64px}.left-rail #portrait{width:70px;height:70px}}
@media(max-height:340px){.right-rail{gap:3px}.right-rail #minimap{width:36px;height:40px}.right-rail .power-meter{min-height:43px}.right-rail #scoreDisplay{font-size:20px}.dpad{--pad-size:138px;margin-bottom:5px}.pause-pad{margin-top:8px}.left-rail #portrait{width:66px;height:66px}}
