@import url('../memory/style.css');
:root{background:#f8f3e7;color:#5c737c}.brand-mark{background:#f4e3bf}.brand small{color:#9b8b72}.brand h1{color:#536f74}
.detective-world{background:radial-gradient(ellipse at 50% 10%,#fff9e7,#e9efdf 75%,#d4e5db);border-color:#c7d9c4}.detective-order{min-width:0;width:325px;max-width:80%;padding:10px 16px 14px;border-color:#dbc492;border-bottom-color:#bca375;background:#fffaf0}.detective-order .order-content{gap:12px;justify-content:center}.order-symbol{width:39px;height:40px}#question{font-size:21px;color:#5d7677}.round-progress{top:28px}.progress-star{width:23px;height:23px}
.clue-card{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:11px;padding:6px 12px;border:2px dashed #d6c39d;border-radius:20px;background:#f6f0df;min-height:82px}.kind-clue,.color-clue{display:grid;place-items:center;width:70px;height:70px;border-radius:16px;background:#fffaf0;border:2px solid #e8dcc5}.kind-clue svg{width:60px;height:60px;--toy-color:#a6b5b0}.color-clue i{width:48px;height:48px;border-radius:50%;border:3px solid #fffef0;background:var(--clue-color);box-shadow:0 0 0 2px #c6bba1}.clue-and{color:#b8a68a;font-size:25px}.color-clue[hidden],.clue-and[hidden]{display:none}
.detective-world .hint-button{position:absolute;top:auto;right:26px;bottom:26px;display:grid;place-items:center;min-width:62px;min-height:62px;border:3px solid #fff9df;border-radius:21px;outline:2px solid #ad7e37;background:#efbd61;color:#795728;box-shadow:0 5px #a97d40;touch-action:manipulation}.detective-world .hint-button .icon{width:32px;height:32px}.detective-world .hint-button:focus-visible{outline:4px solid #226bbb;outline-offset:5px}.detective-world .bottom-note{bottom:26px;max-width:calc(100% - 135px);min-height:55px;gap:13px}.bottom-note p{font-size:13px}
.dialog-mark{background:#f4e7c9}.dialog-mark svg{width:65px;height:65px}.primary{background:#448e9d;border-color:#2c7180;box-shadow:0 4px #296775}.primary:hover{background:#327c8c}.detective-demo{display:flex;align-items:center;justify-content:center;gap:19px;margin:20px auto}.detective-demo span{display:grid;place-items:center;padding:14px;border:3px solid #f6edd8;border-radius:23px;background:#e4eee1;box-shadow:0 4px #bed5c6}.detective-demo span svg{width:79px;height:79px;--toy-color:#ef655b}.detective-demo .demo-search{width:69px;height:69px}
.detective-controls button{touch-action:manipulation;-webkit-user-select:none;user-select:none;min-inline-size:48px;min-block-size:48px}.detective-controls button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}
.detective-guide{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}.detective-guide[hidden]{display:none}.detective-guide *{pointer-events:none}.detective-guide .guide-ring{position:absolute;box-sizing:border-box;border:5px solid #fff9e6;outline:3px solid #e9a83d;border-radius:50%;width:58px;height:58px}.detective-guide img{position:absolute;width:112px;height:112px;filter:drop-shadow(0 4px 4px #675b4738);transform-origin:35.84px 9.52px}
.fallback-detective{position:absolute;inset:255px 7% 110px;display:grid;align-items:center}.fallback-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;width:100%;align-items:center}.fallback-choices button{display:grid;place-items:center;min-width:64px;min-height:100px;aspect-ratio:1;padding:17px;border:5px solid #fffbed;outline:3px solid #4fafa9;border-radius:35px;background:#dcefe6;box-shadow:0 7px #84bbae;touch-action:manipulation}.fallback-choices button svg{width:100%;height:100%;max-height:250px}.fallback-choices button.wrong{outline-color:#df9b6e;background:#fae8d7}.fallback-choices button.matched{outline:5px solid #dba331;background:#fff0bc}.fallback-choices button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}
@media(orientation:portrait){.detective-order{top:25px;width:365px;padding:14px 18px 17px}.clue-card{margin-top:15px;min-height:103px;gap:22px}.kind-clue,.color-clue{width:82px;height:82px}.kind-clue svg{width:70px;height:70px}.color-clue i{width:60px;height:60px}.detective-world .bottom-note{bottom:28px}.detective-world .hint-button{bottom:29px}.fallback-detective{inset:330px 6% 160px}.fallback-choices{gap:25px}}
@media(max-width:900px){.brand h1{font-size:14px}.brand small{font-size:8px}.progress-star{width:20px;height:20px}.round-progress{left:20px}#question{font-size:19px}}
@media(max-width:600px){body{min-height:680px}.brand h1{font-size:10px}.brand small{font-size:6px}.detective-order{top:16px;width:260px;padding:8px 10px 11px}.order-symbol{width:31px;height:32px}.detective-order .order-content{gap:8px}#question{font-size:16px}.listen{width:42px;height:42px}.clue-card{min-height:65px;gap:12px;margin-top:8px;padding:5px}.kind-clue,.color-clue{width:54px;height:54px;border-radius:12px}.kind-clue svg{width:46px;height:46px}.color-clue i{width:37px;height:37px}.clue-and{font-size:21px}.round-progress{top:185px;left:17px;flex-direction:row;align-items:center;gap:9px}#progress{display:flex;gap:3px}.progress-star{width:17px;height:17px}.detective-world .bottom-note{left:15px;bottom:24px;max-width:calc(100% - 100px);padding:8px 10px;gap:9px}.bottom-note p{font-size:11px}.detective-world .hint-button{right:20px;bottom:27px;min-width:48px;min-height:49px;border-radius:16px}.detective-world .hint-button .icon{width:26px;height:26px}.fallback-detective{inset:240px 5% 110px}.fallback-choices{gap:17px}.fallback-choices button{border-width:3px;border-radius:21px;padding:5px}}
@media(max-height:700px) and (min-width:601px){.detective-order{top:11px;padding-block:6px;width:300px}#question{font-size:17px}.order-symbol{width:33px;height:33px}.listen{width:42px;height:42px}.clue-card{min-height:65px;margin-top:8px;padding:5px}.kind-clue,.color-clue{width:54px;height:54px}.kind-clue svg{width:46px;height:46px}.color-clue i{width:37px;height:37px}.detective-world .bottom-note{bottom:19px}.detective-world .hint-button{bottom:23px;min-width:53px;min-height:53px}.fallback-detective{inset:200px 8% 90px}}
@media(forced-colors:active){.fallback-choices button{border-color:ButtonText;outline-color:ButtonText}.clue-card,.kind-clue,.color-clue{border-color:CanvasText}}
