@import url('../memory/style.css');
:root{background:#f8f3e7;color:#5c7775}.brand-mark{background:#f4dcc6}.brand small{color:#a38c71}.brand h1{color:#567877}
.packing-world{background:radial-gradient(ellipse at 50% 8%,#fff9e9,#eff0dc 65%,#d9e8de);border-color:#d1dcc4}.packing-order{min-width:0;width:430px;max-width:85%;padding:9px 15px 12px;background:#fffaf0;border-color:#d6c39e;border-bottom-color:#bda57f}.packing-order .order-content{justify-content:center;gap:13px}.order-symbol{width:38px;height:40px}#question{font-size:21px;color:#527777}.round-progress{top:28px}.progress-star{width:23px;height:23px}
#packing-list{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:10px}.list-item{position:relative;display:grid;place-items:center;width:78px;height:76px;padding:7px;border:2px dashed #d3bda0;border-radius:17px;background:#f6f0e1}.list-item>svg{width:61px;height:61px}.list-item.done{border-style:solid;border-color:#79bda4;background:#e6f1df}.list-check{position:absolute;right:-7px;bottom:-7px;display:none;place-items:center;width:28px;height:28px;background:#369d77;color:#fffef1;border:3px solid #fffaf0;border-radius:50%;box-shadow:0 2px #bdd9ba}.list-check svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.done .list-check{display:grid}
.packing-world .hint-button{position:absolute;top:auto;right:26px;bottom:26px;display:grid;place-items:center;width:62px;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}.packing-world .hint-button .icon{width:32px;height:32px}.packing-world .hint-button:focus-visible{outline:4px solid #226bbb;outline-offset:5px}.packing-world .bottom-note{bottom:26px;max-width:calc(100% - 135px);min-height:55px;gap:13px}.bottom-note p{font-size:13px}
.dialog-mark{background:#f3dfc8}.dialog-mark svg{width:65px;height:65px}.packing-demo{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px auto}.packing-demo>svg{width:82px;height:82px}.packing-demo .demo-arrow{width:32px;height:32px;color:#7baba5}.packing-demo .demo-case{width:101px;height:101px}.primary{background:#448e9d;border-color:#2c7180;box-shadow:0 4px #296775}.primary:hover{background:#327c8c}
.packing-controls button{min-inline-size:48px;min-block-size:48px;touch-action:manipulation}.packing-controls button[data-kind="item"]{touch-action:none;-webkit-user-select:none;user-select:none}.packing-controls button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}
.fallback-packing{position:absolute;inset:235px 5% 115px;display:grid;grid-template-columns:1.2fr 1fr;gap:6%;align-items:center}.fallback-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.fallback-items button{display:grid;place-items:center;aspect-ratio:1;min-width:64px;min-height:76px;padding:13px;border:4px solid #fffbed;outline:3px solid #4da5a6;border-radius:25px;background:#b6dfd0;box-shadow:0 6px #71b6aa;touch-action:manipulation}.fallback-items button[hidden]{display:grid;visibility:hidden;pointer-events:none}.fallback-items button svg{width:100%;height:100%;max-height:124px}.fallback-items button.hinted{outline:5px solid #dda636;background:#fff1bd}.fallback-case{position:relative;padding:9px;border:5px solid #fff4de;border-radius:28px;background:#e49b87;box-shadow:0 8px #bb7969,0 0 0 3px #c28372}.case-handle{position:absolute;top:-24px;left:35%;width:30%;height:32px;border:8px solid #a6835a;border-bottom:0;border-radius:16px;z-index:-1}.case-lid{height:91px;border:3px solid #f8e5cb;border-radius:17px 17px 9px 9px;background:#f3d5b1;display:grid;place-items:center;margin-bottom:10px}.case-lid svg{width:57px;height:57px;opacity:.8}.case-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,100px);gap:9px;padding:8px;border:3px solid #fff1d9;border-radius:15px;background:#5ca7a0}.case-slots button,.case-slots .empty-slot{display:grid;place-items:center;min-width:55px;min-height:64px;padding:9px;border:3px solid #d9ebd3;border-radius:12px;background:#8dc9bb}.case-slots button>svg{width:100%;height:100%;max-height:82px}.case-slots button.empty>svg{visibility:hidden}.case-slots button:disabled{opacity:1}.case-slots button:not(:disabled){outline:2px solid #fff9e8}.fallback-items button:focus-visible,.case-slots button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}
@media(orientation:portrait){.packing-order{top:25px;width:450px;padding:12px 18px 15px}#packing-list{gap:16px;margin-top:12px}.list-item{width:86px;height:88px}.list-item>svg{width:70px;height:70px}.packing-world .bottom-note{bottom:28px}.packing-world .hint-button{bottom:29px}.fallback-packing{inset:280px 12% 115px;display:flex;flex-direction:column;justify-content:center;gap:38px}.fallback-case{order:0;width:75%;max-width:410px}.case-lid{height:55px}.case-lid svg{width:43px;height:43px}.case-slots{grid-template-rows:repeat(2,85px)}.fallback-items{order:1;width:100%;gap:22px}.fallback-items button{padding:15px;max-height:145px;aspect-ratio:1.15}}
@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:760px}.brand h1{font-size:10px}.packing-order{top:16px;width:318px;padding:8px 11px 12px;max-width:90%}.order-symbol{width:31px;height:32px}.packing-order .order-content{gap:8px}#question{font-size:16px}.listen{width:42px;height:42px}#packing-list{gap:10px;margin-top:10px}.list-item{width:59px;height:61px;padding:5px;border-radius:12px}.list-item>svg{width:47px;height:47px}.list-check{width:23px;height:23px;border-width:2px;right:-5px;bottom:-6px}.list-check svg{width:18px;height:18px}.round-progress{top:175px;left:17px;flex-direction:row;align-items:center;gap:9px}#progress{display:flex;gap:3px}.progress-star{width:17px;height:17px}.packing-world .bottom-note{left:15px;bottom:24px;max-width:calc(100% - 100px);padding:8px 10px;gap:9px}.bottom-note p{font-size:11px}.packing-world .hint-button{right:20px;bottom:27px;width:48px;height:49px;border-radius:16px}.packing-world .hint-button .icon{width:26px;height:26px}.fallback-packing{inset:235px 7% 105px;gap:23px}.fallback-case{width:75%;padding:5px;border-radius:19px}.case-lid{height:37px;margin-bottom:5px}.case-lid svg{width:28px;height:28px}.case-slots{grid-template-rows:repeat(2,54px);padding:4px;gap:5px}.case-slots button,.case-slots .empty-slot{min-width:40px;min-height:48px;padding:5px;border-width:2px}.fallback-items{gap:15px}.fallback-items button{min-width:50px;min-height:55px;border-width:3px;border-radius:18px;padding:7px}.packing-demo>svg{width:71px;height:71px}.packing-demo .demo-case{width:85px;height:85px}}
@media(max-height:700px) and (min-width:601px){.packing-order{top:11px;padding-block:6px;width:370px}#question{font-size:17px}.order-symbol{width:33px;height:33px}.listen{width:42px;height:42px}#packing-list{margin-top:8px;gap:12px}.list-item{width:65px;height:62px}.list-item>svg{width:48px;height:48px}.packing-world .bottom-note{bottom:19px}.packing-world .hint-button{bottom:23px;width:53px;height:53px}.fallback-packing{inset:195px 6% 100px}.fallback-items{gap:15px}.fallback-items button{padding:7px}.case-lid{height:43px}.case-lid svg{width:35px;height:35px}.case-slots{grid-template-rows:repeat(2,65px);gap:5px;padding:5px}}
@media(forced-colors:active){.list-item,.list-check{border-color:CanvasText}.fallback-items button,.case-slots button{border-color:ButtonText;outline-color:ButtonText}}
