.study-controls{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap;margin:1rem 0;color:#c7c9bd;font-size:.8rem}.study-controls>span{margin-right:auto}.study-controls button,.study-board__filters button{border:1px solid #8c805f;background:#142c31;color:#f6e4b9;border-radius:30px;padding:.55rem .85rem;min-height:44px;cursor:pointer}.study-controls button[aria-pressed=true]{border-color:#e7bb67}.study-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin:2.3rem 0 1.5rem}.study-intro h1{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.8rem);line-height:1.1;margin:.4rem 0 1rem;color:#f9ebcd}.study-intro h1 em{color:#e9b867;font-weight:normal}.study-intro p{max-width:650px;color:#becac6;line-height:1.7}.study-intro__link{color:#e9c787;white-space:nowrap;font-size:.9rem;padding-bottom:1rem}
.study{position:relative;isolation:isolate;border:1px solid #716040;border-radius:12px;overflow:hidden;background:#122327;box-shadow:0 18px 70px #0006}.study__background{display:block;width:100%;height:auto;aspect-ratio:3/2}.study__window{position:absolute;left:72.5%;top:14.5%;width:18%;height:43%;pointer-events:none}.study canvas{width:100%;height:100%;display:block}.study-light{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 9% 66%,#ffb73538,transparent 48%);mix-blend-mode:screen;animation:study-glow 9s ease-in-out infinite alternate}.study__dust{position:absolute;left:5%;top:58%;width:25%;height:30%;pointer-events:none;background:radial-gradient(circle at 20% 40%,#f4d68f80 0 1px,transparent 2px),radial-gradient(circle at 60% 70%,#f4d68f60 0 1px,transparent 2px);animation:study-dust 17s ease-in-out infinite alternate}
.study-board{position:absolute;left:16%;top:7%;width:47%;height:44%;padding:1%;box-sizing:border-box;color:#342818;display:flex;flex-direction:column}.study-board__heading{display:flex;justify-content:space-between;align-items:center}.study-board__heading p{font-size:.57rem;letter-spacing:.15em;margin:0;color:#59422c}.study-board h2{font-family:Georgia,serif;margin:.2rem 0 .5rem;font-size:clamp(1rem,1.8vw,1.7rem);color:#2b2419}.study-board__seal{font:2rem Georgia,serif;transform:rotate(-15deg)}.study-board__filters{display:flex;gap:.3rem;margin-bottom:.5rem}.study-board__filters button{font-size:.65rem;min-height:32px;padding:.25rem .6rem;background:#e9c88a;color:#352a1c;border-color:#795b38}.study-board__filters button[aria-pressed=true]{background:#233b38;color:#fff0cf}.study-board__cards{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:.7rem;overflow:auto;padding:8px 4px 12px;flex:1;min-height:0;scrollbar-width:thin}.study-board__threads{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.study-board__threads path{fill:none;stroke:#a92f25;stroke-width:2;opacity:.8;filter:drop-shadow(0 1px 1px #0006)}.study-board__threads path.is-done{stroke:#254c40}.study-card{z-index:1;display:flex;flex-direction:column;gap:.35rem;position:relative;background:#efe1bb;color:#302c22;text-decoration:none;padding:.85rem .55rem .6rem;border:1px solid #a99267;box-shadow:2px 4px 5px #2b1a1a55;transform:rotate(var(--tilt));transition:transform .2s,box-shadow .2s}.study-card:hover,.study-card:focus-visible{transform:rotate(0) translateY(-3px);box-shadow:3px 8px 8px #2b1a1a66}.study-card__pin{position:absolute;left:50%;top:-4px;width:8px;height:8px;border-radius:50%;background:#b6412c;box-shadow:1px 2px 2px #0008}.study-card__number{font-size:.5rem;letter-spacing:.1em}.study-card strong{font:600 clamp(.7rem,1.2vw,1rem)/1.25 Georgia,serif}.study-card__topic{font-size:.57rem;color:#584d38}.study-card__status{font-size:.55rem;border-top:1px solid #a790644a;padding-top:.35rem;line-height:1.4;margin-top:auto}.study-card__evidence{font-size:.6rem;color:#254d3b;font-weight:bold}.study-card[data-status=done]{background:#dbe2bd}.study-card[data-status=locked]{background:#d3c7a7}.study-board__footnote,.study-board__empty{font-size:.6rem;line-height:1.4;margin:.4rem 0 0;color:#493622}
.study__folders{position:absolute;left:26%;top:73%;width:53%;height:21%;display:flex;gap:7%;perspective:1000px}.study-desk-file{position:relative;width:46%;color:#382915;text-decoration:none;transform:rotate(-6deg);transition:transform .3s;filter:drop-shadow(4px 10px 5px #0008);isolation:isolate}.study-desk-file:nth-child(2){transform:rotate(5deg)}.study-desk-file:hover,.study-desk-file:focus-visible{transform:translateY(-8px) rotate(-2deg)}.study-desk-file__tab{position:absolute;top:-12%;left:4%;background:#bb8b48;padding:3% 8% 8%;border-radius:8px 8px 0 0;font-size:.6rem;letter-spacing:.1em}.study-desk-file__inside{position:absolute;inset:0;background:#f4e7c4;transform:rotate(3deg);border:5px solid #ac7b39;border-radius:3px}.study-desk-file__cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:7%;padding:7%;box-sizing:border-box;background:linear-gradient(130deg,#d5b477,#bc8b49);border-radius:3px;border:1px solid #e0bd80;transform-origin:left;transition:transform .3s}.study-desk-file:hover .study-desk-file__cover{transform:rotateY(-15deg)}.study-desk-file small{font-size:clamp(.4rem,.7vw,.65rem);letter-spacing:.1em}.study-desk-file strong{font:600 clamp(.8rem,1.6vw,1.35rem)/1.2 Georgia,serif}.study-desk-file__cover>span{font-size:clamp(.55rem,.9vw,.8rem);border-top:1px solid #71542d77;padding-top:4%}
.study-secret{position:absolute;z-index:2;left:var(--x);top:var(--y);transform:translate(-50%,-50%);background:#133b397d;border:1px solid #e5cb8580;color:#ffe4a0;border-radius:50%;width:40px;height:40px;cursor:pointer;box-shadow:0 0 25px #f4bf4b30}.study-secret>span:first-child{font-size:1.6rem}.study-secret>span+span{display:none;position:absolute;left:50%;bottom:110%;transform:translateX(-50%);padding:.5rem;background:#102e32;color:#fff0ca;min-width:130px;border-radius:5px;font-size:.75rem}.study-secret:hover>span+span,.study-secret:focus-visible>span+span{display:block}.study-secret--desk-1{left:8%;top:85%}.study-secret--desk-2{left:92%;top:86%}.study-purpose{display:flex;gap:1.4rem;align-items:center;border:1px solid #6a6545;background:linear-gradient(110deg,#243a35,#12292e);padding:1.6rem;margin:1.6rem 0;border-radius:8px}.study-purpose__mark{font-size:3rem;color:#d5b77a}.study-purpose h2,.study-collection h2{font:1.6rem Georgia,serif;color:#f4e5c7;margin:.3rem 0 .7rem}.study-purpose p{color:#b8c9c1;font-size:.88rem;line-height:1.6;margin:.3rem 0}.study-purpose .study-purpose__progress{margin-left:auto;flex:0 0 150px;color:#ecd09b;font-size:.9rem}.study-collection{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:1.5rem 0}.study-collection p{color:#b4c5bf;line-height:1.65;font-size:.9rem}.study-collection__items{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;align-content:start}.study-collection__items button{display:flex;flex-direction:column;gap:.5rem;text-align:left;padding:1.2rem;border:1px dashed #6f795f;background:#142e33;color:#ddcfac;border-radius:7px;cursor:pointer;min-height:140px}.study-collection__items button>span{font-size:1.8rem;color:#e4bc70}.study-collection__items small{color:#a6bbb2}.study-collection__items .is-found{border-style:solid;border-color:#b49c62}.study-room-details{padding:.8rem;border:1px solid #61716a;border-radius:6px;margin-top:.8rem;color:#c6cbb8}.study-room-details summary{cursor:pointer}.study-room-details button{display:inline-block;padding:.7rem;margin:.6rem .6rem 0 0;color:#f4dfb2;background:#1c3b3c;border:1px solid #79846c;border-radius:5px}.study-room-details p{font-size:.75rem}.study-case-window{position:absolute;pointer-events:none}.study-case-window canvas{width:100%;height:100%}.study-case-window--archive{display:none}.study-case-window--shop{display:none}.study-case-window--observatory{left:60%;top:2%;width:20%;height:21%;clip-path:polygon(0 0,80% 0,100% 100%,15% 100%)}
.detective-game .study-file-dialog,.detective-game .study-discovery-dialog{position:fixed;inset:0;margin:auto;padding:0;max-height:85dvh;width:min(90vw,640px);max-width:640px;border:1px solid #a89262;border-radius:8px;box-shadow:0 30px 110px #000b;overflow:auto}.study-file-dialog::backdrop,.study-discovery-dialog::backdrop{background:#06171bcc;backdrop-filter:blur(4px)}.study-file-dialog{background:#f2e6c8;color:#352d22;perspective:1200px}.study-file-dialog__sheet{padding:clamp(1.3rem,4vw,3rem);min-height:350px}.study-dialog-close{position:absolute;right:.6rem;top:.6rem;width:44px;height:44px;background:transparent;border:0;color:inherit;font-size:1.8rem;cursor:pointer;z-index:3}.study-file-dialog h2{font:2rem/1.2 Georgia,serif;color:#30271b;margin:.8rem 0 1.4rem}.study-file-dialog p{line-height:1.7}.study-file-dialog__eyebrow{font-size:.7rem;letter-spacing:.13em;color:#756245;padding-right:2rem}.study-file-dialog__evidence{padding:.8rem;background:#d8e0bf;border-left:3px solid #4c7053}.study-file-dialog__actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-top:2rem}.study-file-dialog__actions button{color:#514331;background:transparent;border:0;padding:.8rem;min-height:44px;cursor:pointer}.study-file-dialog [data-file-requires] a{color:#2b574b;display:block;padding:.5rem 0}.study-file-dialog__cover{position:absolute;inset:0;padding:3rem;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(125deg,#d6b67b,#b98848);color:#3b2d1a;border-left:12px solid #93692e;transform-origin:left;backface-visibility:hidden;pointer-events:none;z-index:2}.study-file-dialog__cover>span:first-child{font-size:.7rem;letter-spacing:.15em}.study-file-dialog__cover strong{font:2.4rem Georgia,serif;max-width:85%}.study-file-dialog__stamp{position:absolute;bottom:25%;right:10%;font:6rem Georgia,serif;opacity:.5;transform:rotate(-18deg)}.detective-game .study-discovery-dialog{background:#143438;color:#dde3cb;padding:2rem;box-sizing:border-box}.study-discovery-dialog h2{font:1.9rem Georgia,serif;color:#f8e7bc}.study-discovery-dialog p{line-height:1.8;white-space:pre-line}.study-discovery-dialog__symbol{display:block;font-size:3rem;color:#e3bf78}.study-locked{max-width:720px;margin:2rem auto;padding:2rem;border:1px solid #8c7951;background:#193538;border-radius:8px;color:#e6ddc6}.study-locked h2{color:#f1d9a6}.study-locked a{color:#f2ca7d}.study-locked li{padding:.5rem}.study-locked p{line-height:1.7}
@keyframes study-glow{0%,30%{opacity:.65}60%{opacity:.9}100%{opacity:.72}}@keyframes study-dust{to{transform:translate(10px,-18px);opacity:.5}}
[data-motion=reduce] .study-light,[data-motion=reduce] .study__dust,[data-lighting=steady] .study-light{animation:none}[data-motion=reduce] .study-desk-file,[data-motion=reduce] .study-desk-file__cover,[data-motion=reduce] .study-card{transition:none}[data-paused=true] .study-light,[data-paused=true] .study__dust{animation-play-state:paused}
@media(min-width:1400px){.study-board__heading p,.study-card__number,.study-card__topic,.study-card__status,.study-board__footnote{font-size:.7rem}.study-board__filters button{font-size:.75rem}.study-card{padding:1rem .7rem}.study-card__evidence{font-size:.7rem}}
@media(max-width:760px){.study-intro{display:block;margin-top:1.5rem}.study-intro__link{display:inline-block;white-space:normal}.study-controls{font-size:.7rem}.study-controls>span{width:100%}.study-board{position:relative;left:auto;top:auto;width:100%;height:auto;background:#bc9360;padding:1rem 1rem 1.3rem;border-top:8px solid #59432c}.study-board h2{font-size:1.7rem}.study-board__heading p{font-size:.65rem}.study-board__cards{min-height:200px;padding-top:14px;overflow:visible;gap:.65rem}.study-card{padding:1rem .6rem}.study-card strong{font-size:.95rem}.study-card__number,.study-card__topic,.study-card__status,.study-card__evidence,.study-board__footnote{font-size:.65rem}.study-board__filters button{font-size:.8rem;min-height:44px}.study__background{height:auto}.study__window{top:0;width:18%;height:calc((100vw - 3rem)*.287);top:calc((100vw - 3rem)*.097)}.study-light{background:radial-gradient(ellipse at 9% 25%,#ffb73538,transparent 35%)}.study__folders{top:calc((100vw - 3rem)*.48);height:calc((100vw - 3rem)*.14);left:22%;width:60%}.study-desk-file strong{font-size:clamp(.65rem,2.6vw,1rem)}.study-desk-file__tab{font-size:.45rem}.study-desk-file small{font-size:.35rem}.study-desk-file__cover>span{font-size:.45rem}.study-secret--desk-1{top:calc((100vw - 3rem)*.57)}.study-secret--desk-2{top:calc((100vw - 3rem)*.57)}.study-purpose{gap:.8rem;padding:1.2rem;flex-wrap:wrap}.study-purpose__mark{font-size:2rem}.study-purpose>div:nth-child(2){flex:1}.study-purpose .study-purpose__progress{margin-left:0;flex-basis:100%}.study-collection{grid-template-columns:1fr;gap:.5rem}.study-secret{width:36px;height:36px}.study-file-dialog__cover{padding:2rem}.study-file-dialog__cover strong{font-size:1.8rem}}
@media(max-width:380px){.study-board__cards{grid-template-columns:1fr}.study-card{transform:none}.study-board__threads{display:none}.study-collection__items{grid-template-columns:1fr}.study-board__filters{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.study-light,.study__dust{animation:none}.study-card,.study-desk-file,.study-desk-file__cover{transition:none}}
.detective-game [hidden]{display:none!important}
.detective-game .study-intro{padding:0 30px}.detective-game .study-controls{padding:0 20px}.detective-game .study-collection{padding:1.5rem 30px}.detective-game .study-purpose{margin:1.6rem 20px}@media(max-width:760px){.detective-game .study-intro,.detective-game .study-controls{padding-left:12px;padding-right:12px}.detective-game .study-collection{padding:1rem 16px}.detective-game .study-purpose{margin:1rem 12px}}
.detective-game .study-desk-file{color:#382915}.detective-game a.detective-game__primary{color:#1c2c28}.study .study-board__cards{padding-top:32px}
.study-card,.study-desk-file strong,.study-collection__items button,.study-file-dialog,.study-discovery-dialog{overflow-wrap:anywhere}
[data-detective-game][data-motion=reduce] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-detective-game][data-paused=true] *{animation-play-state:paused!important}[data-lighting=steady] .detective-game__atmosphere{animation:none}
.study-board__threads{z-index:2}.study-board__threads path{stroke-width:2.5}
@media(max-width:760px){.study-desk-file__cover small,.study-desk-file__cover>span{display:none}.study-desk-file__cover{padding:5%;gap:0}.study-desk-file strong{font-size:clamp(.65rem,2.6vw,1rem)}}
