@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--ink:#162a30;--paper:#f8f7f0;--red:#f45140;--yellow:#ffdf55;--teal:#006e5c;--line:#162a3026;--shadow:0 10px 32px #162a300b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:transparent;border:0;min-height:48px;font-weight:800;touch-action:manipulation}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--teal);outline-offset:4px}button:disabled{cursor:not-allowed}button{transition:transform .18s,background .18s,box-shadow .18s}button:hover:not(:disabled){filter:brightness(.98)}button:active:not(:disabled){transform:translateY(2px)}img{max-width:100%}p{line-height:1.55}h1,h2,h3,p{overflow-wrap:break-word}
header{display:flex;justify-content:space-between;align-items:center;padding:22px 5vw;border-bottom:1px solid var(--line);max-width:1600px;margin:auto}.brand{font-weight:900;font-size:25px;letter-spacing:-1.3px;color:inherit;text-decoration:none}.brand span{display:block;font-size:10px;letter-spacing:2px;margin-top:5px}.tools{display:flex;gap:12px;align-items:center}.tools button{font-size:12px;letter-spacing:.5px}.tools button:last-child{border:1.5px solid var(--ink);border-radius:50%;width:46px;font-size:18px;letter-spacing:0}
.home{display:grid;grid-template-columns:1fr 1.04fr;max-width:1370px;margin:auto;min-height:690px;padding:55px 5vw 62px;gap:5vw;align-items:center}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.8px;color:var(--teal)}h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(76px,7.8vw,118px);line-height:.9;letter-spacing:-2px;margin:26px 0;position:relative}h1 em{font-style:normal;color:var(--red)}h1 sup{display:inline-block;transform:rotate(-9deg);background:var(--yellow);border:1.5px solid;border-radius:8px;font:800 17px 'DM Sans';padding:10px;vertical-align:top;margin:10px 0 0 13px;letter-spacing:0}.subtitle{font-size:21px;line-height:1.5;max-width:340px}.primary{background:var(--red);border:1.5px solid var(--ink);border-radius:12px;box-shadow:3px 4px 0 var(--ink);padding:16px 23px;font-size:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;max-width:360px;margin:24px 0 16px;min-height:60px}.primary span{font-size:28px}.primary:hover:not(:disabled){transform:translate(1px,1px);box-shadow:2px 3px 0 var(--ink)}.secondary{display:flex;gap:18px;flex-wrap:wrap}.secondary button{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:40px;padding:0}.daily{margin-top:27px;padding:17px 0 0;border-top:1px solid var(--line);display:flex;gap:22px;align-items:start;max-width:380px}.daily strong{font-size:11px;letter-spacing:1px;color:var(--teal);max-width:85px;line-height:1.5}.daily p{font-size:14px;margin:0}
.poster{position:relative;height:574px;overflow:hidden;background:var(--yellow);border:2px solid var(--ink);border-radius:22px;box-shadow:5px 6px 0 var(--ink)}.poster-top{position:absolute;top:19px;left:19px;z-index:2;font-weight:800;font-size:11px;letter-spacing:1.5px;background:var(--paper);padding:9px 11px;border-radius:20px;border:1px solid}.poster-scene{position:absolute;inset:0 0 86px;background:#ffc453 url('assets/backgrounds-v7.webp') left top/200% 200%;opacity:.95}.team{position:absolute;inset:155px 12px 86px;display:flex;align-items:end;justify-content:center}.actor{background-image:url('assets/team-pilares-v21.webp');background-size:200% 200%;background-repeat:no-repeat;aspect-ratio:1}.team .actor{width:45%;height:260px;flex-shrink:0;margin:0 -10.5%;position:relative;filter:drop-shadow(2px 7px 2px #162a302f)}.team .bea,.team .leire{align-self:center;z-index:1}.team .rosa,.team .jorge{z-index:2}.team .bea{transform:translateY(-48px) rotate(-3deg)}.team .leire{transform:translateY(-48px) rotate(3deg)}.rosa{background-position:0 0}.bea{background-position:100% 0}.leire{background-position:0 100%}.jorge{background-position:100% 100%}.poster-caption{position:absolute;bottom:0;background:var(--ink);color:var(--paper);border-top:2px solid var(--ink);width:100%;padding:20px 24px;font:800 31px/1.05 'Barlow Condensed',Impact;letter-spacing:.2px}.poster-caption em{font-style:normal;color:var(--yellow)}.sticker{position:absolute;right:20px;top:62px;background:var(--yellow);border:1.5px solid;border-radius:50%;padding:22px 15px;font-size:12px;font-weight:900;line-height:1.4;transform:rotate(9deg)}footer{border-top:1px solid var(--line);padding:25px 5vw;display:flex;justify-content:space-between;gap:24px;font-size:12px;color:#546269}footer b{max-width:300px;color:var(--ink)}
h2{font:800 52px/1.02 'Barlow Condensed',Impact;margin:20px 0 24px;letter-spacing:-.6px}h2 em{font-style:normal;color:var(--red)}h3{font-size:20px}dialog{border:1.5px solid var(--ink);border-radius:20px;background:var(--paper);color:var(--ink);padding:28px;max-width:580px;width:calc(100% - 28px);max-height:90dvh;box-shadow:0 20px 70px #162a3055}dialog::backdrop{background:#162a30bb;backdrop-filter:blur(5px)}.close{float:right;font-size:28px;min-width:48px;border:1px solid var(--line);border-radius:50%}.flow{max-width:1170px;margin:auto;padding:34px 28px 50px}.back{font-size:14px;padding:0 18px 0 0}.step-heading{display:flex;align-items:center;gap:12px}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.card{background:#fff;border:1.5px solid var(--line);border-radius:16px;text-align:left;padding:16px;box-shadow:var(--shadow);position:relative;overflow:hidden;transition:.2s}.card.selected{background:var(--yellow);border-color:var(--ink);box-shadow:3px 4px 0 var(--ink);transform:translateY(-3px)}.card.selected::after{content:'✓';position:absolute;right:10px;top:10px;background:var(--ink);color:white;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:14px}.card .actor{height:auto;width:100%;margin:4px 0 16px;aspect-ratio:1}.card strong{display:block;font-size:21px}.card small{display:block;font-size:14px;font-weight:500;margin-top:7px;line-height:1.45}.card .anon{aspect-ratio:1;display:grid;place-items:center;font:800 84px 'Barlow Condensed';background:var(--paper);border-radius:50%;margin:4px 0 16px}.scene-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.scene-art{height:192px;background-image:url('assets/backgrounds-v7.webp');background-size:200% 200%;margin:-16px -16px 16px}.scene-1{background-image:url('assets/backgrounds-v7.webp');background-position:center 44%;background-size:cover}.scene-2{background-position:0 100%}.scene-3{background-position:100% 100%}.locked{filter:grayscale(.55);opacity:.62}.card:disabled{box-shadow:none}.custom{padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-top:26px;display:flex;gap:18px;flex-wrap:wrap}.custom label{display:grid;gap:8px;font-size:14px;font-weight:700}.custom input,select{max-width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.custom input[type=color]{height:48px;width:64px;padding:4px}.notice{font-size:13px;color:#56636a;line-height:1.5}.check{display:flex;gap:13px;align-items:center;padding:13px 0}.check input{width:23px;height:23px;accent-color:var(--teal)}
.guide-heading{display:flex;justify-content:space-between;align-items:center;gap:25px}.guide-heading h2{font-size:56px;margin-bottom:12px}.guide-heading p{font-size:16px;max-width:530px;margin-bottom:26px}.guide-seal{flex-shrink:0;border:1.5px solid var(--ink);border-radius:50%;background:var(--yellow);font-size:12px;font-weight:900;line-height:1.45;text-align:center;padding:27px 17px;transform:rotate(7deg)}.guide-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px}.guide-tabs button{display:flex;gap:10px;align-items:center;border:1.5px solid var(--line);border-radius:12px;padding:10px 18px;font-size:14px;background:#fff}.guide-tabs .active{background:var(--ink);color:white;border-color:var(--ink)}.legend-dot{width:27px;height:27px;min-width:27px;border-radius:50%;display:inline-grid;place-items:center;color:white;font-weight:900;font-size:19px}.legend-dot.avoid{background:#c8352c}.legend-dot.collect{background:var(--teal)}.guide-rule{font-size:14px;color:#526166;margin:17px 0 21px}.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.guide-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;box-shadow:var(--shadow)}.guide-art{height:155px;position:relative;overflow:hidden;background:#e9ece8;display:flex;align-items:center;justify-content:center}.item-sprite{height:130px;width:130px;background-image:url('assets/collectibles-v7.webp');background-size:600% 400%;border-radius:18px;border:2px solid #fff}.art-symbol{position:absolute;bottom:10px;right:12px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;font-size:20px;color:#fff;font-weight:900;border:1px solid var(--ink)}.art-symbol.avoid{background:#c8352c}.art-symbol.collect{background:var(--teal)}.guide-card.avoid .guide-art{background:#fae4db}.guide-card.collect .guide-art{background:#dbebe3}.singer-art img{height:100%;width:100%;object-fit:cover;object-position:center 24%}.facade-art img{width:100%;height:100%;object-fit:cover;object-position:center 55%}.brief-art{flex-direction:column;gap:6px;text-align:center!important;background:var(--yellow)!important;padding:14px}.brief-art span{background:var(--red);font-size:10px;letter-spacing:2px;padding:4px 11px}.brief-art b{font:900 29px/.92 'Barlow Condensed',Impact}.brief-art small{font-size:10px;letter-spacing:1.5px}.guide-copy{padding:16px}.action-chip{display:inline-block;font-size:11px;font-weight:800;line-height:1.35;text-transform:uppercase;letter-spacing:.35px;color:#a52e26}.collect .action-chip{color:var(--teal)}.guide-copy h3{font-size:17px;margin:10px 0 8px;line-height:1.2}.guide-copy p{font-size:13px;line-height:1.5;color:#56636a;margin:0}.wind-note{padding:16px 20px;background:#e9eee8;border-radius:12px;font-size:14px}.guide-bottom{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:16px 0 12px;display:flex;align-items:center;gap:24px;justify-content:space-between;margin-top:24px;z-index:3}.guide-bottom .primary{margin:0;max-width:340px;font-size:15px;min-height:54px}.mini-controls{display:flex;gap:18px;font-size:12px;font-weight:700;flex-wrap:wrap}
.game-shell{display:grid;grid-template-columns:240px 440px;gap:65px;justify-content:center;align-items:center;margin:20px auto 30px;padding:0 24px}.game-side h2{font-size:50px;max-width:200px}.game-side>p{font-size:14px}.side-legend{display:flex;gap:12px;margin:28px 0}.side-legend p{font-size:14px;line-height:1.45;color:#54666b;margin:5px 0}.side-legend b{font-size:15px}.side-quote{font:700 25px/1.2 'Barlow Condensed',Impact!important;border-top:1px solid var(--line);padding-top:24px}.game-wrap{width:100%;max-width:440px;position:relative;touch-action:none;margin:0 auto}.hud{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:var(--ink);color:white;border-radius:18px 18px 0 0;border:2px solid var(--ink);gap:12px}.hud-label{display:block;font-size:10px;letter-spacing:1.6px;color:#d5ded6}.hud strong{font:800 35px/1 'Barlow Condensed';display:block}.hud-center{font-size:12px;font-weight:600;text-align:center}.hud-center #flowers{font-size:16px}.hud-center #lives{display:block;color:var(--yellow);font-size:17px;letter-spacing:2px;margin-top:3px}.hud button{color:white;width:43px;min-height:43px;border:1px solid #ffffff45;border-radius:50%;font-size:20px}.arena{position:relative;height:min(59dvh,570px);background:#f3c476;overflow:hidden;border:2px solid var(--ink);border-top:0}canvas#game{width:100%;height:100%;display:block;touch-action:none}.scene-caption{position:absolute;top:10px;left:12px;right:12px;display:flex;justify-content:space-between;gap:10px;font-size:11px;font-weight:800;text-shadow:0 1px 4px #fff;background:#fff8eddd;padding:7px 9px;border-radius:6px}.scene-caption span{font-size:9px;letter-spacing:1px}.game-msg{position:absolute;top:51px;left:12px;right:12px;text-align:center;font-size:13px;font-weight:800;pointer-events:none;color:var(--ink);background:#ffedbde8;border:1px solid #162a3033;border-radius:8px;padding:7px;line-height:1.3}.game-msg:empty{display:none}.feedback{position:absolute;top:23%;left:9%;right:9%;text-align:center;background:#fffaf0f5;border:2px solid var(--ink);box-shadow:3px 4px 0 #162a3055;border-radius:13px;padding:10px 12px 12px;opacity:0;transform:translateY(5px) scale(.97);transition:opacity .16s,transform .18s;pointer-events:none;color:var(--teal)}.feedback.visible{opacity:1;transform:translateY(0) scale(1)}.feedback strong{display:block;font:900 48px/.97 'Barlow Condensed',Impact;letter-spacing:-.5px}.feedback span{display:block;font-size:13px;font-weight:700;line-height:1.35;margin-top:7px;color:var(--ink)}.feedback[data-kind=bad]{background:#ffdfcf;color:#c22b22;border-color:#a52620}.feedback[data-kind=bad] strong{font-size:43px}.feedback[data-kind=power]{background:var(--yellow);color:var(--ink)}.feedback[data-kind=power] strong,.feedback[data-kind=neutral] strong{font-size:32px}.track-legend{position:absolute;bottom:7px;left:12px;right:12px;display:flex;justify-content:space-between;font-size:9px;font-weight:900;letter-spacing:.7px;pointer-events:none}.track-legend span{background:#fffaf0dc;padding:4px 7px;border-radius:5px;color:var(--teal)}.track-legend span:last-child{color:#a52620}.controls{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;margin-top:8px}.controls button{border:1.5px solid var(--ink);border-radius:10px;background:white;font-size:25px;line-height:1;min-height:54px;touch-action:none;box-shadow:0 2px 0 var(--ink);padding:6px}.controls button small{display:block;font-size:9px;letter-spacing:.7px;margin-top:4px;font-weight:800}.controls button:nth-child(2){background:var(--yellow)}.power{width:100%;border:1.5px solid var(--ink);border-radius:10px;margin-top:10px;background:linear-gradient(90deg,var(--yellow) var(--charge,0%),#e9ece5 0);min-height:46px;font-size:14px}.power:not(:disabled){background:var(--red);box-shadow:0 2px 0 var(--ink)}.hint{text-align:center;font-size:11px;color:#53676b;padding-top:7px}.results{text-align:center;max-width:670px}.results h2{font-size:48px}.score-big{font:900 108px/1 'Barlow Condensed';color:var(--red)}.result-actor{height:185px;width:185px;margin:auto}.last-collision{border:1px solid #c7342b33;border-radius:8px;padding:12px;background:#ffe9e0;font-size:14px}.result-buttons{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:26px 0}.result-buttons button,.share-buttons button{border:1.5px solid var(--ink);border-radius:10px;padding:12px 18px;background:white;font-size:14px}.result-buttons button:first-child{background:var(--red);box-shadow:2px 3px 0 var(--ink)}.share-buttons{display:flex;gap:8px;flex-wrap:wrap}.share-buttons button:first-child{background:var(--yellow)}.cards-preview{width:180px;max-height:300px;object-fit:contain;display:block;margin:16px auto;border-radius:8px;border:1px solid var(--ink)}
.high-contrast{--paper:#fff;--ink:#001d24;--red:#d53125;--teal:#004e3f;--line:#001d2466}.high-contrast .notice,.high-contrast .guide-copy p,.high-contrast .hint{color:#001d24}.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.playing footer{display:none}body.playing header{padding:10px 5vw}body.playing header .brand{font-size:20px}body.playing header .brand span{display:none}#loading{position:fixed;inset:0;background:var(--ink);color:var(--paper);z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}#loading strong{font-size:30px;font-weight:900;letter-spacing:-1px}#loading p{font-size:16px;color:var(--yellow);max-width:280px}#loading button{border:1px solid var(--paper);border-radius:9px;padding:12px;background:var(--red);color:var(--ink)}
@media(max-width:1000px){.home{gap:32px;padding:40px 28px}h1{font-size:88px}.poster{height:535px}.team .actor{height:230px}.guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-shell{gap:32px;grid-template-columns:200px minmax(0,440px)}}
@media(max-width:700px){header{padding:16px 20px}.brand{font-size:21px}.brand span{font-size:8px}.tools{gap:8px}.tools button{font-size:10px}.home{display:flex;flex-direction:column;padding:30px 23px 38px;gap:34px}.intro{width:100%}h1{font-size:clamp(72px,17.5vw,102px);letter-spacing:-1px;margin:23px 0}.subtitle{font-size:18px;max-width:none}h1 sup{font-size:13px;margin-left:10px;padding:8px}.primary{max-width:none;min-height:57px}.poster{width:100%;height:460px;border-radius:17px}.team{inset:130px 4px 83px}.team .actor{height:230px}.poster-caption{font-size:29px}.sticker{right:14px;top:64px;font-size:10px;padding:18px 12px}.poster-top{font-size:10px}.daily{max-width:none}.secondary{gap:17px}.secondary button{font-size:13px}footer{flex-direction:column;gap:9px;padding:24px}.flow{padding:24px 19px 36px}h2{font-size:43px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .card:last-child{grid-column:1/-1}.cards .card:last-child .anon{max-width:150px;margin:0 auto 12px}.card{padding:14px}.card strong{font-size:20px}.card small{font-size:13px}.scene-cards .card:last-child{grid-column:auto}.scene-art{height:145px;margin:-14px -14px 14px}.custom{display:block}.custom label{margin-bottom:16px}.guide-heading h2{font-size:42px;margin-bottom:15px}.guide-heading p{font-size:14px}.guide-seal{display:none}.guide-tabs{gap:7px}.guide-tabs button{flex:1;font-size:11px;padding:9px 10px;gap:8px;justify-content:center}.legend-dot{min-width:23px;width:23px;height:23px;font-size:17px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-art{height:132px}.item-sprite{height:110px;width:110px}.guide-copy{padding:13px}.guide-copy h3{font-size:16px}.guide-copy p{font-size:12px}.action-chip{font-size:10px}.guide-rule{font-size:13px}.guide-bottom{flex-direction:column;gap:12px;padding:13px 0 calc(13px + env(safe-area-inset-bottom))}.guide-bottom .primary{max-width:none;font-size:14px}.mini-controls{gap:12px;justify-content:space-between;width:100%;font-size:10px}.step-heading .eyebrow{font-size:10px;letter-spacing:1px}.game-side{display:none}.game-shell{display:block;margin:0;padding:0 10px}.game-wrap{max-width:440px}.hud{border-radius:13px 13px 0 0;padding:8px 13px}.hud strong{font-size:30px}.arena{height:calc(100dvh - 280px);min-height:280px;max-height:620px}.controls button{min-height:51px}.feedback strong{font-size:45px}.feedback span{font-size:12px}.hint{padding:7px 0 calc(6px + env(safe-area-inset-bottom));font-size:11px}body.playing header{padding:8px 16px}.results h2{font-size:42px}.result-buttons{gap:9px}.result-buttons button{flex:1 1 44%;font-size:13px}}
@media(max-width:360px){.brand{font-size:18px}h1{font-size:69px}.home{padding:25px 18px}.guide-tabs button{font-size:10px;padding:8px}.scene-art{height:126px}.guide-copy{padding:10px}.controls button small{font-size:8px}.arena{min-height:255px}.poster{height:420px}.team .actor{height:205px}.poster-caption{font-size:26px}}
.power-summary{padding:20px 24px;background:white;border:1px solid var(--line);border-left:5px solid var(--teal);border-radius:12px;margin-top:26px;max-width:650px}.power-summary h3{margin:9px 0 5px;font-size:22px}.power-summary p{margin:0;color:#506268;font-size:15px}.power-summary .eyebrow{font-size:10px}
/* V3: brief comic impacts; no white score panels. */
.feedback{top:54%;left:var(--impact-x,50%);right:auto;width:165px;padding:0;border:0;border-radius:0;background:none!important;box-shadow:none;transform:translate(-50%,0) rotate(-6deg);transition:opacity .08s;filter:drop-shadow(2px 3px 0 #172b31);color:#a32418;opacity:0}.feedback.visible{transform:translate(-50%,0) rotate(-6deg)}.feedback strong,.feedback[data-kind=bad] strong{font-size:39px;line-height:1;padding:24px 6px 23px;letter-spacing:-1px;background:#ffe34a;clip-path:polygon(50% 0,59% 17%,76% 4%,77% 23%,98% 18%,88% 38%,100% 52%,85% 61%,94% 83%,74% 80%,70% 100%,53% 86%,37% 100%,32% 80%,10% 91%,15% 68%,0 58%,15% 42%,2% 22%,26% 23%,26% 3%,42% 18%)}.feedback span{font-size:11px;line-height:1.3;margin:1px 0 0;color:#fff;background:#8f241c;border-radius:5px;padding:4px 6px;filter:none}.feedback[data-kind=power]{top:15%;left:50%;width:210px;filter:none}.feedback[data-kind=power] strong{clip-path:none;font-size:17px;border-radius:10px;padding:10px;background:#ffe34a}.feedback[data-kind=power] span{display:none}.feedback[data-kind=neutral],.feedback[data-kind=good]{display:none!important}.game-msg{font-size:11px;top:46px;left:15%;right:15%;padding:4px 7px;background:#fff8e8de;border:0}.track-legend{font-size:10px}.track-legend span{background:#d6ffe4;color:#00583f}.track-legend span:last-child{background:#ffded4;color:#8e2018}.test-vibration{border:1px solid var(--ink);border-radius:9px;padding:10px 16px;background:var(--yellow);font-size:14px}.test-vibration:disabled{opacity:.4}.avatar-editor{display:block}.photo-pickers{display:grid;grid-template-columns:1fr 1fr;gap:18px}.avatar-adjustments{display:grid;grid-template-columns:minmax(140px,260px) 1fr;gap:24px;margin:20px 0;padding:18px;background:#eff3ed;border-radius:14px}.avatar-adjustments[hidden]{display:none}.avatar-sample{display:flex;justify-content:center;align-items:center;background:repeating-conic-gradient(#e0e6df 0% 25%,#f5f7f1 0% 50%) 50%/18px 18px;border-radius:12px}.avatar-sample canvas{width:100%;max-width:260px;height:auto}.avatar-adjustments label{margin:8px 0 12px;font-size:13px}.avatar-adjustments input[type=range]{width:100%;padding:0;accent-color:var(--teal)}.avatar-editor input[type=file]{font-size:12px;width:100%}.card .anon{background:none!important;border-radius:0!important}.card .anon img{width:100%;height:100%;object-fit:contain}.avatar-editor .notice{max-width:700px}@media(max-width:600px){.photo-pickers{grid-template-columns:1fr;gap:8px}.avatar-adjustments{grid-template-columns:1fr;padding:14px}.avatar-sample{max-height:240px}.avatar-sample canvas{height:240px;width:auto}.feedback{width:145px}.feedback strong,.feedback[data-kind=bad] strong{font-size:35px;padding:22px 5px}.feedback span{font-size:10px}}

.empty-head{width:100%;aspect-ratio:1;margin:4px 0 16px;display:grid;place-items:center;color:var(--ink)}.empty-head svg{width:100%;height:100%}.custom-card strong{line-height:1.15}@media(max-width:700px){.cards .card:last-child{grid-column:auto}.cards .custom-card{grid-column:1/-1;display:grid;grid-template-columns:110px 1fr;column-gap:18px;align-content:center}.custom-card .empty-head{grid-row:1/3;margin:0}.custom-card strong{align-self:end;padding-right:18px}.custom-card small{align-self:start}}

.cards:has(.custom-card){grid-template-columns:repeat(4,minmax(0,1fr))}.cards .custom-card{grid-column:1/-1;display:grid;grid-template-columns:110px 1fr;column-gap:18px;align-content:center}.custom-card .empty-head{grid-row:1/3;margin:0}.custom-card strong{align-self:end}.custom-card small{align-self:start}.inline-personalize{grid-column:1/-1}.inline-personalize[hidden],.power-summary[hidden]{display:none}.inline-personalize .custom{margin:0 0 12px;border:2px solid var(--ink);background:#fffbed}.avatar-editor select{width:100%;margin-top:6px}.difficulty-picker{margin:24px 0;padding:20px;border:1.5px solid var(--line);border-radius:14px;background:#fffbed}.difficulty-picker label{display:block;font-weight:800;font-size:19px;margin-bottom:12px}.difficulty-picker select{width:100%;font-weight:700}.difficulty-picker p{font-size:14px;line-height:1.5;margin:12px 0}.difficulty-picker small{display:block;font-size:12px;line-height:1.5;color:#53676b}@media(max-width:700px){.cards:has(.custom-card){grid-template-columns:repeat(2,minmax(0,1fr))}.cards .custom-card{grid-template-columns:92px 1fr}.inline-personalize .custom{padding:18px}}
/* Pilar tour: touch-first play, transparent sprites and original brand. */
:root{--paper:#fff8e9;--ink:#123848;--yellow:#e9bd56;--teal:#087c6c}
.brand{display:flex;align-items:center;gap:10px;letter-spacing:-.7px}.brand-mark{width:62px;height:62px;object-fit:contain;border-radius:8px}.brand .brand-name{font-size:22px;margin:0;letter-spacing:-.5px}.brand small{display:block;font-size:8px;letter-spacing:1.1px;margin-top:4px}.brand-name{color:#124961}
body.playing header .brand-name{display:block;font-size:16px}body.playing header .brand small{display:none}body.playing .brand-mark{width:40px;height:40px}
.poster-scene{background-image:url('assets/backgrounds-v7.webp')}.scene-art{background-image:url('assets/backgrounds-v7.webp');background-size:200% 200%}.scene-0{background-position:0 0}.scene-1{background-image:url('assets/backgrounds-v7.webp');background-size:200% 200%;background-position:100% 0}.scene-2{background-position:0 100%}.scene-3{background-position:100% 100%}
.cutout-sprite{width:160px;height:160px;background-repeat:no-repeat;filter:drop-shadow(0 4px 3px #153b3320)}.guide-art{background:#f5efdf;position:relative;display:grid;place-items:center}.guide-card.avoid .guide-art{background:#f1eadd}.guide-card.collect .guide-art{background:#eff1e1}.art-symbol{position:absolute;bottom:10px;right:10px}.guide-bottom .mini-controls{font-size:13px}.help-gestures{padding:15px;border:1px solid #153b3340;border-radius:10px;background:#ffedb1;font-weight:800}
.arena{touch-action:none;user-select:none;-webkit-user-select:none;overscroll-behavior:contain;height:min(66dvh,650px)}.scene-caption,.game-msg,.feedback,.track-legend{pointer-events:none}.controls{grid-template-columns:1fr 1.4fr 1fr}.touch-hint{text-align:center;font-size:11px;font-weight:700;letter-spacing:.3px;padding:8px 0 2px;color:#46666c}.power{margin-top:6px}.hud{background:#123848}.game-side h2{font-size:43px}.tutorial{position:absolute;left:8%;right:8%;top:36%;display:flex;flex-direction:column;align-items:center;gap:9px;pointer-events:none;text-align:center;color:#173b47;text-shadow:0 1px #fff}.tutorial[hidden]{display:none}.tutorial strong{font:900 29px 'Barlow Condensed',sans-serif;background:#fff7dfed;border:1px solid #153b3330;border-radius:12px;padding:10px 18px;box-shadow:0 5px 15px #14333a20}.tutorial>span{max-width:270px;font-size:12px;background:#fff7dfeb;padding:6px 10px;border-radius:6px}.tutorial-gesture{font-size:54px;filter:drop-shadow(1px 2px 0 white)}.tutorial-gesture.swipe{animation:gesture-swipe 1.2s ease-in-out infinite}.tutorial-gesture.tap{animation:gesture-tap .7s ease-in-out infinite}.tutorial button{pointer-events:auto;background:#173b47;color:#fff5df;font-size:11px;border-radius:20px;padding:4px 14px;min-height:36px;margin-top:5px}.scene-caption{background:#fff8e7e5}.scene-caption b{font-size:11px}.hint{min-height:22px}.track-legend span{background:#ffffffb3}.feedback{z-index:3}
@keyframes gesture-swipe{0%,100%{transform:translateX(-30px) rotate(-10deg)}50%{transform:translateX(30px) rotate(10deg)}}@keyframes gesture-tap{0%,100%{transform:translateY(-5px) scale(1)}50%{transform:translateY(7px) scale(.88)}}
@media(pointer:coarse){.desktop-controls{display:none}}
@media(max-width:700px){header{padding:12px 18px}.brand .brand-name{font-size:18px}.brand-mark{width:48px;height:48px}.brand small{font-size:6px;letter-spacing:.6px}.desktop-controls{display:none}.arena{height:calc(100dvh - 224px - env(safe-area-inset-bottom));min-height:280px;max-height:none}.game-shell{padding:0 8px}.game-wrap{max-width:500px}.hud{padding:7px 12px}.power{min-height:42px}.touch-hint{font-size:10px;padding:6px 0 0}.hint{font-size:10px;padding-bottom:env(safe-area-inset-bottom)}body.playing header{padding:6px 14px}.cutout-sprite{width:125px;height:125px}.tutorial strong{font-size:25px}.tutorial{top:32%}.tools{gap:6px}.tools button{font-size:9px}.tools button:last-child{width:38px;min-height:38px}}
@media(max-width:360px){.brand .brand-name{font-size:15px}.brand small{font-size:5px}.brand-mark{width:38px;height:38px}body.playing header .brand-name{font-size:14px}.game-wrap{max-width:100%}.scene-caption span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.tutorial-gesture{animation:none}}
.sound-welcome-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.sound-welcome-actions .primary{margin:0;max-width:none;justify-content:center}.sound-welcome-actions #welcome-silent{width:100%;min-height:48px;border:1px solid var(--ink);border-radius:12px;background:#fffbed;font-weight:700}
.game-floating-tools{position:absolute;top:43px;left:8px;right:8px;display:flex;justify-content:space-between;gap:6px;z-index:6;pointer-events:none}.game-floating-tools button,.game-floating-tools #game-fullscreen{pointer-events:auto;min-height:44px;min-width:0;padding:8px 10px;border:1px solid #ffffffb0;border-radius:12px;background:#123848ed;color:#fffbed;box-shadow:0 3px 9px #071b2a40;font:700 11px 'DM Sans',sans-serif;line-height:1.2}.keyboard-guide{display:none;position:absolute;top:93px;left:50%;transform:translateX(-50%);padding:5px 10px;border-radius:7px;background:#fff8e7e5;color:#123848;font-size:11px;font-weight:700;white-space:nowrap;pointer-events:none;z-index:2}.arena .game-msg{top:124px}@media(pointer:fine){.keyboard-guide{display:block}}
body.game-expanded{overflow:hidden}body.game-expanded .game-wrap,.game-wrap:fullscreen{position:fixed;inset:0;z-index:50;width:100%;max-width:none;height:100dvh;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box;display:flex;flex-direction:column;background:#123848;border-radius:0}body.game-expanded .game-wrap .arena,.game-wrap:fullscreen .arena{flex:1;min-height:0;height:auto;max-height:none;width:100%;max-width:75dvh;margin:0 auto;border-radius:0}body.game-expanded .game-wrap .hud{flex-shrink:0;border-radius:0;padding:6px 14px}body.game-expanded .game-wrap .power{flex-shrink:0;max-width:620px;width:100%;align-self:center;margin:0;min-height:42px;border-radius:0}body.game-expanded .touch-hint,body.game-expanded .desktop-controls,body.game-expanded .hint{display:none}#game-fullscreen{color:#fff;font-size:24px;min-width:42px;min-height:42px;padding:5px;border:1px solid #ffffff50;border-radius:8px}.game-expanded .hud strong{font-size:28px}

body.playing header .brand .brand-name{display:block}.guide-cutout{width:160px;height:160px;object-fit:contain}@media(max-width:700px){.guide-cutout{width:125px;height:125px}}
#fullscreen{font-size:24px;line-height:1;width:38px;min-height:38px;padding:4px}#music-track{width:100%;margin:10px 0}html:fullscreen{background:var(--cream,#fff8e9);overflow:auto}@media(max-width:420px){header{padding-left:10px;padding-right:10px}.brand .brand-name{font-size:15px}.brand-mark{width:38px;height:38px}.brand small{font-size:5px}.tools{gap:4px}.tools #sound{padding:6px}}
.music-choice-bar{display:flex;align-items:center;justify-content:center;gap:10px;padding:6px 12px;border-bottom:1px solid var(--line);min-height:42px;box-sizing:border-box}.music-choice-bar label{font-size:12px;font-weight:800;white-space:nowrap}.music-choice-bar select{font:600 12px 'DM Sans',sans-serif;padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:#fffbed;color:var(--teal);max-width:270px;min-width:0}@media(max-width:700px){body.playing .arena{height:calc(100dvh - 266px - env(safe-area-inset-bottom))}.music-choice-bar select{max-width:calc(100vw - 100px)}}
.home-character-picker{width:100%;max-width:420px;margin:22px 0 4px}.home-picker-label{display:block;margin-bottom:9px;color:var(--teal);font-size:10px;font-weight:900;letter-spacing:1.35px}.home-character-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.home-character{position:relative;min-width:0;padding:6px 4px 7px;border:1px solid #bcc7c4;border-radius:12px;background:#fffdf6;color:var(--ink);box-shadow:0 2px 0 #17384222}.home-character .actor,.home-photo-head{display:block;width:100%;max-width:62px;margin:0 auto 3px;aspect-ratio:1}.home-photo-head svg{display:block;width:100%;height:100%}.home-character strong{display:block;overflow:hidden;font-size:10px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.home-character.selected{border:2px solid var(--ink);padding:5px 3px 6px;background:var(--yellow);box-shadow:2px 3px 0 var(--ink);transform:translateY(-2px)}.home-character.selected::after{content:'✓';position:absolute;top:4px;right:4px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:white;font-size:10px;font-weight:900}.home-character:focus-visible{outline:3px solid #0b766a;outline-offset:3px}@media(max-width:380px){.home-character-options{gap:4px}.home-character{padding-left:2px;padding-right:2px}.home-character strong{font-size:9px}.home-character.selected{padding-left:1px;padding-right:1px}}
.home-character-picker{max-width:540px;margin-top:25px}.home-character-options{gap:10px}.home-character{padding:9px 6px 10px}.home-character .actor,.home-photo-head{max-width:88px}.home-character strong{font-size:12px}.home-character.selected{padding:8px 5px 9px}.difficulty-coach .pause-card{max-width:410px}.difficulty-coach .pause-card h2{margin-bottom:14px}.difficulty-coach .primary{font-size:14px;justify-content:center}@media(max-width:700px){.home-character-picker{max-width:none;margin-top:22px}.home-character-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-character:nth-child(5){grid-column:2}.home-character .actor,.home-photo-head{max-width:104px}.home-character strong{font-size:12px}}@media(max-width:700px) and (orientation:portrait){.home .poster{display:none}.home{gap:0}.home-character-picker{margin-top:20px}}
.home-character .actor,.cards .card:not(.custom-card) .actor{background-image:url('assets/heads-pilares-v22.webp');background-size:200% 200%}.home-character .actor{border-radius:50%;background-color:#f5e8cf;box-shadow:inset 0 0 0 1px #17384220}.cards .card:not(.custom-card) .actor{border-radius:16px;background-color:#f5e8cf}
