@import url('../memory/style.css');
:root{background:#fff5e8;color:#6b715c}.brand-mark{background:#f9d3ca}.brand h1{color:#996753}.brand small{color:#b19576}
.fruit-world{background:radial-gradient(ellipse at 50% 20%,#fff4db,#e8efcb 65%,#d3e8c9);border-color:#c6d8ac}.fruit-order{min-width:0;padding:10px 14px 12px 17px;border-color:#ead1ad;border-bottom-color:#d4ae7c}.fruit-order .order-content{gap:12px}.order-symbol{width:39px;height:40px}#question{font-size:21px}.round-progress{top:28px}.progress-star{width:23px;height:23px}.listen{background:#50a78b;outline-color:#32856d;box-shadow:0 4px #32856d}
.fruit-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}.fruit-world .hint-button .icon{width:32px;height:32px}.fruit-world .hint-button:focus-visible{outline:4px solid #226bbb;outline-offset:5px}.fruit-world .bottom-note{bottom:26px;max-width:calc(100% - 135px);min-height:55px;gap:13px}.bottom-note p{font-size:13px}
.dialog-mark{background:#e8efcc}.dialog-mark svg{width:65px;height:65px}.primary{background:#42a081;border-color:#2c8065;box-shadow:0 4px #286c57}.primary:hover{background:#338c71}.fruit-demo{display:flex;align-items:center;justify-content:center;gap:17px;margin:20px auto}.fruit-demo span{display:grid;place-items:center;padding:10px 17px;border:3px solid #f5f0d9;border-radius:23px;background:#e3efe7;box-shadow:0 4px #c3d7ce}.fruit-demo span:first-child{border-color:#e7bb5c;background:#fff1c7;box-shadow:0 4px #c9aa65}.fruit-demo span svg{width:65px;height:65px}.fruit-demo .demo-match{width:29px;height:29px;color:#599b83}
.fruit-controls button,.fallback-choices button{touch-action:none;-webkit-user-select:none;user-select:none;min-inline-size:48px;min-block-size:48px}.fruit-controls button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}.fruit-controls button.dragging{cursor:grabbing}.fruit-controls [data-fruit-gap].drop-ready{outline:5px solid #ffe197;border-radius:28px;box-shadow:0 0 0 5px #d6a63c}
.fruit-guide{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}.fruit-guide[hidden]{display:none}.fruit-guide *{pointer-events:none}.fruit-guide .guide-ring{position:absolute;box-sizing:border-box;border:5px solid #fff9e6;outline:3px solid #e9a83d;border-radius:50%;width:58px;height:58px}.fruit-guide img{position:absolute;width:112px;height:112px;filter:drop-shadow(0 4px 4px #675b4738);transform-origin:35.84px 9.52px}.fruit-guide .guide-piece{position:absolute;left:0;top:0;width:98px;height:98px;filter:drop-shadow(0 6px 4px #334b4850)}.guide-piece svg{display:block;width:100%;height:100%}
.fruit-drag-ghost{display:grid;place-items:center;opacity:.94;filter:drop-shadow(0 9px 7px #33473350);will-change:transform}.fruit-drag-ghost svg{width:100%;height:100%;max-width:230px;max-height:230px}
.fallback-fruit{position:absolute;inset:125px 7% 105px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:22px}.fallback-board{position:relative;width:min(44%,360px);aspect-ratio:1;border:9px solid #fff8dc;border-radius:50%;background:#eee3c9;box-shadow:0 9px #c9b18d,0 15px 20px #997d5920}.fallback-fruit-art svg{display:block;width:100%;height:100%}.fallback-gap{position:absolute;width:40%;height:40%;transform:translate(-50%,-50%);background:transparent;border:0;border-radius:35%;padding:0;touch-action:manipulation}.fallback-gap:focus-visible,.fallback-gap.drop-ready{outline:5px solid #ce921f;outline-offset:4px}.fallback-gap:disabled{opacity:1}.fallback-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;width:min(85%,690px)}.fallback-choices button{aspect-ratio:1.12;display:grid;place-items:center;min-width:64px;min-height:64px;padding:8px;border:5px solid #fffbed;outline:3px solid #36a397;border-radius:26px;background:#dcefe6;box-shadow:0 7px #84bbae;cursor:grab}.fallback-choices button:nth-child(2){outline-color:#e2a047;background:#ffe7b2;box-shadow:0 7px #d2b478}.fallback-choices button:nth-child(3){outline-color:#dc898e;background:#f8d7d9;box-shadow:0 7px #cd9ba3}.fallback-choices button svg{width:100%;height:100%;max-height:168px}.fallback-choices button.wrong{outline-color:#df9b6e;background:#fae8d7}.fallback-choices button.matched,.fallback-choices button.selected{outline:5px solid #dba331;background:#fff0bc}.fallback-choices button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}.fallback-choices button:disabled{opacity:.7;cursor:default}.motion-setting input{accent-color:#4c9a9d}
@media(orientation:portrait){.fruit-order{top:20px}.fruit-world .bottom-note{bottom:28px}.fruit-world .hint-button{bottom:29px}.fallback-fruit{inset:180px 6% 145px;justify-content:space-around}.fallback-board{width:min(80%,490px)}.fallback-choices{width:100%;gap:25px}.fallback-choices button svg{max-height:200px}}
@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:11px}.brand small{font-size:6px}.fruit-order{top:16px;padding:8px 10px}.order-symbol{width:31px;height:32px}.fruit-order .order-content{gap:8px}#question{font-size:15px}.listen{width:42px;height:42px}.round-progress{top:99px;left:17px;flex-direction:row;align-items:center;gap:9px}#progress{display:flex;gap:3px}.progress-star{width:17px;height:17px}.fruit-world .bottom-note{left:15px;bottom:24px;max-width:calc(100% - 100px);padding:8px 10px;gap:9px}.bottom-note p{font-size:11px}.fruit-world .hint-button{right:20px;bottom:27px;min-width:48px;min-height:49px;border-radius:16px}.fruit-world .hint-button .icon{width:26px;height:26px}.fallback-fruit{inset:155px 6% 115px;gap:15px}.fallback-choices{gap:17px}.fallback-choices button{border-width:3px;border-radius:21px;padding:5px}.fruit-demo{gap:12px}}
@media(max-height:700px) and (min-width:601px){.fruit-order{top:11px;padding-block:6px}#question{font-size:17px}.order-symbol{width:33px;height:33px}.listen{width:42px;height:42px}.fruit-world .bottom-note{bottom:19px}.fruit-world .hint-button{bottom:23px;min-width:53px;min-height:53px}.fallback-fruit{inset:100px 8% 90px;gap:15px}.fallback-board{width:min(32%,240px)}.fallback-choices{width:60%}.fallback-choices button svg{max-height:120px}}
@media(forced-colors:active){.fallback-choices button{border-color:ButtonText;outline-color:ButtonText}.fallback-gap{border:4px solid Highlight}.fruit-controls button{border:2px solid ButtonText!important}}
