.pp-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;--paper-accent:#e6a18e}.pp-play{position:relative;min-width:0;overflow:hidden;border:1px solid #364b59;border-radius:24px;background:#142330;display:flex;flex-direction:column}.pp-heading,.pp-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 23px;color:#a9b8c4;font-size:11px}.pp-heading{background:#13212b}.pp-heading .eyebrow{color:#e4c393;font-size:9px;letter-spacing:.2em}.pp-level-tag{font-size:9px;letter-spacing:.2em}.pp-foot{border-top:1px solid #ffffff08;font-size:10px}.pp-stage{position:relative;isolation:isolate;min-height:460px;flex:1;background:radial-gradient(ellipse at 45% 45%,#304c5c 0,#1d3444 40%,#122330 100%);overflow:hidden}.pp-stage:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.07;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.25' d='M0 0h140v140H0z'/%3E%3C/svg%3E")}.pp-render{position:absolute;inset:34px 0 70px;touch-action:none;cursor:grab}.pp-lifting .pp-render{cursor:grabbing}.pp-render canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.pp-scene-label{position:absolute;top:23px;left:24px;display:grid;gap:7px;pointer-events:none}.pp-scene-label span{font-size:8px;letter-spacing:.22em;color:#9cb1bd}.pp-scene-label strong{font-size:11px;color:#ddc9aa;font-weight:500}.pp-mini-target{position:absolute;top:18px;right:22px;display:grid;justify-items:center;gap:5px;pointer-events:none}.pp-mini-target span{font-size:7px;letter-spacing:.15em;color:#b9c4cb}.pp-mini-target svg{width:84px;height:84px;filter:drop-shadow(0 3px 4px #0005)}.pp-gesture-copy{position:absolute;bottom:76px;left:10px;right:10px;text-align:center;font-size:10px;color:#c1cbd1;pointer-events:none}.pp-direct{position:absolute;bottom:21px;left:15px;right:15px;display:flex;align-items:center;justify-content:center;gap:9px}.pp-crease-chips{display:flex;gap:5px}.pp-crease-chips button{height:35px;min-width:32px;border:1px solid #ffffff22;border-radius:9px;background:#142534dc;color:#d0dbe0;font-size:10px;cursor:pointer}.pp-crease-chips button[aria-pressed=true]{background:#e9ceb0;color:#243444;border-color:#f5debe;box-shadow:0 0 22px #edc9a318}.pp-crease-chips button:disabled{opacity:.34;cursor:default}.pp-used{text-decoration:line-through}.pp-direct .pp-fold{background:#e8c7a6;color:#233140;border-color:#f1d6b8;min-height:35px;padding:6px 17px;font-size:11px}.pp-direct .pp-undo{min-height:35px;padding:5px 12px;background:#142534dc}.pp-fold-guide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.pp-fold-guide path{fill:none;stroke:#f7e6bb;stroke-width:1.5;stroke-dasharray:5 7;filter:drop-shadow(0 1px 2px #0009)}.pp-fold-guide circle{fill:#f5d9a5;stroke:#fffae8;stroke-width:2;filter:drop-shadow(0 0 8px #eac89066)}.pp-fold-guide text{font-family:inherit;fill:#f5e7d5;font-size:8px;text-anchor:middle;letter-spacing:1px;paint-order:stroke;stroke:#203545;stroke-width:2px}.pp-lifting .pp-fold-guide{opacity:.2}.pp-console{border:1px solid #354856;border-radius:24px;background:linear-gradient(145deg,#1d2e3b,#121f2a);padding:24px 20px;display:flex;flex-direction:column;gap:14px;min-width:0}.pp-console>.eyebrow{font-size:8px;letter-spacing:.18em;color:#cdbda4}.pp-console>h2{font-size:19px;font-weight:500;margin:0}.pp-console h3{font-size:11px;margin:3px 0 0;color:#d9dfe0}.pp-target{display:grid;justify-items:center;gap:7px;padding:3px 0 12px;border-bottom:1px solid #ffffff10}.pp-target svg{width:135px;height:135px;filter:drop-shadow(0 5px 7px #0005)}.pp-target>span{font-size:9px;color:#a4b8c5}.pp-swatches{display:flex;justify-content:center;gap:20px;font-size:9px;color:#b7c9d4}.pp-swatches span{display:flex;align-items:center;gap:6px}.pp-swatches i{width:10px;height:10px;border-radius:3px;box-shadow:inset 0 1px 0 #fff6}.pp-choices{display:grid;gap:6px}.pp-choices .button{display:flex;text-align:left;gap:13px;align-items:center;min-height:38px;padding:8px 11px;font-size:10px;background:#142531;border-color:#354753}.pp-choices .button>span:first-child{font-size:9px;letter-spacing:.06em;color:#c8b395}.pp-choices .button[aria-pressed=true]{border-color:#cbb18d;background:#c8b39514;color:#f1dfc9}.pp-message{font-size:11px;line-height:1.6;color:#d2c5b1;min-height:35px;margin:0}.pp-history{display:flex;gap:7px}.pp-history .button{flex:1;font-size:10px;padding:8px}.pp-hint-button{font-size:11px!important;background:#bb9d7520!important;border-color:#8b785e!important;color:#ecd3b2!important}.pp-hint{border:1px solid #b4956650;border-radius:12px;padding:10px;font-size:11px;line-height:1.55;color:#e7d4b7}.pp-hint .button{margin-top:8px;width:100%;font-size:11px}.pp-console>.quiet-button{align-self:center;font-size:10px;margin-top:auto}.pp-win{position:absolute;z-index:5;inset:auto 18px 20px;padding:22px;text-align:center;border:1px solid #e9c59d80;border-radius:18px;background:linear-gradient(135deg,#263746f5,#182a38f5);box-shadow:0 10px 40px #0005;backdrop-filter:blur(14px)}.pp-win .eyebrow{color:#e4c6a2;font-size:9px;letter-spacing:.15em}.pp-win h2{font-family:Georgia,serif;font-size:30px;font-weight:400;color:#f2dec3;margin:8px}.pp-win p{font-size:12px;margin:6px 0 14px;color:#becbd1}.pp-win .primary{background:#e6c8a8;color:#243444}.pp-options{display:grid;gap:15px;font-size:13px;line-height:1.65}.pp-options label{display:flex;align-items:center;gap:12px}.pp-options input[type=range]{min-width:0;flex:1;accent-color:#d9ba97}.pp-options input[type=checkbox]{accent-color:#d9ba97}.pp-options h3{font-size:14px;margin-top:12px}.pp-gallery>p{font-size:12px;line-height:1.6;margin:10px 0 16px}.pp-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pp-level{display:grid!important;justify-items:center;gap:5px;padding:10px!important;white-space:normal!important;font-size:10px!important}.pp-level svg{width:90px;height:90px}.pp-level[aria-pressed=true]{border-color:#d8b893}.pp-level.pp-completed:after{content:'✓ Descubierta';color:#b3d5be;font-size:9px}.pp-help{width:min(670px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}.pp-help h2{font-family:Georgia,serif;font-weight:400;font-size:28px;margin:8px 0 15px}.pp-help .pp-demo-stage{height:340px;min-height:340px;border-radius:15px}.pp-help ol{padding-left:22px;font-size:12px;line-height:1.6;margin:15px 0}.pp-help li{margin:6px 0}.pp-demo-message{font-size:12px;margin-top:12px;color:#d8c8b5}.pp-help .pp-mini-target svg{width:55px;height:55px}.pp-help .pp-render{inset:0 0 65px}.pp-help .pp-scene-label{display:none}.pp-confirm p{margin:15px 0}.pp-play>.pp-stage.minimalist-stage{min-height:100dvh!important;height:100dvh!important}.minimalist-stage .pp-render{inset:55px 0 80px}.minimalist-stage .pp-scene-label{top:88px;left:20px}.minimalist-stage .pp-mini-target{top:82px}.pp-stage:focus-visible{outline:2px solid #eacba2;outline-offset:-3px}
@media(min-width:1000px){.session-expanded:has(.pp-layout){height:100%;display:flex;flex-direction:column;min-height:0}.pp-layout{flex:1;min-height:0}.pp-stage{min-height:390px}.pp-console{max-height:100%;overflow-y:auto}}
@media(min-width:1600px){.pp-layout{grid-template-columns:minmax(0,1fr) 320px}.pp-target svg{width:165px;height:165px}}
@media(max-width:900px){.pp-layout{grid-template-columns:1fr}.pp-stage{height:440px;min-height:440px}.pp-console{padding:20px}.pp-target{grid-row:auto}.pp-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-foot{padding:13px 15px}.pp-foot>span:last-child{display:none}.pp-heading{padding:14px 16px}.pp-console>.quiet-button{margin-top:3px}.pp-target svg{width:115px;height:115px}}
@media(max-width:480px){.pp-stage{height:390px;min-height:390px}.pp-scene-label{left:15px;top:17px}.pp-scene-label span{font-size:7px}.pp-scene-label strong{max-width:160px;font-size:9px}.pp-mini-target{right:10px;top:13px}.pp-mini-target svg{width:62px;height:62px}.pp-mini-target span{font-size:6px}.pp-direct{gap:5px;left:7px;right:7px}.pp-crease-chips{gap:3px}.pp-crease-chips button{min-width:26px;padding:2px;font-size:9px}.pp-direct .pp-fold{padding:5px 10px;font-size:10px}.pp-direct .pp-undo{padding:4px 9px}.pp-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-help .pp-demo-stage{height:320px;min-height:320px}.pp-win h2{font-size:23px}.pp-heading .eyebrow{font-size:7px}.pp-gesture-copy{font-size:8px}.pp-layout{gap:12px}}
@media(prefers-reduced-motion:reduce){.pp-stage *{animation:none!important;transition:none!important}}

@media(min-width:1001px) and (min-height:600px){#game-container[data-session=papel] .pp-layout{height:max(500px,calc(100dvh - 185px));flex:none}.pp-play>.pp-stage{height:0;min-height:0;flex:1}.pp-console{min-height:0}}
