.maze-hero{padding:40px 0}.maze-section{padding-top:30px}.maze-panel{max-width:800px;margin:20px auto}.maze-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.maze-top h2{font-size:clamp(1.5rem,4vw,2.2rem)}.maze-mission{display:flex;align-items:center;justify-content:center;gap:25px;margin:20px 0 14px}.maze-mission>div{display:flex;flex-direction:column;align-items:center;gap:5px;color:#79529f}.maze-mission img{width:64px;height:64px;border-radius:20px;object-fit:cover}.maze-mission>span{color:#885abb;font-size:1.6rem}.maze-help{text-align:center;margin:0 0 20px}.maze-board{display:grid;grid-template-columns:repeat(var(--maze-size),minmax(0,1fr));grid-template-rows:repeat(var(--maze-size),minmax(0,1fr));width:min(100%,560px);aspect-ratio:1;margin:0 auto;background:#fffdf7;border-radius:17px;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:0 0 0 5px #f0e6f8}.maze-cell{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;height:100%;border:0 solid #8c6fa5;background:#fffdf7;padding:0;border-radius:0;cursor:pointer;touch-action:none}.maze-cell.maze-visited{background:#f1e6fb}.maze-cell.maze-goal{background:#def0ce}.maze-cell.maze-current{background:#eadbfa}.maze-cell.maze-reunited{background:#d5efbb}.maze-cell img{display:block;position:relative;z-index:1;width:74%;height:74%;max-width:68px;max-height:68px;object-fit:cover;border-radius:36%;pointer-events:none}.maze-cell .maze-hero-piece{box-shadow:0 0 0 3px #a576cb}.maze-cell .maze-goal-piece{box-shadow:0 0 0 3px #8fba70}.maze-cell.maze-reunited img{width:42%;height:60%;box-shadow:none}.maze-cell.maze-hint-cell:before{content:'';position:absolute;z-index:0;width:12%;height:12%;min-width:6px;min-height:6px;border-radius:50%;background:#e7b849}.maze-cell:focus-visible{outline:3px solid #f0a145;outline-offset:-6px;z-index:2}.maze-panel .feedback{text-align:center;min-height:3em;margin:20px 0 0}.maze-controls{display:flex;align-items:center;justify-content:center;gap:35px;margin-top:12px}.maze-arrows{display:grid;grid-template-columns:repeat(3,54px);grid-template-rows:repeat(3,54px);gap:7px;flex-shrink:0}.maze-arrow{display:grid;place-items:center;width:54px;height:54px;border:2px solid #dcc5ee;background:#885abb;color:white;border-radius:15px;font-size:2rem;font-weight:900;line-height:1;touch-action:manipulation}.maze-arrow:disabled{background:#f0e9f5;color:#bcabcd;border-color:#e9e0f0;cursor:default}.maze-arrow.up{grid-column:2;grid-row:1}.maze-arrow.right{grid-column:3;grid-row:2}.maze-arrow.down{grid-column:2;grid-row:3}.maze-arrow.left{grid-column:1;grid-row:2}.maze-arrow-center{grid-column:2;grid-row:2;display:grid;place-items:center;font-size:1.7rem}.maze-options{display:flex;flex-direction:column;gap:16px}.maze-actions{display:flex;justify-content:center;margin:12px 0}.maze-actions [hidden]{display:none!important}.maze-trail{display:flex;justify-content:center;gap:16px;margin-top:25px;color:#e1d6eb}.maze-trail .current{color:#885abb}.maze-trail .visited{color:#6e9c57;font-weight:900}@media(max-width:520px){.maze-panel{padding:16px}.maze-hero h1{font-size:2.5rem}.maze-controls{gap:16px;flex-direction:column}.maze-options{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px}.maze-options .btn{font-size:.82rem;padding:9px 12px}.maze-help{font-size:.92rem}.maze-mission{gap:20px}.maze-cell img{border-radius:32%}.maze-top .pill{font-size:.8rem}}
