.puzzle-preview-dialog .MuiPaper-root{overflow:hidden;overscroll-behavior:none}.puzzle-preview-dialog .MuiDialog-paper{width:min(1440px,98vw);max-width:98vw;height:min(96vh,1080px);max-height:96vh}.puzzle-preview-dialog .MuiDialogTitle-root{flex:0 0 auto}.puzzle-preview-dialog .MuiDialogContent-root{display:flex;flex-direction:column;min-height:0;overflow:hidden;overscroll-behavior:contain}.puzzle-preview-stage{position:relative;width:100%;margin:0 auto;background:#d8d8d8;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.puzzle-preview-stage--assembled{max-width:none;flex:1 1 auto;aspect-ratio:7/5;height:auto;min-height:220px;max-height:none}.puzzle-preview-stage--play{max-width:none;flex:1 1 auto;min-height:240px;height:auto;aspect-ratio:auto}.puzzle-preview-board,.puzzle-preview-physics{position:absolute;inset:0;overflow:visible}.puzzle-preview-physics,.puzzle-preview-play{position:absolute;inset:0;cursor:grab;touch-action:none}.puzzle-preview-target{position:absolute;border:1px dashed rgba(0,0,0,.22);border-radius:6px;pointer-events:none;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.puzzle-preview-target__cell{position:absolute;border:1px solid rgba(0,0,0,.06);box-sizing:border-box}.puzzle-piece--snapped{z-index:2}.puzzle-piece--free{z-index:8}.puzzle-piece--dragging{z-index:40;cursor:grabbing}.puzzle-preview-play{perspective:1400px}.puzzle-piece{position:absolute;overflow:visible;pointer-events:none;z-index:1;transform-style:preserve-3d}.puzzle-piece__face,.puzzle-piece__side{position:absolute;background-repeat:no-repeat}.puzzle-piece__face{filter:drop-shadow(1px 1px 0 rgba(92,68,42,.55)) drop-shadow(2px 3px 0 rgba(72,52,32,.75)) drop-shadow(3px 6px 5px rgba(0,0,0,.28))}.puzzle-piece__face--flat{filter:none}.puzzle-piece__edge{position:absolute;overflow:visible;pointer-events:none}.puzzle-piece--play{visibility:visible;will-change:left,top,transform;touch-action:none;-webkit-user-select:none;user-select:none}.puzzle-piece__hit{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:48px;min-height:48px;pointer-events:auto}.puzzle-preview-upload .MuiButton-root{touch-action:manipulation}.puzzle-preview-upload{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.puzzle-preview-upload input[type=file]{display:none}.puzzle-preview-hint{font-size:.85rem;line-height:1.4;opacity:.78}.puzzle-preview-timer{display:flex;flex-direction:column;align-items:flex-end;min-width:72px;padding:4px 10px;border-radius:10px;background:rgba(0,0,0,.06)}.puzzle-preview-hint--reward{color:#166534;font-weight:600}.puzzle-preview-timer--good{background:rgba(22,163,74,.12);color:#166534}.puzzle-preview-timer--over{background:rgba(234,88,12,.12);color:#c2410c}.puzzle-preview-timer--won{background:rgba(22,163,74,.2);color:#15803d;box-shadow:0 0 0 1px rgba(22,163,74,.25)}.puzzle-preview-timer--done{background:rgba(0,0,0,.08)}.puzzle-preview-stage--celebrating{overflow:hidden}.puzzle-preview-stage--celebrating .puzzle-preview-board,.puzzle-preview-stage--celebrating .puzzle-preview-play{position:relative;z-index:1}@media (max-width:600px){.puzzle-preview-dialog .MuiDialog-paper{width:100%;max-width:100%;height:100%;max-height:100dvh;border-radius:0}.puzzle-preview-stage--assembled,.puzzle-preview-stage--play{min-height:0;aspect-ratio:auto;border-radius:10px}.puzzle-preview-hint{font-size:.75rem;margin-bottom:8px!important}.puzzle-preview-hint--play{display:none}.puzzle-preview-upload{gap:8px;margin-bottom:10px!important}.puzzle-preview-timer{min-width:56px;padding:2px 8px}}@media (max-height:560px){.puzzle-preview-hint{display:none}}.puzzle-home-promo{border-radius:16px;padding:1.25rem 1.5rem;max-width:100%;overflow:hidden}.puzzle-home-promo__inner{display:flex;flex-direction:column;gap:1rem;align-items:stretch}.puzzle-home-promo__copy,.puzzle-home-promo__inner{min-width:0;max-width:100%}.puzzle-home-promo__heading{margin:0;font-size:1.2rem;font-weight:700;line-height:1.3;overflow-wrap:break-word}.puzzle-home-promo__body{margin:.5rem 0 1rem;line-height:1.55;max-width:720px;overflow-wrap:break-word}.puzzle-home-promo__cta{display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-decoration:none;border-radius:10px;padding:.75rem 1.4rem;min-height:44px;box-sizing:border-box}.puzzle-home-promo__actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.puzzle-home-promo__cta--outline{background:transparent;border:2px solid}.puzzle-home-promo__cta--disabled{pointer-events:none;opacity:.72;border:2px solid}.puzzle-home-promo__gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;width:100%}.puzzle-home-promo__thumb{margin:0;display:block;border-radius:12px;overflow:hidden;aspect-ratio:1/1;text-decoration:none}.puzzle-home-promo__thumb img{width:100%;height:100%;object-fit:cover;display:block}@media (max-width:599px){.puzzle-home-promo{padding:1rem;border-radius:12px}.puzzle-home-promo__heading{font-size:1.08rem}.puzzle-home-promo__body{font-size:.92rem;margin-bottom:.85rem}.puzzle-home-promo__actions{flex-direction:column;align-items:stretch}.puzzle-home-promo__actions .puzzle-home-promo__cta{width:100%}.puzzle-home-promo__gallery{gap:.45rem}.puzzle-home-promo__thumb{border-radius:10px}}@media (min-width:900px){.puzzle-home-promo__inner{flex-direction:row;align-items:center;gap:1.5rem}.puzzle-home-promo__copy{flex:0 1 38%;min-width:260px;max-width:420px}.puzzle-home-promo__heading{font-size:1.35rem}.puzzle-home-promo__gallery{flex:1 1;min-width:0;max-width:none;display:flex;flex-direction:row;align-items:stretch;gap:.65rem}.puzzle-home-promo__thumb{flex:1 1;min-width:0;max-width:none}}.puzzle-landing-body{max-width:1200px;margin:0 auto}.puzzle-landing-content .puzzle-landing-section{max-width:none;margin:0}.puzzle-landing-steps{max-width:none;margin-left:0;margin-right:0}.puzzle-landing-gallery__thumb{display:none;margin:0;padding:0;border-radius:14px;overflow:hidden;aspect-ratio:1/1;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 8px 24px rgba(0,0,0,.1)}.puzzle-landing-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.puzzle-landing-gallery__thumb:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,.14)}.puzzle-landing-gallery__thumb:focus-visible{outline:2px solid #4b70e2;outline-offset:3px}.puzzle-landing-gallery-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:0 1.25rem 1.25rem;max-width:420px;margin:0 auto}.puzzle-landing-gallery-mobile .puzzle-landing-gallery__thumb{display:block;width:100%}@media (min-width:960px){.puzzle-landing-gallery-mobile{display:none}.puzzle-landing-body--with-gallery{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr) minmax(130px,190px);grid-template-rows:auto auto auto;column-gap:clamp(1rem,2.5vw,2rem);row-gap:0;align-items:start;padding:0 2rem 1rem}.puzzle-landing-body--with-gallery .puzzle-landing-gallery__thumb{display:block;width:100%;max-width:190px}.puzzle-landing-body--with-gallery .puzzle-landing-gallery__thumb--slot-1{grid-column:1;grid-row:1/3;align-self:center;justify-self:center}.puzzle-landing-content{grid-column:2;grid-row:1/4;min-width:0}.puzzle-landing-body--with-gallery .puzzle-landing-gallery__thumb--slot-2{grid-column:3;grid-row:1;justify-self:end;align-self:start;margin-top:2.5rem}.puzzle-landing-body--with-gallery .puzzle-landing-gallery__thumb--slot-3{grid-column:3;grid-row:2;justify-self:center;align-self:start;transform:translateX(-18%);margin-top:.5rem}.puzzle-landing-body--with-gallery .puzzle-landing-gallery__thumb--slot-4{grid-column:3;grid-row:3;justify-self:start;align-self:start;transform:translateX(-36%);margin-top:.25rem}}@media (min-width:1100px){.puzzle-landing-body--with-gallery{grid-template-columns:minmax(150px,210px) minmax(0,1fr) minmax(150px,210px)}.puzzle-landing-body--with-gallery .puzzle-landing-gallery__thumb{max-width:210px}}@media (max-width:599px){.puzzle-landing-gallery-mobile{padding-left:1rem;padding-right:1rem;gap:.55rem}.puzzle-landing-gallery-mobile .puzzle-landing-gallery__thumb{border-radius:12px}}