:root{font-family:ui-rounded,'Trebuchet MS',Arial,sans-serif;color:#35204f;background:#f8f4ff;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 4% 3%,#e6d5fb,transparent 50%),radial-gradient(ellipse at 98% 70%,#d9f7f1,transparent 48%),#faf7ff}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-weight:800;cursor:pointer;touch-action:manipulation;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:4px solid #e3a624;outline-offset:5px}a{color:inherit;text-decoration:none}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 4vw}.back,.tools button{background:#fffa;border:1px solid #e2d4ee;border-radius:14px;min-height:46px}.back{padding:13px 17px;font-weight:800}.brand{font-weight:900;letter-spacing:.02em}.brand::first-letter{color:#dfac39}.tools{display:flex;gap:7px}.tools button{width:46px;font-size:23px}.tools button[aria-pressed=false]{color:#9b88aa}main{width:min(1180px,94vw);margin:12px auto 30px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.17em;color:#88679b}.setup{text-align:center;max-width:900px;margin:auto}h1{font-size:clamp(38px,5.6vw,70px);letter-spacing:-.055em;line-height:1.06;margin:15px 0;color:#59318d}h1 span{color:#b78c33}.intro{font-size:18px;line-height:1.6;color:#7c668f}.setup-preview{display:flex;align-items:center;justify-content:center;gap:38px;margin:24px auto}.preview-people,.preview-places{display:flex;flex-direction:column;justify-content:center;align-items:center;width:140px;height:136px;border:2px dashed #9d77c2;border-radius:26px;background:#eee2ff;font-size:52px;color:#7a4faa}.preview-places{background:#d9f1e9;border-color:#7bb5a4;color:#4b9a82}.setup-preview small{font-size:11px;font-weight:900;letter-spacing:.12em}.preview-card{transform:rotate(-6deg);width:142px;padding:10px;background:white;border:1px solid #e5d5ef;border-radius:20px;box-shadow:0 8px 0 #d8c6e8,0 15px 30px #6a3b7c16}.preview-card img{width:100%;height:120px;object-fit:contain;display:block;border-radius:12px}.preview-card b{display:block;padding:12px 0 6px}.choose-label{font-size:13px;font-weight:800;color:#836993;margin:30px 0 14px}.year-picker{display:flex;justify-content:center;gap:18px}.year{width:265px;background:#fff;border:2px solid #dfd0ed;border-radius:22px;text-align:left;padding:20px 24px;box-shadow:0 6px 0 #ded1e9;transition:transform .15s}.year:hover{transform:translateY(-3px);border-color:#9b73bf}.year b{display:flex;justify-content:space-between;font-size:26px;color:#654194}.year b span{color:#be963f}.year small{display:block;color:#715d85;font-size:13px;margin:10px 0}.year>span{font-size:12px;color:#9b81ae}.how{font-size:13px;line-height:1.8;color:#8d769e;margin-top:25px}.play{position:relative;background:#fffc;border:2px solid #e4d6ee;border-radius:30px;padding:20px 28px 18px;box-shadow:0 9px 0 #e0d4eb;overflow:hidden}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.soft,.primary{padding:12px 18px;min-height:46px;border-radius:14px;border:1px solid #dacbe7;background:#f0e8f8}.soft:hover{background:#e9dcf4}.primary{background:#7547ac;border-color:#6e3c9f;color:white;box-shadow:0 4px 0 #502674}.game-toolbar>span:not(.score){font-weight:800;color:#846593;font-size:13px}.score{display:flex;align-items:center;gap:7px;color:#7f5a23;background:#fff2cc;border:1px solid #e8d39b;padding:9px 13px;border-radius:15px}.score b{font-size:27px}.score small{font-size:10px}.progress-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;color:#8c73a0;margin:18px 0 9px}#streak{color:#a97a22}progress{width:100%;height:8px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#ece2f4;display:block}progress::-webkit-progress-bar{background:#ece2f4}progress::-webkit-progress-value{background:linear-gradient(90deg,#a17ace,#65bfa9);border-radius:20px}progress::-moz-progress-bar{background:#8bbeb0}.guide{display:flex;align-items:center;justify-content:center;gap:17px;margin:18px auto 12px}.guide>img{height:90px;width:90px;object-fit:contain;border-radius:50%;background:#eee2fb;border:3px solid #fff;box-shadow:0 3px 0 #d6c3e7}.speech{text-align:left}.speech small{font-size:9px;font-weight:900;letter-spacing:.16em;color:#a78bb8}.speech h2{font-size:clamp(24px,3.2vw,40px);letter-spacing:-.04em;color:#684192;margin:3px 0}.speech p{margin:3px 0;color:#9176a3;font-size:13px}.sorting-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,1.1fr) minmax(0,1fr);align-items:center;gap:34px;max-width:1010px;margin:15px auto 0}.destination{position:relative;border:3px dashed #b799cf;background:repeating-linear-gradient(135deg,#eee2fa,#eee2fa 12px,#f4eafa 12px,#f4eafa 24px);border-radius:28px;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:transform .18s,background .18s,box-shadow .18s;box-shadow:0 7px 0 #d9c9e6}.destination.places{border-color:#8bbdac;background:repeating-linear-gradient(135deg,#def3eb,#def3eb 12px,#eaf7f0 12px,#eaf7f0 24px);box-shadow:0 7px 0 #c7e4d6}.destination-icon{width:94px;height:74px;color:#9565b3}.destination-icon svg{width:100%;height:100%;fill:currentColor}.places .destination-icon{color:#5b9e8b}.destination-icon .cutout{fill:#e7f5ee}.destination strong{font-size:clamp(24px,2.8vw,36px);color:#785095;letter-spacing:-.02em;margin:6px 0}.places strong{color:#468c78}.destination-note{font-size:12px;letter-spacing:.08em;font-weight:700;color:#9578a5}.places .destination-note{color:#71a291}.counter{display:grid;place-items:center;min-width:33px;height:33px;padding:0 7px;border-radius:50%;background:#fff9;margin-top:12px;color:#805c99;font-size:14px}.places .counter{color:#5b9581}.key-hint{position:absolute;bottom:16px;right:18px;font-size:20px;color:#ac95bc}.destination:not(:disabled):hover,.destination.drop-over{transform:translateY(-5px);box-shadow:0 11px 0 #d5c0e4;border-style:solid}.destination.places:not(:disabled):hover,.destination.places.drop-over{box-shadow:0 11px 0 #bdddce}.destination.accept{transform:scale(1.04);border-style:solid}.card-slot{text-align:center;min-width:0;position:relative}.picture-card{display:block;width:100%;padding:14px;background:#fff;border:2px solid #e4d9eb;border-radius:24px;box-shadow:0 8px 0 #d6c4e3,0 18px 34px #59317c12;position:relative;z-index:2;touch-action:none;user-select:none;transition:opacity .25s,transform .25s;will-change:transform}.picture{display:block;width:100%;aspect-ratio:1;position:relative;overflow:hidden;border-radius:14px;background:#faf8fc}.picture img{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}.picture .sprite{display:block;width:100%;height:100%;background-size:400% 400%;background-repeat:no-repeat}.word-line{display:flex;align-items:center;justify-content:center;gap:8px;padding:17px 3px 5px}.word-line strong{font-size:clamp(18px,2.5vw,28px);line-height:1.15;overflow-wrap:anywhere;max-width:100%}.listen-mark{font-size:17px;color:#ad94bd}.card-hint{font-size:9px;font-weight:800;letter-spacing:.1em;color:#b4a1c0;margin-top:18px}.picture-card.is-dragging{transition:none;cursor:grabbing;box-shadow:0 20px 55px #4f286040}.picture-card.exit-people{transform:translateX(-85%) rotate(-15deg) scale(.5);opacity:0}.picture-card.exit-places{transform:translateX(85%) rotate(15deg) scale(.5);opacity:0}.picture-card.enter{animation:card-in .35s ease-out}.picture-card.wrong{animation:wiggle .38s}.feedback{text-align:center;min-height:30px;color:#916fa7;font-weight:800;font-size:17px;margin:16px 0 3px}.feedback.good{color:#468c78}.feedback.bad{color:#ae6186}#loading{font-size:13px;color:#8b6d9d}.celebration{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);padding:15px 28px;background:#ffefb9;color:#94691c;box-shadow:0 5px 0 #dab85b;border:2px solid white;border-radius:18px;font-size:22px;font-weight:900;z-index:5;pointer-events:none;opacity:0;white-space:nowrap}.celebration.pop{animation:combo .9s ease both}.result{text-align:center;max-width:950px;margin:auto;background:#fffc;border:2px solid #e5d6ee;border-radius:28px;padding:24px;box-shadow:0 8px 0 #e1d4eb}.result h1{font-size:clamp(31px,4.5vw,54px)}.result-star{font-size:60px;color:#dcaf46;line-height:1}.result>p:not(.eyebrow){color:#856696;font-size:14px;line-height:1.6}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:23px 0}.result-stats>div{background:#f0e6f8;border-radius:18px;padding:17px}.result-stats b{display:block;font-size:32px;color:#6c4891}.result-stats span{font-size:12px;color:#9b7cae}.result-groups{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:left;margin:25px 0}.result-groups h2{font-size:20px;color:#8860a3}.result-groups>section+section h2{color:#569b87}.review{display:flex;flex-wrap:wrap;gap:7px}.review-item{background:#f2e9fa;border-radius:10px;padding:8px 10px;font-weight:700;font-size:12px}.result-groups>section+section .review-item{background:#e4f4ec}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}footer{text-align:center;color:#a48cb4;font-size:11px;font-weight:700;line-height:1.9;padding:12px 15px 18px}footer span{display:block;font-size:10px}@keyframes card-in{from{opacity:0;transform:translateY(22px) rotate(3deg)}to{opacity:1;transform:none}}@keyframes wiggle{20%,60%{transform:translateX(-8px)}40%,80%{transform:translateX(8px)}}@keyframes combo{0%{opacity:0;transform:translate(-50%,-50%) scale(.7)}20%,70%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-85%) scale(.9)}}
@media(min-width:1500px){.sorting-stage{gap:55px}.destination{min-height:285px}.guide{margin-top:25px}}
@media(min-width:701px) and (max-height:800px){.topbar{padding-top:10px;padding-bottom:10px}main{margin-top:2px}.play{padding:13px 22px}.guide{margin:9px auto}.guide>img{width:60px;height:60px}.speech h2{font-size:28px}.progress-line{margin-top:11px}.sorting-stage{grid-template-columns:1fr minmax(170px,230px) 1fr;gap:28px}.destination{min-height:210px}.picture-card{padding:10px}.word-line{padding-top:10px}.card-hint{margin-top:12px}.feedback{margin-top:9px}.setup-preview{margin:15px auto}.intro{margin:10px}.preview-card img{height:90px}.preview-people,.preview-places{height:110px}.choose-label{margin-top:20px}}
@media(max-width:700px){.brand{display:none}.topbar{gap:8px;padding:12px 3vw}.tools{gap:5px}.tools button{width:44px;min-height:44px;font-size:21px}.back{padding:12px;font-size:12px;min-height:44px}main{width:94vw;margin:5px auto 20px}.play{padding:13px 12px;border-radius:23px}.game-toolbar{flex-wrap:wrap;gap:8px}.game-toolbar>span:not(.score){font-size:11px;order:3;width:100%;text-align:center}.game-toolbar .soft{font-size:11px;padding:10px 13px}.score{padding:6px 10px}.score b{font-size:23px}.progress-line{font-size:10px;margin-top:10px}.guide{gap:11px;margin:13px auto 10px}.guide>img{width:58px;height:58px}.speech h2{font-size:27px}.speech p{font-size:10px}.speech small{font-size:8px}.sorting-stage{grid-template-columns:1fr 1fr;gap:16px 12px;margin-top:10px}.card-slot{grid-column:1/-1;grid-row:1;width:clamp(150px,47vw,220px);margin:auto}.destination{grid-row:2;min-height:135px;border-radius:20px;padding:10px 8px}.destination strong{font-size:22px;margin:3px 0}.destination-icon{width:55px;height:40px}.destination-note{display:none}.counter{margin-top:5px;height:25px;min-width:25px;font-size:12px}.key-hint{display:none}.picture-card{padding:10px;border-radius:19px}.word-line{padding:10px 0 3px}.word-line strong{font-size:18px}.card-hint{font-size:8px;margin:12px 0 0}.feedback{font-size:13px;margin-top:15px;min-height:36px;line-height:1.45}.setup-preview{gap:14px}.preview-people,.preview-places{width:85px;height:100px;border-radius:19px;font-size:38px}.preview-card{width:108px;padding:7px;border-radius:14px}.preview-card img{height:95px}.preview-card b{font-size:12px}.year-picker{gap:12px}.year{padding:16px 14px;width:46%}.year b{font-size:24px}.year small{font-size:11px}.year>span{font-size:10px}.intro{font-size:16px}.how{font-size:11px}.result{padding:20px 13px}.result-stats{gap:8px}.result-stats>div{padding:14px 5px}.result-stats b{font-size:27px}.result-stats span{font-size:10px}.result-groups{gap:13px}.review-item{font-size:11px}.celebration{font-size:18px;padding:13px 17px}}
@media(max-width:370px){.tools button{width:42px}.topbar{gap:5px}.back{padding:11px 8px}.setup-preview{gap:8px}.preview-people,.preview-places{width:70px}.speech h2{font-size:23px}.sorting-stage{gap:14px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.celebration.pop{opacity:1}}
