@import url('../memory/style.css');
:root{background:#f8f3e7;color:#5c7775}.brand-mark{background:#f3dbce}.brand small{color:#a38c71}.brand h1{color:#567877}
.partners-world{background:radial-gradient(ellipse at 50% 8%,#fff9e9,#eff0dc 65%,#d9e8de);border-color:#d1dcc4}.partners-order{min-width:0;max-width:85%;padding:12px 18px;background:#fffaf0;border-color:#d6c39e;border-bottom-color:#bda57f}.partners-order .order-content{justify-content:center;gap:17px}.order-symbol{width:40px;height:40px}#question{font-size:22px;color:#527777}.round-progress{top:28px}.progress-star{width:23px;height:23px}
.partners-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}.partners-world .hint-button .icon{width:32px;height:32px}.partners-world .hint-button:focus-visible{outline:4px solid #226bbb;outline-offset:5px}.partners-world .bottom-note{bottom:26px;max-width:calc(100% - 135px);min-height:55px;gap:13px}.bottom-note p{font-size:13px}
.dialog-mark{background:#f3dfce}.dialog-mark svg{width:65px;height:65px}.partners-demo{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px auto}.partners-demo>svg{width:82px;height:82px}.partners-demo .demo-heart{width:38px;height:38px}.primary{background:#448e9d;border-color:#2c7180;box-shadow:0 4px #296775}.primary:hover{background:#327c8c}
.partners-controls button{min-inline-size:48px;min-block-size:48px;touch-action:manipulation}.partners-controls button[data-kind="choice"]{touch-action:none;-webkit-user-select:none;user-select:none}.partners-controls button:focus-visible{outline:4px solid #1768ae;outline-offset:6px}
.fallback-partners{position:absolute;inset:150px 10% 110px;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;gap:30px}.fallback-pair{display:flex;justify-content:center;align-items:center;gap:24px;padding:20px 32px;border:5px solid #fff7e3;border-radius:35px;outline:3px solid #6db7af;background:#d0e8d9;box-shadow:0 9px #82b8ab}.fallback-main,.fallback-partner{display:grid;place-items:center;width:150px;height:150px;padding:10px;border-radius:22px;background:#fffaea}.fallback-partner{border:4px dashed #ddb45a;background:#fff1c9}.fallback-main>svg,.fallback-partner>svg{width:100%;height:100%}.fallback-pair .pair-link{width:37px;height:37px}.fallback-pair.matched{outline-color:#d6ab3f;background:#f4e4ac}.fallback-choices{display:flex;justify-content:space-evenly;gap:36px;width:100%}.fallback-choices button{display:grid;place-items:center;width:190px;height:180px;padding:22px;border:5px solid #fffbed;outline:3px solid #cb9a3f;border-radius:29px;background:#f5d18a;box-shadow:0 7px #c39a48;touch-action:manipulation}.fallback-choices button:nth-child(2){outline-color:#cf8075;background:#f2b1a0;box-shadow:0 7px #c27b71}.fallback-choices button:nth-child(3){outline-color:#498eae;background:#91cddd;box-shadow:0 7px #4f94ae}.fallback-choices button>svg{width:100%;height:100%}.fallback-choices button.hinted,.fallback-choices button.matched{outline:5px solid #dca935;box-shadow:0 7px #b99342,0 0 0 10px #fff2bc}.fallback-choices button:disabled{opacity:1}.fallback-choices button:focus-visible{outline:5px solid #1768ae;outline-offset:7px}
@media(orientation:portrait){.partners-order{top:24px}.fallback-partners{inset:175px 8% 125px;gap:50px}.fallback-pair{gap:22px;padding:28px}.fallback-main,.fallback-partner{width:170px;height:185px}.fallback-choices{gap:28px}.fallback-choices button{width:200px;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:760px}.brand h1{font-size:11px}.partners-order{top:16px;padding:9px 12px;max-width:90%}.order-symbol{width:29px;height:30px}.partners-order .order-content{gap:9px}#question{font-size:17px}.listen{width:43px;height:43px}.round-progress{top:106px;left:17px;flex-direction:row;align-items:center;gap:9px}#progress{display:flex;gap:3px}.progress-star{width:17px;height:17px}.partners-world .bottom-note{left:15px;bottom:24px;max-width:calc(100% - 100px);padding:8px 10px;gap:9px}.bottom-note p{font-size:11px}.partners-world .hint-button{right:20px;bottom:27px;width:48px;height:49px;border-radius:16px}.partners-world .hint-button .icon{width:26px;height:26px}.fallback-partners{inset:175px 6% 105px;gap:30px}.fallback-pair{padding:15px;gap:13px;border-radius:23px}.fallback-main,.fallback-partner{width:90px;height:115px;padding:8px;border-radius:15px}.fallback-pair .pair-link{width:25px;height:25px}.fallback-choices{gap:16px}.fallback-choices button{width:95px;height:120px;padding:12px;border-width:3px;border-radius:19px}.partners-demo>svg{width:71px;height:71px}}
@media(max-height:700px) and (min-width:601px){.partners-order{top:11px;padding-block:6px}#question{font-size:18px}.order-symbol{width:33px;height:33px}.listen{width:43px;height:43px}.partners-world .bottom-note{bottom:19px}.partners-world .hint-button{bottom:23px;width:53px;height:53px}.fallback-partners{inset:120px 10% 95px;gap:20px}.fallback-main,.fallback-partner{width:105px;height:110px}.fallback-pair{padding:13px 24px;gap:20px}.fallback-choices button{width:150px;height:130px;padding:16px}}
@media(forced-colors:active){.fallback-pair,.fallback-partner{border-color:CanvasText}.fallback-choices button{border-color:ButtonText;outline-color:ButtonText}}
