.picture-detective{--det-ink:#19464c;--det-teal:#087889;min-height:100dvh;color:var(--det-ink);font-family:var(--font-body,"Nunito",sans-serif);background:radial-gradient(at top,#fffdf5,#f6e9d0);padding:14px 22px 90px}.picture-detective *{box-sizing:border-box}.picture-detective button,.picture-detective a{font:800 1rem var(--font-body,"Nunito",sans-serif)}.picture-detective button{cursor:pointer;color:var(--det-ink);background:#fffdf5;border:2px solid #147788;border-radius:16px;min-height:44px;padding:10px 16px}.picture-detective button:hover{background:#e4f6f6}.picture-detective button:disabled{cursor:default;opacity:.5}.picture-detective :focus-visible{outline-offset:3px;outline:4px solid #cf661a}.detective-header{justify-content:space-between;align-items:center;gap:18px;max-width:1500px;margin:auto;display:flex}.detective-header>a{color:var(--det-ink);align-items:center;min-height:44px;text-decoration:none;display:flex}.detective-header>div{text-align:center}.detective-header img{object-fit:contain;width:170px;height:46px}.detective-header h1{font:600 clamp(1.5rem,3vw,2.6rem) var(--font-heading,"Fredoka",sans-serif);color:#087788;text-shadow:0 2px #fff;margin:0}.detective-collection{max-width:1200px;margin:24px auto}.detective-collection-heading{text-align:center;margin-bottom:24px}.detective-collection-heading>span{letter-spacing:.13em;color:#946122;font-size:.85rem;font-weight:900}.detective-collection h2{font:600 2.1rem var(--font-heading,"Fredoka",sans-serif);margin:6px}.detective-collection-heading p{font-size:1.05rem}.detective-scenes{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.detective-scenes>button{text-align:left;background:#fffdf7;border:3px solid #16909c;border-radius:22px;padding:0;overflow:hidden;box-shadow:0 7px #14798722}.detective-scenes>button>img{aspect-ratio:3/2;object-fit:cover;width:100%;display:block}.detective-scenes>button>div{padding:16px}.detective-scenes span{color:#8b581f;font-size:.9rem}.detective-scenes h3{font:600 1.5rem var(--font-heading,"Fredoka",sans-serif);margin:5px 0}.detective-scenes p{margin:6px 0 16px;font-weight:500}.detective-scenes b{color:#087788;display:block}.detective-scenes>button.scene-solved{border-color:#308b55}.detective-game{max-width:1500px;margin:12px auto}.detective-toolbar{background:#fffdf8;border:2px solid #dfc597;border-radius:20px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 16px;display:flex}.detective-toolbar h2{font:600 1.4rem var(--font-heading,"Fredoka",sans-serif);margin:0 0 3px}.detective-toolbar span{color:#785229;font-weight:900}.detective-view{gap:5px;display:flex}.picture-detective button[aria-pressed=true]{color:#fff;background:#087788}.detective-pictures{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}.detective-panel{background:#147788;border:4px solid #147788;border-radius:20px;min-width:0;overflow:hidden;box-shadow:0 5px 14px #173c3e26}.detective-picture-label{color:#fff;text-align:center;padding:5px 12px;font-size:.9rem;font-weight:900}.detective-picture{touch-action:pan-y pinch-zoom;cursor:crosshair;-webkit-user-select:none;user-select:none;position:relative}.detective-picture img{pointer-events:none;width:100%;height:auto;display:block}.detective-marker{pointer-events:none;border:4px solid #20b265;border-radius:50%;justify-content:flex-end;align-items:flex-start;display:flex;position:absolute;box-shadow:0 0 0 2px #fff}.detective-marker b{color:#fff;background:#12753e;border-radius:50%;padding:1px 5px;font-size:clamp(.7rem,1.2vw,1.1rem);transform:translate(20%,-20%)}.detective-marker.hint{border-color:#ffc43b;animation:1.3s ease-in-out infinite detective-hint;box-shadow:0 0 0 3px #86480f}.detective-pictures.single{max-width:1000px;margin:auto;display:block}.detective-switch{justify-content:center;align-items:center;gap:8px;margin:10px 0;display:flex}.detective-switch span{margin-left:8px;font-size:.95rem}.detective-feedback{text-align:center;min-height:1.6em;margin:14px 0 6px;font-weight:800}.detective-found{justify-content:center;gap:9px;display:flex}.detective-found span{color:#7b6948;background:#e5d8bd;border:2px solid #a68954;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.detective-found .yes{color:#fff;background:#168554;border-color:#168554}.detective-footnote{text-align:center;font-size:.9rem}.detective-finish{text-align:center;padding:12px}.detective-finish h3{font:600 1.8rem var(--font-heading,"Fredoka",sans-serif);margin:5px 0 12px}.detective-finish button{color:#fff;background:#087788;margin:4px}.detective-preload{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.detective-error{background:#fff0da;border:2px solid #c18430;border-radius:12px;max-width:900px;margin:12px auto;padding:12px}.detective-dialog{color:#19464c;width:calc(100% - 28px);max-width:560px;font:1.05rem var(--font-body,"Nunito",sans-serif);background:#fffdf5;border:3px solid #087788;border-radius:24px;padding:26px}.detective-dialog::backdrop{background:#123e4cc4}.detective-dialog li{margin:12px 0}.detective-accessible-hint{margin:10px auto;display:block}@keyframes detective-hint{50%{filter:brightness(1.2)}}@media (width>=1000px) and (height>=650px){.detective-pictures:not(.single){max-width:min(100%,300dvh - 1200px);margin:auto}.detective-pictures.single{max-width:min(1000px,150dvh - 645px)}}@media (width<=900px){.detective-scenes{grid-template-columns:repeat(2,minmax(0,1fr))}.detective-header{gap:8px}.detective-header img{width:130px;height:34px}.detective-toolbar,.detective-switch{flex-wrap:wrap}.detective-pictures{gap:8px}.detective-panel{border-width:3px}}@media (width<=550px){.picture-detective{padding:10px 9px 90px}.detective-header{flex-wrap:wrap}.detective-header>div{order:2;width:100%;margin:3px auto}.detective-header h1{font-size:1.85rem}.detective-header img{height:30px}.detective-header>a,.detective-header>button{font-size:.9rem}.detective-collection{margin-top:16px}.detective-scenes{gap:12px}.detective-scenes>button>div{padding:10px}.detective-scenes h3{font-size:1.2rem}.detective-scenes p{margin-bottom:10px;font-size:.9rem}.detective-scenes b{font-size:.9rem}.detective-scenes span{font-size:.85rem}.detective-toolbar{gap:8px;padding:9px}.detective-toolbar>div:first-child{flex:1}.detective-view{order:3;justify-content:center;width:100%}.detective-toolbar h2{font-size:1.2rem}.detective-toolbar button{padding:8px 12px}.detective-switch span{text-align:center;width:100%;margin:0}.detective-pictures:not(.single){grid-template-columns:1fr}.detective-marker{border-width:3px}.detective-feedback{font-size:1rem}.detective-picture-label{padding:3px}.detective-footnote{font-size:.85rem}}@media (prefers-reduced-motion:reduce){.detective-marker.hint{animation:none}}.detective-collections{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1100px;margin:0 auto 24px;display:grid}.detective-collections button{text-align:left;border-width:3px;padding:16px 20px;box-shadow:0 4px #14798722}.detective-collections strong{font:600 1.45rem var(--font-heading,"Fredoka",sans-serif);display:block}.detective-collections span{margin-top:6px;font-size:.95rem;font-weight:700;display:block}.detective-collections button[aria-pressed=true]{border-color:#087788;box-shadow:0 4px #05505c}.detective-collection-heading>span{text-transform:uppercase}@media (width<=700px){.detective-collections{grid-template-columns:1fr;gap:9px;margin-bottom:20px}.detective-collections button{padding:12px 10px}.detective-collections strong{font-size:1.15rem}.detective-collections span{font-size:.9rem;line-height:1.4}.detective-collection-heading>span{letter-spacing:.06em}}.picture-detective.detective-halloween{--det-ink:#f9edda;--det-teal:#d4aa66;color:#f9edda;background:radial-gradient(at top,#3b2e48,#182031 75%);padding-bottom:40px}.detective-halloween .detective-header{border-bottom:1px solid #d4aa6640;max-width:1300px;padding-bottom:14px}.detective-halloween .detective-header h1{color:#ffdb9e;text-shadow:none;font-size:clamp(22px,2.5vw,34px)}.detective-halloween button{color:#352b42;background:#fff5e5;border-color:#bf975d}.detective-halloween button:hover{background:#ffe5b8}.detective-halloween button[aria-pressed=true]{color:#fff;background:#6a4b78;border-color:#d9b47c}.detective-halloween .detective-collections{gap:12px;margin-bottom:24px}.detective-halloween .detective-collections button{box-shadow:none;border-width:1px;border-radius:15px}.detective-halloween .detective-collections strong{font-size:21px}.detective-halloween .detective-collections span{font-size:12px;line-height:1.5}.detective-halloween .detective-collection-heading>span{color:#f3c47f}.detective-halloween .detective-collection-heading h2{color:#ffe0aa}.detective-halloween .detective-scenes{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1000px;margin:auto}.detective-halloween .detective-scenes>button{color:#352b42;background:#fff5e5;border:1px solid #bf975d;box-shadow:0 12px 28px #0003}.detective-halloween .detective-scenes>button>img{object-fit:contain;background:#272538}.detective-halloween .detective-scenes b{color:#75426f}.detective-halloween .detective-toolbar{color:#352b42;background:#fff5e5;border:1px solid #bf975d;border-radius:16px}.detective-halloween .detective-toolbar button{min-height:44px;font-size:13px}.detective-halloween .detective-toolbar h2{font-size:22px}.detective-halloween .detective-panel{background:#3b2e48;border:2px solid #bf975d;border-radius:15px;box-shadow:0 8px 22px #0003}.detective-halloween .detective-picture-label{color:#ffe0aa;letter-spacing:.12em;background:#3b2e48;padding:7px;font-size:12px}.detective-halloween .detective-pictures{gap:14px}.detective-halloween .detective-feedback{color:#f4e5cf;font-size:14px}.detective-halloween .detective-found span{color:#f2d29d;background:#41384e;border-color:#b49365}.detective-halloween .detective-found .yes{color:#fff;background:#247855;border-color:#67c392}.detective-halloween .detective-finish button{color:#352b42;background:#ffdc9a}.detective-halloween .detective-footnote{color:#d9cfc0}@media (width>=1000px) and (height>=650px){.detective-halloween .detective-pictures:not(.single){max-width:min(100%,300dvh - 1020px)}.detective-halloween .detective-pictures.single{max-width:min(1050px,150dvh - 570px)}}@media (width<=550px){.detective-halloween .detective-scenes{grid-template-columns:1fr;max-width:440px}.detective-halloween .detective-header h1{font-size:25px}.detective-halloween .detective-collections{gap:8px}.detective-halloween .detective-collection-heading h2{font-size:28px}.detective-halloween .detective-toolbar h2{font-size:20px}}.detective-seasonal-link{color:#704079;text-align:center;background:#fff8ed;border:1px solid #bc8b55;border-radius:14px;width:fit-content;margin:0 auto 24px;padding:12px 20px;text-decoration:none;display:block}.detective-picture .detective-local-edits{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}
