.miniKicker{font:700 12px/1.5 system-ui;letter-spacing:.08em;color:var(--pine);text-transform:uppercase}.miniStage{margin:20px 0}.miniStage .feedback{min-height:30px}.miniStage button{white-space:normal}.miniSuccess{font:700 24px/1.4 'Segoe UI',Arial,sans-serif;color:var(--pine);padding:18px 0}.miniStage input{font:600 18px system-ui;border:1px solid #bdcfdc;border-radius:6px;color:var(--navy)}.miniStage input:focus-visible{outline:3px solid var(--green);outline-offset:2px}.crosswordGrid{display:grid;gap:3px;max-width:540px;margin:24px auto}.crosswordTile{position:relative;aspect-ratio:1;background:#fff;border:1px solid #bdcfdc;border-radius:3px;overflow:hidden}.crosswordTile input{width:100%;height:100%;padding:4px 0 0;text-align:center;border:0;border-radius:0;text-transform:uppercase;font-size:clamp(15px,3vw,27px);background:transparent}.crosswordTile small{position:absolute;left:3px;top:0;font:10px system-ui;pointer-events:none}.crosswordTile.activeWord{background:#e9f1e8}.crosswordTile.invalid{border:2px solid var(--red)}.crosswordEmpty{aspect-ratio:1;background:#edf2f6;border-radius:3px}.crosswordClues{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.crosswordClue{border:1px solid #d6e3e9;background:#ffffff;border-radius:8px;padding:12px;text-align:left;font:14px/1.5 system-ui;color:var(--navy)}.cipherMessage{font:700 clamp(22px,5vw,42px)/1.6 monospace;letter-spacing:.14em;text-align:center;padding:24px 12px;background:#edf3fb;border:1px dashed #a8c0d8;border-radius:10px;overflow-wrap:anywhere}.cipherInput{display:block;width:100%;max-width:500px;padding:14px;margin:20px 0;text-transform:uppercase}.cipherKey{padding:12px;background:#eaf5ef;border-radius:8px;font:14px/1.6 system-ui}.cipherKey summary{cursor:pointer;font-weight:700}.cipherAlphabet{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.cipherAlphabet span{padding:5px;background:#fff;border-radius:4px;font-family:monospace}.memoryGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.memoryCard{aspect-ratio:1;min-height:150px;overflow:hidden;border:2px solid #c8d9df;border-radius:12px;padding:0;background:var(--blue);color:#f8e8bd;font:600 30px/1.45 system-ui;box-shadow:0 3px 0 #cadde7}.memoryImage{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;pointer-events:none}.memoryCard:disabled{opacity:1;cursor:default}.memoryCard.turned{background:#ffffff;color:var(--navy);font-size:14px}.memoryCard.matched{background:#e4f3ea;border-color:var(--green);opacity:1;color:#174736;box-shadow:none}.detectiveBoard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#eaf5ef;border:6px solid #64b294;border-radius:12px;padding:18px}.evidenceCard{min-height:82px;background:#ffffff;border:1px solid #bdcfdc;border-radius:3px;padding:14px;color:var(--navy);font:600 15px system-ui;box-shadow:0 3px 6px #63472233}.evidenceCard:nth-child(2n){transform:rotate(1deg)}.evidenceCard.selected{outline:3px solid var(--pine);outline-offset:2px}.evidencePaper{padding:20px;background:#ffffff;border-left:4px solid #b48e51;margin:18px 0}.routePuzzle{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;max-width:480px;margin:20px auto;background:#e5edf5;border:8px solid #a8bfd3;border-radius:10px;padding:5px}.routeCell,.routeWall{aspect-ratio:1;min-width:0}.routeWall{background:repeating-linear-gradient(45deg,#c1cdd8,#c1cdd8 6px,#d1dce4 6px,#d1dce4 8px);border-radius:3px}.routeCell{border:1px solid #bdcfdc;background:#ffffff;border-radius:4px;color:var(--navy);font:700 clamp(8px,1.9vw,12px) system-ui;padding:2px;overflow-wrap:anywhere}.routeCell.walked{background:#d3e7d7}.routeCell.routeHere{box-shadow:inset 0 0 0 3px var(--pine);font-weight:900}.routeMoves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:360px;margin:16px auto}.routeMoves .choice{padding:10px;font-size:13px}.routeStatus{font:14px/1.6 system-ui}.scheduleNotice{background:#eaf5ef;padding:15px;border-radius:10px;font:600 15px/1.6 system-ui}.scheduleBoard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.scheduleSlot{width:100%;min-height:110px;border:2px dashed #a8bfd3;background:#ffffff;border-radius:10px;padding:15px;color:var(--navy);text-align:left}.scheduleSlot small,.scheduleSlot strong{display:block;line-height:1.5}.scheduleSlot small{font:12px system-ui;margin-bottom:12px}.scheduleSlot strong{font:600 14px/1.5 system-ui}.scheduleReport{margin-bottom:18px}.scheduleReport .scheduleSlot{min-height:80px;background:#eaf5ef}.sudokuBoard{display:grid;grid-template-columns:repeat(4,1fr);max-width:320px;border:3px solid var(--navy);margin:24px auto}.miniStage .sudokuCell{width:100%;min-width:0;aspect-ratio:1;text-align:center;font:600 30px system-ui;border:1px solid #bdcfdc;border-radius:0;background:#ffffff;color:var(--blue)}.miniStage .sudokuCell.given{background:#eaf0f7;color:var(--navy);font-weight:800}.miniStage .sudokuCell.boxRight{border-right:3px solid var(--navy)}.miniStage .sudokuCell.boxBottom{border-bottom:3px solid var(--navy)}.workbenchGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.pieceCard{background:linear-gradient(100deg,#ebd3a4,#f6e5c4);border:2px solid #bd995d;border-radius:5px;padding:22px 15px;color:#46381e;font:600 15px/1.5 system-ui;min-height:90px;margin:4px}.pieceCard.selected{border-color:var(--pine);box-shadow:0 0 0 2px var(--pine)}.miniStage>.primary{margin:8px 12px 8px 0}.miniStage>.textbutton{margin-left:6px}@media(max-width:600px){.memoryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memoryCard{min-height:125px}.crosswordClues{grid-template-columns:1fr}.scheduleBoard{grid-template-columns:1fr}.scheduleSlot{min-height:80px}.workbenchGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.detectiveBoard{padding:10px}.evidenceCard{padding:10px;font-size:13px}.crosswordGrid{gap:2px}.crosswordTile small{font-size:8px;left:1px}.crosswordTile input{padding-top:5px}}

.finalRouteBoard{position:relative;gap:0;padding:0;max-width:540px;border:2px solid #c2d5e3;border-radius:18px;overflow:hidden;background:#f0f5f9}.finalRouteMap{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.finalRouteRoads line{stroke:#fff;stroke-width:48;stroke-linecap:round}.finalRouteTrail{fill:none;stroke:var(--green);stroke-width:13;stroke-linecap:round;stroke-linejoin:round}.finalRouteBoard .routeWall{border-radius:7px;margin:8px;background:#dbe5ee;box-shadow:inset 0 0 0 1px #cfdae4}.finalRouteBoard .routeCell{position:relative;z-index:2;border:0;background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:0;overflow:visible}.finalRouteBoard .routeCell.walked{background:transparent}.finalRouteBoard .routeCell.routeHere{box-shadow:none}.finalRouteBoard .routeCell:focus-visible{outline:3px solid var(--blue);outline-offset:-4px;border-radius:8px}.finalRouteLabel{font:800 clamp(8px,1.8vw,11px)/1.1 system-ui;color:var(--blue);background:#ffffffec;border-radius:4px;padding:3px;position:absolute;bottom:3px;left:50%;transform:translateX(-50%);white-space:nowrap}.finalRouteCart{display:block;position:relative;width:36px;height:27px;background:#b8874a;border:2px solid #795127;border-radius:3px;box-shadow:0 5px 0 -1px var(--blue);margin-bottom:7px}.finalRouteCart:before{content:'';position:absolute;left:-7px;top:6px;height:24px;width:6px;border-left:3px solid var(--blue);border-top:3px solid var(--blue);border-radius:4px 0 0 0}.finalRouteCart:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:var(--navy);left:2px;bottom:-10px;box-shadow:20px 0 var(--navy)}.finalRouteBoxes{display:block;width:30px;height:24px;border:2px solid #906132;background:linear-gradient(90deg,#cfa36b 42%,#ead1a4 42%,#ead1a4 58%,#cfa36b 58%);transform:rotate(-8deg);margin-bottom:10px;box-shadow:8px -8px 0 -2px #b8874a}.finalRouteBoxes.stored{transform:none}.finalRouteSteps{display:block;width:34px;height:29px;background:repeating-linear-gradient(0deg,#96a9bb 0,#96a9bb 5px,#e4ebf2 5px,#e4ebf2 9px);border:2px solid #96a9bb;border-radius:3px;margin-bottom:10px}.finalRouteCheck{font-size:14px;color:#246749;font-weight:800;background:#eaf5ef;border-radius:50%;width:24px;height:24px;line-height:24px}.finalRouteBoard .routeBlocked{background:#f5dfb055}.finalRouteBoard .routeWall{aspect-ratio:auto;min-height:0}@media(max-width:500px){.finalRouteCart{width:25px;height:20px}.finalRouteCart:after{box-shadow:13px 0 var(--navy)}.finalRouteBoxes{width:23px;height:18px}.finalRouteSteps{width:25px;height:22px}.finalRouteLabel{font-size:7px;bottom:1px;padding:2px}}
