/* Talleres con papel, colores suaves y espacio amplio para dibujar. */
.creative-stage{background:#f2eee4;min-height:100%;height:auto!important;color:#254b50;padding:20px;box-sizing:border-box}.creative-stage[hidden]{display:none!important}.creative-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1300px;margin:0 auto 18px}.creative-header small{letter-spacing:.15em;font-size:10px;color:#a17b40}.creative-header h3{font:32px var(--serif);margin:5px 0}.creative-header p{max-width:500px;font-size:13px;line-height:1.6}.creative-layout{max-width:1300px;margin:auto;display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;align-items:start}.creative-tools{padding:18px;background:#fffdf5;border:1px solid #e1d9c8;border-radius:22px;display:flex;flex-direction:column;gap:14px;box-shadow:0 8px 25px #344c4510}.creative-tools label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.creative-tools input[type=color]{width:100%;height:35px;padding:0;border:0;background:transparent;cursor:pointer}.creative-tools input[type=text],.creative-tools select{width:100%;box-sizing:border-box;padding:9px;border:1px solid #c3d6cb;border-radius:8px;background:white}.creative-tools input[type=range]{width:100%;accent-color:#397d72}.creative-tools h4{margin:0;font-size:13px}.creative-tools button,.creative-bottom button{min-height:40px;border:1px solid #cfdbc9;border-radius:10px;background:#f2f7ea;color:#295951;padding:8px 10px;cursor:pointer;font-weight:600}.creative-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.creative-palette button{border:2px solid #ddd7c7;border-radius:50%;width:30px;min-height:30px;padding:0;box-shadow:inset 0 2px 4px #ffffff80}.paint-tool-group{display:grid;gap:7px}.paint-tool-group [aria-pressed=true]{background:#d4e8d4;border-color:#569888;box-shadow:0 0 0 2px #56988833}.creative-history{display:grid;gap:7px;border-top:1px solid #e6e4d7;padding-top:12px}.creative-tools button:disabled{opacity:.4;cursor:default}.creative-paper{border:1px solid #d7d8cc;border-radius:16px;background:white;padding:10px;box-shadow:0 12px 35px #344c451a;overflow:hidden}.creative-paper>canvas{width:100%;height:auto;display:block;touch-action:none;cursor:crosshair;aspect-ratio:9/7}.creative-paper>canvas:focus-visible{outline:3px solid #599b94;outline-offset:0}.sticker-tray{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.sticker-tray button{padding:0;background:#fff9ed;cursor:grab}.sticker-tray canvas{width:100%;height:auto;display:block;pointer-events:none}.creative-bottom{max-width:1300px;margin:16px auto}.creative-bottom>div{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.creative-bottom button.button{background:#f6c54c;border-color:#d3a62c;color:#27433f}.creative-bottom button.blym-quote{background:#246859;color:white;border-color:#246859}.creative-status{font-size:13px;color:#326a61;min-height:20px}.creative-bottom small{display:block;text-align:right;font-size:11px;line-height:1.6;margin-top:12px;color:#60776e;max-width:800px;margin-left:auto}.creative-tools button:focus-visible,.creative-bottom button:focus-visible{outline:3px solid #287f91;outline-offset:2px}
.game-sound-toggle{margin-left:auto;background:#ffffff16;border:1px solid #ffffff40;color:#fff9e4;border-radius:20px;padding:9px 13px;font-size:12px;cursor:pointer}.reward-stars{position:absolute;z-index:8;pointer-events:none;width:0;height:0}.reward-stars i{position:absolute;font-size:27px;font-style:normal;animation:reward-fly .9s ease-out forwards;filter:drop-shadow(0 3px 3px #dba32e66)}@keyframes reward-fly{0%{transform:translate(0,0) scale(.2);opacity:0}15%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--turn)) scale(1.25);opacity:0}}
.arcade-scene{background:radial-gradient(ellipse at 20% 20%,#fffaebaa,transparent 40%),radial-gradient(ellipse at 80% 80%,#c3e4e7,transparent 70%),#e7eff1}.arcade-scene:before{content:'';position:absolute;inset:0;opacity:.2;pointer-events:none;background-image:radial-gradient(#fff 2px,transparent 3px);background-size:53px 71px;animation:soft-snow 18s linear infinite}.arcade-ground{border-radius:46% 64% 0 0;box-shadow:0 -15px 25px #fff8}.arcade-item{filter:drop-shadow(2px 6px 3px #29435626);text-shadow:1px 2px 4px #fff7}.arcade-player{filter:drop-shadow(0 7px 3px #355b572b)}.memory-board button{background:radial-gradient(at 25% 15%,#80b8a9,#467b7c);border-radius:24% 18% 22% 16%;box-shadow:inset 3px 4px 8px #fff3,0 7px 0 #315d6525,0 10px 15px #29435618;transition:transform .2s,background .2s}.memory-board button:hover{transform:rotate(-3deg) translateY(-3px)}.memory-board .flipped{background:radial-gradient(at 30% 20%,#fffef0,#f3dbb4);transform:rotate(3deg)}.memory-board .matched{animation:match-pop .45s ease-out;background:radial-gradient(at 30% 20%,#f2f9e5,#b5d9bc)}.arcade-panel{border-radius:34px 26px 36px 22px;background:radial-gradient(at 20% 10%,#fffefa,#fff4dc)}.music-pads button{box-shadow:inset 3px 5px 10px #ffffff70,0 8px 0 #34526722;border-radius:36% 28% 32% 25%}.arcade-play.ouch{animation:ouch .3s ease-out}.arcade-stage:has(.arcade-cover:not([hidden])) .arcade-scene:before{animation-play-state:paused}
@keyframes soft-snow{to{background-position:38px 142px}}@keyframes match-pop{50%{transform:scale(1.09) rotate(-5deg)}}@keyframes ouch{25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}
.maze-progress{padding-top:52px;text-align:center;color:#386b63}.maze-board{display:grid;grid-template-columns:repeat(var(--size),1fr);width:min(480px,80%);aspect-ratio:1;margin:12px auto;border:8px solid #fff8e9;border-radius:24px;overflow:hidden;box-shadow:0 12px 30px #234f6220;background:#eef7ed}.maze-cell{display:grid;place-items:center;font-size:clamp(13px,2.8vw,30px);line-height:1;background:#faf8e9}.maze-cell.wall{background:radial-gradient(at 30% 20%,#7aac9d,#4a8476);border:2px solid #c4e4d2;border-radius:35% 20% 25% 15%;box-sizing:border-box}.maze-controls{display:flex;justify-content:center;gap:12px;margin:10px}.maze-controls button{min-width:46px;min-height:44px;background:#f9da85;border:1px solid #d9bd75;border-radius:14px;color:#345e54;font-size:22px;cursor:pointer}
@media(max-width:800px){.creative-layout{grid-template-columns:180px minmax(0,1fr);gap:12px}.creative-stage{padding:12px}.creative-tools{padding:12px}.creative-header h3{font-size:26px}}
@media(max-width:600px){.creative-header{display:block}.creative-header p{font-size:12px;margin:7px 0}.creative-layout{display:flex;flex-direction:column-reverse}.creative-paper{width:100%;box-sizing:border-box;padding:4px}.creative-tools{width:100%;box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:12px}.creative-history,.sticker-tray,.creative-palette{grid-column:1/-1}.creative-palette{display:flex;flex-wrap:wrap}.sticker-tray{grid-template-columns:repeat(5,1fr)}.creative-tools h4{grid-column:1/-1}.creative-bottom>div{justify-content:stretch}.creative-bottom button{flex:1}.creative-bottom small{text-align:left}.game-sound-toggle{padding:7px;font-size:11px}.game-modal-header{gap:10px}.game-modal-header h2{font-size:20px}.maze-board{width:min(400px,85%)}}
@media(prefers-reduced-motion:reduce){.reward-stars i{animation:none;opacity:1}.arcade-scene:before,.memory-board .matched,.arcade-play.ouch{animation:none}.memory-board button{transition:none}}
/* Un poco de volumen y movimiento sin alterar las reglas de la partida. */
.game-card{border-radius:24px 24px 30px 18px!important}.game-preview{filter:saturate(.9);border-bottom:4px solid #fff5df}.arcade-stage .arcade-buttons button:active,.maze-controls button:active{transform:scale(.93)}.arcade-stage#game-content-4 .arcade-player{animation:basket-rock 1.1s ease-in-out infinite alternate}.arcade-stage:has(.arcade-cover:not([hidden])) .arcade-player{animation-play-state:paused}.santa-field canvas,.ski-field canvas{filter:saturate(.94)}@keyframes basket-rock{from{rotate:-4deg}to{rotate:4deg}}@media(prefers-reduced-motion:reduce){.arcade-stage#game-content-4 .arcade-player{animation:none}}
/* Pingüino de cuento: cuerpo, ojos, aletas y pasos independientes. */
#game-content-5 .arcade-mountains{display:none}.polar-landscape{position:absolute;inset:0;background:linear-gradient(#a5d5e5,#e6f5ef 75%);overflow:hidden;pointer-events:none}.polar-mountain{position:absolute;bottom:25%;width:42%;height:65%;border-radius:45% 48% 0 0;background:linear-gradient(130deg,#f7fff6 0 20%,#8fbbcf 21% 60%,#b1d3dc);transform:rotate(35deg);opacity:.65}.polar-mountain.one{left:-12%;bottom:29%}.polar-mountain.two{left:25%;width:50%;height:95%;bottom:12%;background:linear-gradient(130deg,#f7fff6 0 25%,#9ec9d8 26% 65%,#c5e3e7)}.polar-mountain.three{left:70%;bottom:25%}.polar-cabin{position:absolute;left:68%;bottom:28%;font-size:clamp(48px,8vw,100px);filter:drop-shadow(0 5px 2px #4a708e22)}.polar-tree{position:absolute;bottom:21%;font-size:clamp(60px,12vw,120px)}.polar-tree.one{left:42%}.polar-tree.two{left:87%;font-size:75px}.polar-cloud{position:absolute;left:12%;top:8%;color:#fff9;font-size:120px}.arcade-stage#game-content-5 .arcade-player{width:76px;height:106px;line-height:normal;filter:drop-shadow(0 6px 3px #376b7130)}.polar-penguin{display:block;position:relative;width:76px;height:106px;transform:rotate(calc(var(--step,0)*3deg));transform-origin:50% 100%}.polar-penguin i{display:block;position:absolute;box-sizing:border-box}.penguin-body{left:9px;top:7px;width:59px;height:85px;border-radius:52% 48% 45% 45%;background:radial-gradient(at 25% 20%,#63859a,#253e58 72%);box-shadow:inset 2px 2px 3px #ffffff65}.penguin-belly{left:17px;top:44px;width:43px;height:44px;border-radius:50% 50% 46% 46%;background:radial-gradient(at 35% 20%,#fffdf3,#d9e5df)}.penguin-face{left:16px;top:20px;width:44px;height:36px;border-radius:48% 48% 42% 42%;background:#fff9eb}.penguin-eye{top:30px;width:5px;height:8px;border-radius:50%;background:#23364c;box-shadow:inset 1px 1px white}.penguin-eye.left{left:27px}.penguin-eye.right{left:46px}.penguin-cheek{top:39px;width:10px;height:6px;border-radius:50%;background:#edb3a9}.penguin-cheek.left{left:20px}.penguin-cheek.right{left:48px}.penguin-beak{left:33px;top:38px;width:12px;height:9px;border-radius:25% 25% 55% 55%;background:linear-gradient(#f9cc74,#e7994f)}.penguin-flipper{top:48px;width:14px;height:39px;border-radius:70%;background:linear-gradient(#537189,#203f59);transform-origin:50% 5%}.penguin-flipper.left{left:1px;transform:rotate(calc(20deg + var(--step,0)*15deg))}.penguin-flipper.right{right:-1px;transform:rotate(calc(-20deg - var(--step,0)*15deg))}.penguin-foot{bottom:6px;width:26px;height:12px;border-radius:60% 45%;background:linear-gradient(#f9c174,#e99a52)}.penguin-foot.left{left:8px;transform:translateY(calc(var(--step,0)*4px)) rotate(calc(var(--step,0)*9deg))}.penguin-foot.right{right:4px;transform:translateY(calc(var(--step,0)*-4px)) rotate(calc(var(--step,0)*-9deg))}.penguin-scarf{left:11px;top:51px;width:57px;height:10px;border-radius:40%;background:linear-gradient(#ef9d99,#d65879);box-shadow:0 2px 2px #5c324322}.penguin-scarf:after{content:'';position:absolute;left:38px;top:4px;width:10px;height:24px;border-radius:4px;background:#e67c90;transform:rotate(-18deg)}.airborne .polar-penguin{transform:rotate(-10deg)}.airborne .penguin-flipper.left{transform:rotate(65deg)}.airborne .penguin-flipper.right{transform:rotate(-65deg)}
.maze-progress{padding-top:54px;margin-bottom:15px}.maze-board{max-height:calc(95dvh - 280px);width:auto;height:min(480px,calc(95dvh - 280px));aspect-ratio:1;min-height:180px;min-width:180px}.arcade-stage#game-content-8 .arcade-play{overflow-y:auto}.creative-tools small{font-size:10px;line-height:1.5;color:#667e73}.upload-image{padding:12px;background:#e5f0e3;border:1px dashed #8eac93;border-radius:10px}.upload-image input{font-size:11px;max-width:100%}.letter-layout{grid-template-columns:300px minmax(0,1fr);max-width:1200px}.letter-layout .creative-paper{max-width:720px;justify-self:center}.letter-layout canvas{aspect-ratio:3/4}.creative-tools textarea{font:14px/1.7 Georgia;resize:vertical;min-height:180px;padding:10px;border:1px solid #c3d6cb;border-radius:10px;box-sizing:border-box;width:100%}.letter-layout .creative-tools{position:sticky;top:10px}
@media(max-width:800px){.letter-layout{grid-template-columns:230px minmax(0,1fr)}.letter-layout .creative-tools{position:static}}
@media(max-width:600px){.letter-layout{display:flex;flex-direction:column}.letter-layout .creative-tools{display:flex}.letter-layout .creative-paper{width:100%}.arcade-stage#game-content-5 .arcade-player{scale:.8;transform-origin:bottom}.maze-board{height:min(370px,calc(95dvh - 280px))}}
@media(prefers-reduced-motion:reduce){.polar-penguin,.penguin-foot,.penguin-flipper{transform:none!important}}
.maze-cell{font-size:clamp(11px,calc((95dvh - 280px)/var(--size)*.65),28px)}
/* Retos por tiempo, espiral y herramientas con ángulos explícitos. */
.arcade-hearts[hidden]{display:none!important}.memory-board{grid-template-columns:repeat(var(--columns,4),1fr)}.memory-board button{min-height:42px}.marble-summary{display:flex;align-items:center;justify-content:center;gap:18px;padding-top:54px;color:#305956;font-size:13px}.marble-summary button{padding:9px 14px;background:#fff5d7;border:1px solid #bca768;border-radius:14px;cursor:pointer}.marble-canvas{display:block;width:auto;height:calc(95dvh - 290px);max-width:96%;max-height:650px;min-height:230px;aspect-ratio:9/7;margin:12px auto;border:7px solid #e3dfc4;border-radius:36px;box-shadow:0 12px 30px #2f505a30;touch-action:none;cursor:crosshair}.marble-canvas:focus-visible{outline:3px solid #dfb659}.marble-help{text-align:center;font-size:11px;margin:8px;color:#4e716b}.rotation-labels{display:flex;justify-content:space-between;gap:3px;font-size:9px;color:#668279}.rotation-labels>span{max-width:40%;text-align:center}.rotation-presets{display:flex;gap:4px}.rotation-presets button{flex:1;padding:7px 3px;font-size:11px}.creative-tools output{display:block;font-size:12px;font-weight:bold;color:#287b76}.letter-art-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.letter-art-gallery button{padding:0;background:radial-gradient(at 30% 20%,#fffdf2,#f0e5d8);border-radius:18px;cursor:pointer}.letter-art-gallery canvas{display:block;width:100%;height:auto;pointer-events:none}.letter-sticker-buttons{display:flex;flex-wrap:wrap;gap:5px}.letter-sticker-buttons button{flex:1;font-size:11px;padding:6px}.letter-layout .creative-tools{max-height:calc(95dvh - 150px);overflow:auto;scrollbar-width:thin}
@media(max-width:600px){.marble-summary{gap:7px;font-size:11px;padding-top:62px;flex-wrap:wrap}.marble-canvas{width:95%;height:auto;max-width:95%;min-height:0;margin:9px auto;box-sizing:border-box;border-width:4px}.marble-help{padding:0 12px}.rotation-labels{font-size:9px}.rotation-presets{grid-column:1/-1}.letter-layout .creative-tools{max-height:none;overflow:visible}.letter-art-gallery{grid-template-columns:repeat(4,1fr)}}
/* Dirección visual: taller de invierno, materiales suaves y jerarquía clara. */
.games.section{background:radial-gradient(ellipse at 8% 5%,#f0dfb733,transparent 40%),radial-gradient(ellipse at 95% 85%,#bdd9cc44,transparent 45%),#f8f5ed}.games .section-heading{max-width:750px;margin-left:auto;margin-right:auto}.games-carousel-bar{padding:12px 18px;background:#ffffffa6;border:1px solid #dce1d5;border-radius:18px}.games-carousel-bar p{font-weight:600;letter-spacing:.02em}.games .game-card{box-shadow:0 10px 26px #21463e0c;border-color:#dce1d5;transition:box-shadow .2s,transform .2s}.games .game-card:hover{box-shadow:0 16px 35px #21463e1a;transform:translateY(-4px)}.game-card-copy{padding:24px}.game-card-copy small{color:#8a713d;font-weight:700}.game-card-copy h3{line-height:1.12;font-size:27px;color:#214f49}.game-card-copy p{line-height:1.7;color:#627c71}.games .game-open{background:#245c51;color:#fff5db;border-radius:10px;box-shadow:0 4px 12px #245c5120}.games .game-open:hover{background:#347663;color:#fff8e5}.game-modal{border-color:#e2d8ba;border-radius:22px}.game-modal-header{background:linear-gradient(115deg,#092e43,#154d55);border-bottom-color:#dcbe7f;padding:14px 22px}.game-modal-header p{color:#e5ca96;font-size:9px;letter-spacing:.18em}.game-modal-header h2{font-size:27px;letter-spacing:-.02em}.game-sound-toggle{background:#ffffff10;border-color:#ffffff25}.arcade-hud{background:#fffaf0;color:#315e5b;border-bottom:1px solid #e2dbc7;padding:11px 22px}.arcade-hud>div>span:not(.arcade-hearts){background:#edf3ec;border:1px solid #e0e8dc;padding:7px 10px;border-radius:11px;font-size:12px}.arcade-hud>strong{font-size:14px}.arcade-message{box-shadow:0 3px 14px #294e4b0b;border:1px solid #ffffffb0}.arcade-panel h3{letter-spacing:-.025em}.creative-header{border-bottom:1px solid #d6dfd1;padding-bottom:15px}.creative-header small{color:#96763d;font-weight:bold}.creative-header h3{color:#245a52;letter-spacing:-.03em}.creative-header p{color:#637b70;font-size:13px}.creative-tools{border-radius:18px;box-shadow:0 8px 30px #21483c0a;border-color:#dde2d5}.creative-tools label{font-size:12px;color:#3c6258}.creative-tools h4{color:#235c50;font-size:12px;border-top:1px solid #e4e9dd;padding-top:12px}.creative-tools input[type=text],.creative-tools select,.creative-tools textarea{border-color:#d2ddce;background:#fffef8;min-height:40px}.creative-paper{border-radius:18px;border-color:#d8ded2;box-shadow:0 14px 40px #203f3512}.letter-layout .creative-paper{width:100%;box-sizing:border-box;min-width:0}.creative-resource-link{font-size:11px;line-height:1.5;color:#346d67;text-decoration:underline;text-underline-offset:3px}.creative-bottom button{min-height:44px}.letter-art-gallery button:hover,.sticker-tray button:hover{border-color:#9cab88;background:#f4efd9}
/* El tablero ocupa el área disponible y adapta su geometría al tamaño de pantalla. */
#game-content-6 .arcade-play{display:grid;grid-template-rows:40px minmax(0,1fr) 20px;gap:7px;padding:50px 16px 9px;box-sizing:border-box;overflow:hidden;min-height:0}#game-content-6 .marble-summary{padding:0;font-size:12px;gap:15px}#game-content-6 .marble-summary button{padding:8px 14px;background:#fffaea;box-shadow:0 4px 10px #244f5120;border-color:#d3c398}#game-content-6 .marble-canvas{width:100%;height:100%;max-width:none;max-height:none;min-width:0;min-height:0;aspect-ratio:auto;box-sizing:border-box;margin:0;border-width:3px;border-radius:22px;box-shadow:0 8px 28px #254f6125}#game-content-6 .marble-help{margin:0;font-size:10px;color:#4f7169}#game-content-6 .arcade-scene{background:linear-gradient(125deg,#e5efeb,#c5ddd9)}
/* Controles del pingüino y obstáculos que se esquivan agachándose. */
#game-content-5 .arcade-buttons{bottom:10px;right:14px;left:14px;justify-content:center;gap:9px}#game-content-5 .arcade-buttons button{font-size:12px;min-height:44px;padding:9px 13px;box-shadow:0 5px 14px #41667220;background:#ffedb2;border-color:#d7bc77}#game-content-5 .arcade-player.crouching .polar-penguin{transform:scaleY(.55) rotate(-8deg);transform-origin:50% 100%}#game-content-5 .arcade-player.crouching .penguin-flipper{transform:rotate(65deg)}.overhead-obstacle{filter:drop-shadow(0 9px 7px #56788d44)}.overhead-obstacle:after{content:'↓';position:absolute;top:-22px;left:50%;transform:translateX(-50%);font:700 20px Arial;color:#d06e88}
@media(max-width:700px){.arcade-hud{padding:9px 12px;gap:6px}.arcade-hud>div{gap:6px}.arcade-hud>div>span:not(.arcade-hearts){padding:6px;font-size:11px}.game-modal-header h2{font-size:22px}.game-modal-header{padding:12px 15px}.creative-header p{font-size:12px}#game-content-6 .arcade-play{padding:54px 7px 7px;grid-template-rows:38px minmax(0,1fr) 29px;gap:5px}#game-content-6 .marble-summary{font-size:10px;gap:8px;flex-wrap:nowrap}#game-content-6 .marble-summary button{font-size:10px;padding:8px}#game-content-6 .marble-help{font-size:9px;line-height:1.4;padding:0}#game-content-5 .arcade-buttons{gap:5px;left:6px;right:6px}#game-content-5 .arcade-buttons button{font-size:10px;padding:8px 6px;min-width:0}.game-card-copy{padding:20px}.games-carousel-bar{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.games .game-card{transition:none}.games .game-card:hover{transform:none}}
/* Tipografía: base editorial legible y acentos navideños contenidos. */
:root{--festive:'Berkshire Swash',Georgia,serif;--handwritten:'Great Vibes',cursive;--playful:'Mountains of Christmas',Georgia,serif}.welcome h2 em,.hero h1 em,.contact h2 em{font-family:var(--handwritten);font-style:normal;letter-spacing:0;line-height:1.15}.welcome h2 em{font-size:1.15em}.games .section-heading h2 em{font-family:var(--festive);font-weight:400;font-style:normal;letter-spacing:0}.creative-header h3,.arcade-panel h3,.game-card-copy h3{font-family:var(--festive);font-weight:400;letter-spacing:0;line-height:1.25}.creative-header h3{font-size:32px}.game-card-copy h3{font-size:26px}.santa-kicker,.eyebrow,.creative-header small{font-family:var(--sans)}.arcade-hud,.ski-hud,.santa-hud,.creative-tools,.creative-bottom,.game-modal-header,.button{font-family:var(--sans)}.letter-layout [data-letter-body]{font-family:'Playfair Display',Georgia,serif;font-size:15px;line-height:1.8}.creative-tools select,.creative-tools input,.creative-tools textarea{font-family:var(--sans)}.creative-tools select:focus,.creative-tools input:focus,.creative-tools textarea:focus{outline-color:#658c79}.creative-tools button:disabled,.creative-bottom button:disabled{opacity:.55;cursor:wait}.game-modal-header h2{font-family:var(--serif);font-weight:500}.gear-intro h2 em{font-family:var(--handwritten);font-style:normal;letter-spacing:0}
@media(max-width:600px){.creative-header h3{font-size:28px}.game-card-copy h3{font-size:25px}.contact h2 em{line-height:1.2}.welcome h2 em{font-size:1.08em}}
/* Barra contextual del polo: todos los controles junto al objeto seleccionado. */
#game-content-10 .creative-paper{overflow:visible;padding:0;position:relative}#game-content-10 .creative-paper>canvas{border-radius:0 0 16px 16px}#game-content-10 .creative-tools{align-self:start;position:sticky;top:10px;max-height:calc(95dvh - 170px);overflow-y:auto;scrollbar-width:thin}.shirt-contextbar{position:sticky;top:0;z-index:5;background:#fffdf4f5;border-bottom:1px solid #d3dfd0;backdrop-filter:blur(12px);border-radius:16px 16px 0 0;box-shadow:0 5px 18px #23493a0e;padding:13px 15px}.shirt-context-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#315d55}.shirt-context-heading strong{font-size:13px}.shirt-context-heading>span{font-size:11px;flex:1;color:#718177}.shirt-context-heading button{border:1px solid #c9d6c4;background:#e9f1e3;border-radius:9px;padding:8px 10px;min-height:36px;color:#346858;font-size:11px;cursor:pointer}.shirt-context-heading button:disabled{opacity:.45;cursor:default}.shirt-editor-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 15px;padding-top:14px}.shirt-editor-controls[hidden]{display:none!important}.shirt-editor-controls label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:11px;font-weight:600;color:#456a5e}.shirt-editor-controls label[hidden]{display:none!important}.shirt-editor-controls select,.shirt-editor-controls input[type=text]{width:100%;padding:8px;min-height:36px;border:1px solid #d0dbc9;background:#fffefa;border-radius:8px;font-family:var(--sans);font-size:12px;box-sizing:border-box}.shirt-editor-controls input[type=color]{width:100%;height:36px;padding:0;border:0;background:transparent;cursor:pointer}.shirt-editor-controls input[type=range]{width:100%;margin:7px 0;accent-color:#37836e}.shirt-editor-controls output{font-size:11px;color:#2f7069}.shirt-editor-controls .creative-palette{display:flex;gap:6px;grid-column:auto;flex-wrap:wrap;align-content:center;justify-content:center}.shirt-editor-controls .creative-palette button{width:23px;min-height:23px;height:23px;border-radius:50%;border:2px solid #d8ddcf;padding:0;cursor:pointer}.shirt-layer-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.shirt-layer-actions button,.shirt-editor-controls>[data-cmd],.shirt-editor-controls .rotation-presets button{min-height:35px;border:1px solid #cfddc6;border-radius:8px;background:#edf4e6;color:#385f52;padding:7px 9px;font-size:11px;font-weight:600;cursor:pointer}.shirt-editor-controls>[data-cmd=delete]{background:#fae8e6;color:#8e5860;border-color:#e8cdd0}.shirt-editor-controls .rotation-presets{display:flex;grid-column:auto;align-items:center}.shirt-editor-controls .rotation-labels{font-size:9px}.shirt-editor-controls button:focus-visible,.shirt-editor-controls input:focus-visible,.shirt-editor-controls select:focus-visible{outline:3px solid #d9bd74;outline-offset:2px}.google-sticker-tray{border:1px solid #dee5d6;background:#f6f7ed;border-radius:14px;padding:7px}.creative-tools .google-sticker-tray button{background:#fffef5}.game-card-copy h3{font-family:'Balsamiq Sans',var(--sans);font-weight:700}.arcade-panel h3,.santa-instructions h3,.ski-panel h3{font-family:'Berkshire Swash',var(--serif);font-weight:400}.arcade-hud>strong,.ski-hud>strong,.santa-hud>strong{font-family:'Balsamiq Sans',var(--sans);font-weight:700}.games .section-heading h2 em{font-family:'Pacifico',var(--handwritten);font-weight:400}.creative-header h3{font-family:'Berkshire Swash',var(--serif)}.arcade-result+.arcade-panel h3{font-family:'Mountains of Christmas',var(--serif)}
@media(max-width:1000px){.shirt-editor-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.shirt-context-heading>span{flex-basis:100%;order:3}.shirt-editor-controls .creative-palette{justify-content:flex-start}.shirt-layer-actions button{font-size:10px}.shirt-context-heading button{margin-left:auto}}
@media(max-width:600px){#game-content-10 .creative-layout{flex-direction:column-reverse}#game-content-10 .creative-tools{position:static;max-height:none;overflow:visible}.shirt-contextbar{padding:10px}.shirt-editor-controls{gap:10px}.shirt-context-heading strong{font-size:12px}.shirt-context-heading button{font-size:10px}.shirt-editor-controls .shirt-edit-content{grid-column:1/-1}.shirt-editor-controls label{font-size:10px}.shirt-editor-controls select{font-size:11px}.shirt-layer-actions{grid-column:1/-1}.shirt-editor-controls .rotation-presets button{padding:7px;font-size:10px}.shirt-editor-controls .creative-palette button{width:22px;height:22px;min-height:22px}}
/* Barra del polo en una fila; las opciones flotan sobre el lienzo. */
.shirt-contextbar.shirt-compact{padding:6px 9px;min-height:50px;box-sizing:border-box}.shirt-compact-row{display:flex;align-items:center;gap:10px;min-height:38px;flex-wrap:nowrap}.shirt-compact-row>strong{font:600 11px var(--sans);color:#4a6d61;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;min-width:0;flex:1}.shirt-compact .shirt-editor-controls{display:flex;align-items:center;gap:5px;padding:0;flex-shrink:0;flex-wrap:nowrap}.shirt-compact .shirt-editor-controls[hidden]{display:none!important}.shirt-compact .shirt-editor-controls>button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;width:36px;min-height:36px;height:36px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#32685b;font:600 11px var(--sans);cursor:pointer}.shirt-compact .shirt-editor-controls>[data-editor-menu=edit]{width:auto;padding:0 10px}.shirt-compact .shirt-editor-controls>button i{font-size:15px}.shirt-compact .shirt-editor-controls>button:hover,.shirt-compact .shirt-editor-controls>button[aria-expanded=true]{background:#eaf2e5;border-color:#cbdcc3}.shirt-compact .shirt-editor-controls>.shirt-trash{color:#ab6870;background:transparent}.shirt-compact .shirt-editor-controls>.shirt-trash:hover{background:#fae9e7;border-color:#edc9cb}.shirt-color-dot{position:absolute;width:7px;height:7px;border:1px solid #fff;right:5px;bottom:4px;border-radius:50%;background:var(--selected-color,#e34565)}.shirt-pop-panel{position:absolute;z-index:10;top:calc(100% + 6px);left:0;width:290px;max-width:calc(100% - 8px);max-height:min(65dvh,360px);overflow-y:auto;box-sizing:border-box;background:#fffef7;border:1px solid #d1ddc8;border-radius:13px;box-shadow:0 13px 35px #254a3d29;padding:14px;display:grid;gap:12px}.shirt-pop-panel[hidden]{display:none!important}.shirt-pop-panel[data-editor-panel=edit]{width:345px}.shirt-pop-panel[data-editor-panel=color]{width:230px}.shirt-pop-panel[data-editor-panel=size]{width:245px}.shirt-pop-title{font-size:12px;font-weight:700;color:#335f53;line-height:1.2}.shirt-pop-panel label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;color:#648273;margin:0}.shirt-pop-panel label[hidden]{display:none!important}.shirt-pop-panel input[type=text],.shirt-pop-panel select{box-sizing:border-box;width:100%;min-height:36px;border:1px solid #d2deca;border-radius:7px;padding:8px;background:#fffdf8;color:#31594e;font:12px var(--sans)}.shirt-pop-panel input[type=color]{width:100%;height:30px;border:0;padding:0;background:transparent;cursor:pointer}.shirt-pop-panel input[type=range]{width:100%;margin:7px 0;accent-color:#37836e;cursor:ew-resize}.shirt-pop-panel .creative-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;justify-items:center}.shirt-pop-panel .creative-palette button{width:25px;height:25px;min-height:25px;border-radius:50%;border:2px solid #e3e5d7;padding:0;cursor:pointer;box-shadow:inset 0 2px 4px #fff7}.shirt-pop-panel .shirt-layer-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-top:1px solid #e7ebdf;padding-top:10px}.shirt-pop-panel .shirt-layer-actions button{border:1px solid #d6dfcb;border-radius:7px;background:#f0f5e8;padding:8px 4px;min-height:34px;font:600 10px var(--sans);color:#4c7563;cursor:pointer;white-space:nowrap}.shirt-pop-panel .shirt-layer-actions i{font-size:11px;margin-right:3px}.shirt-pop-panel output{font-size:14px;color:#2c7164;text-align:center}.shirt-pop-panel .rotation-labels{display:grid;grid-template-columns:repeat(5,1fr);font:10px var(--sans);color:#708a7b;gap:0}.shirt-pop-panel .rotation-labels>*{max-width:none;text-align:center}.shirt-pop-panel .rotation-labels b{color:#265f53}.shirt-pop-panel .rotation-labels span:first-child{text-align:left}.shirt-pop-panel .rotation-labels span:last-child{text-align:right}.shirt-pop-panel input[data-angle]{background:linear-gradient(90deg,transparent calc(50% - 1px),#6a958d calc(50% - 1px),#6a958d calc(50% + 1px),transparent calc(50% + 1px));border-radius:0}.shirt-pop-panel button:focus-visible,.shirt-pop-panel input:focus-visible,.shirt-pop-panel select:focus-visible{outline:3px solid #e3c988;outline-offset:2px}
/* Papeles de carta y muestras de estilos. */
.letter-paper-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.letter-paper-picker .paper-sample{min-height:74px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid #d9e0ce;border-radius:11px;background:var(--paper-base);color:var(--paper-accent);padding:7px}.paper-sample:before{content:'';position:absolute;inset:5px;border:1px dashed var(--paper-accent);border-radius:5px;opacity:.6;pointer-events:none}.paper-sample>span{font-size:21px;line-height:1}.paper-sample>small{font:600 9px/1.3 var(--sans);color:#587365;z-index:1;text-align:center}.letter-paper-picker [aria-pressed=true]{border-color:#638c73;box-shadow:0 0 0 2px #91ad7a33}.paper-sample.paper-candy{background:repeating-linear-gradient(45deg,#f8ede1 0 8px,#f1b9bf 8px 11px,#fff3e5 11px 20px)}.paper-sample.paper-stars{background:radial-gradient(at 30% 20%,#fff1cf,#c5d7e3)}.paper-sample.paper-cocoa,.paper-sample.paper-parchment{background:radial-gradient(at 30% 15%,#fbefd3,#e4cca5)}.paper-sample.paper-angels{background:linear-gradient(135deg,#fffbe8,#e1d6e5)}.paper-sample.paper-frost{background:linear-gradient(135deg,#f9ffff,#c9e4e8)}.paper-sample.paper-aurora{background:linear-gradient(135deg,#e3eddd,#d5deeb 50%,#e8d7e5)}.letter-style-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.letter-style-picker button{padding:5px!important;background:#fffaf1;border:1px solid #dce2d1;border-radius:10px;display:flex;flex-direction:column;align-items:center}.letter-style-picker canvas{width:100%;height:auto;display:block;pointer-events:none}.letter-style-picker small{font-size:9px!important;color:#778977}.letter-style-picker [aria-pressed=true]{background:#f1f3df;border-color:#74966a;box-shadow:0 0 0 1px #74966a33}.letter-art-filters{display:flex;gap:6px}.letter-art-filters button{flex:1;font-size:10px;padding:7px!important;background:#f4f7ed}.letter-art-filters [aria-pressed=true]{background:#dcebd4;border-color:#91ad80}.letter-art-gallery{max-height:255px;overflow-y:auto;scrollbar-width:thin;padding:3px}.letter-art-gallery button[hidden]{display:none!important}.letter-border-controls{display:grid;grid-template-columns:1fr 1fr;gap:7px}.letter-border-controls select{grid-column:1/-1;min-width:0;width:100%;padding:8px;border:1px solid #cfddc7;border-radius:8px;background:#fffdf3;font-size:11px}.letter-border-controls button{font-size:11px!important;min-height:34px!important;padding:7px!important}.letter-layout .creative-tools>input[type=range],.letter-layout .creative-tools label>input[type=range]{accent-color:#739a79}.letter-layout .creative-paper{background:#f7f4e9;box-shadow:0 16px 40px #354e4224}.letter-layout .creative-paper>canvas{border-radius:9px}
@media(max-width:600px){.shirt-contextbar.shirt-compact{padding:5px 6px;min-height:46px}.shirt-compact-row{gap:5px}.shirt-compact-row>strong{font-size:10px;max-width:90px}.shirt-compact .shirt-editor-controls{gap:2px}.shirt-compact .shirt-editor-controls>button{width:34px;min-width:34px;height:34px;min-height:34px}.shirt-compact .shirt-editor-controls>[data-editor-menu=edit]{padding:0 7px}.shirt-compact .shirt-editor-controls>button i{font-size:14px}.shirt-pop-panel{padding:12px}.shirt-pop-panel .shirt-layer-actions button{font-size:9px}.letter-paper-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.letter-paper-picker .paper-sample{min-height:67px;padding:5px}.paper-sample>small{font-size:8px}.letter-style-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-art-gallery{grid-template-columns:repeat(4,minmax(0,1fr));max-height:230px}}
/* El panel desplaza su contenido completo: ninguna galería puede comprimirse. */
.letter-layout .creative-tools{display:flex;flex-direction:column;gap:13px;min-width:0}.creative-tools>*{flex-shrink:0}.letter-layout .creative-tools>*{flex:0 0 auto}.letter-layout .letter-art-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:112px;align-content:start;gap:8px;flex:0 0 auto;height:354px;min-height:354px;max-height:354px;overflow-y:auto;overflow-x:hidden;padding:3px 5px 3px 2px;scrollbar-width:thin;scroll-snap-type:y proximity;box-sizing:border-box}.letter-layout .letter-art-gallery>button{width:100%;height:112px;min-height:112px;max-height:112px;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;overflow:hidden;scroll-snap-align:start;border:1px solid #d9e2d0;border-radius:13px;background:#fffdf5;box-sizing:border-box;transition:border-color .15s,background .15s}.letter-layout .letter-art-gallery>button[hidden]{display:none!important}.letter-layout .letter-art-gallery canvas{display:block;width:100%;height:78px;max-height:78px;object-fit:contain;flex:0 0 78px;pointer-events:none}.gallery-item-caption{display:block;width:100%;font:500 9px/1.2 var(--sans);text-align:center;color:#617967;white-space:normal;overflow:hidden;max-height:24px}.letter-layout .letter-art-gallery>[data-art-group=premium]{background:radial-gradient(ellipse at 40% 20%,#ffffff,#f1e9dc);border-color:#d8d3c3}.letter-layout .letter-art-gallery>button:hover{border-color:#83a48b;background:#edf4e8}.letter-layout .letter-art-filters{display:flex;gap:5px;flex-wrap:wrap}.letter-art-filters button{font-size:10px!important;line-height:1.3;min-height:37px;white-space:normal;padding:7px 5px!important;flex:1 1 70px}.letter-collection-hint{font-size:10px;line-height:1.5;color:#7c8d7d;margin:0}.collection-badge{font:600 9px var(--sans);border:1px solid #d8c89c;border-radius:20px;padding:3px 7px;margin-left:5px;background:#f7edcf;color:#8c7039}.collection-description{font-size:11px;line-height:1.5;color:#6b8276;margin:0}.creative-tools .premium-sticker-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:384px;min-height:220px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding:3px;flex:0 0 auto;grid-auto-rows:112px}.premium-sticker-tray>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:112px;padding:5px!important;background:radial-gradient(at 35% 10%,#fffdf7,#eee6d7)!important;border-color:#dcd5c5;border-radius:13px!important}.premium-sticker-tray canvas{width:100%;height:79px;max-height:79px;object-fit:contain;display:block;pointer-events:none;flex-shrink:0}.premium-sticker-tray span{font-size:9px;line-height:1.25;max-height:24px;overflow:hidden;font-weight:500;color:#617362}.creative-tools .sticker-tray:not(.premium-sticker-tray){flex:0 0 auto}.creative-tools .sticker-tray>button{flex-shrink:0}.letter-layout .letter-art-gallery::-webkit-scrollbar,.premium-sticker-tray::-webkit-scrollbar{width:5px}.letter-layout .letter-art-gallery::-webkit-scrollbar-thumb,.premium-sticker-tray::-webkit-scrollbar-thumb{background:#bdcbb8;border-radius:10px}
@media(max-width:800px) and (min-width:601px){.letter-layout{grid-template-columns:250px minmax(0,1fr)}.letter-layout .letter-art-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.letter-layout .creative-tools{display:flex;gap:13px}.letter-layout .letter-art-gallery{grid-template-columns:repeat(3,minmax(0,1fr));height:354px;min-height:354px;max-height:354px}.creative-tools .premium-sticker-tray{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));min-height:224px;max-height:344px}.collection-description,[data-premium-status]{grid-column:1/-1}.letter-layout .letter-art-filters{gap:7px}.letter-layout .letter-art-filters button{font-size:11px!important}.gallery-item-caption{font-size:10px}.premium-sticker-tray span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.letter-layout .letter-art-gallery>button{transition:none}}
