.abilumi-5plus-stage{background:#eef7ff;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:#23364a;user-select:none;-webkit-user-select:none}
.a5-root{position:absolute;inset:0;overflow:hidden;background:#dff3ff}
.a5-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.a5-dim{position:absolute;inset:0;z-index:1;background:rgba(18,39,62,.2)}
.a5-prompt{position:absolute;z-index:50;top:22px;left:50%;transform:translateX(-50%);min-width:420px;max-width:760px;padding:13px 28px;border:4px solid rgba(255,255,255,.95);border-radius:25px;background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(0,0,0,.16);text-align:center;font-size:28px;font-weight:900;line-height:1.25}
.a5-progress{position:absolute;z-index:51;right:28px;top:27px;padding:10px 18px;border-radius:20px;background:rgba(38,114,190,.94);color:#fff;font-size:20px;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.a5-stage-card{position:absolute;z-index:10;border:5px solid rgba(255,255,255,.95);border-radius:30px;background:rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(0,0,0,.16)}
.a5-picture{position:absolute;z-index:15;left:385px;top:128px;width:350px;height:320px;display:grid;place-items:center;border-radius:30px;background:rgba(255,255,255,.88);box-shadow:0 8px 25px rgba(0,0,0,.17)}.a5-picture img{max-width:88%;max-height:88%;object-fit:contain;filter:drop-shadow(0 7px 5px rgba(0,0,0,.16))}
.a5-choices{position:absolute;z-index:30;left:120px;right:120px;bottom:55px;display:grid;grid-template-columns:repeat(var(--count,3),1fr);gap:18px}.a5-choice{min-height:86px;border:4px solid #fff;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 5px 14px rgba(0,0,0,.15);font-size:27px;font-weight:900;cursor:pointer}.a5-choice:focus-visible,.a5-tile:focus-visible,.a5-card:focus-visible,.a5-action:focus-visible{outline:6px solid #ffd84f;outline-offset:2px}
.a5-choice.is-correct,.a5-tile.is-correct{animation:a5Glow .55s ease}.a5-choice.is-wrong,.a5-tile.is-wrong{animation:a5Shake .38s ease}@keyframes a5Glow{50%{transform:scale(1.08);filter:drop-shadow(0 0 16px #ffe14d)}}@keyframes a5Shake{25%{transform:translateX(-11px)}50%{transform:translateX(11px)}75%{transform:translateX(-6px)}}
.a5-grid{position:absolute;z-index:20;left:105px;right:105px;top:130px;bottom:80px;display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:20px;align-items:stretch}.a5-tile{position:relative;border:4px solid #fff;border-radius:25px;background:rgba(255,255,255,.92);box-shadow:0 6px 15px rgba(0,0,0,.15);display:grid;place-items:center;overflow:hidden;cursor:pointer;font-size:64px;font-weight:1000}.a5-tile img{position:absolute;inset:9px;width:calc(100% - 18px);height:calc(100% - 18px);object-fit:contain;z-index:0;pointer-events:none}.a5-tile span,.a5-tile strong{position:relative;z-index:2}.a5-tile .a5-letter{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.8);text-shadow:0 2px 0 #fff}
.a5-score-lights{position:absolute;z-index:15;left:60px;top:115px;width:95px;display:grid;gap:12px}.a5-light{width:65px;height:65px;object-fit:contain;opacity:.35;filter:grayscale(1)}.a5-light.on{opacity:1;filter:none;animation:a5Glow .5s ease}
.a5-pair-top,.a5-pair-bottom{position:absolute;z-index:15;left:75px;right:75px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.a5-pair-top{top:118px;height:185px}.a5-pair-bottom{bottom:50px;height:185px}.a5-match-target,.a5-drag-card{position:relative;border:4px solid #fff;border-radius:24px;background:rgba(255,255,255,.9);box-shadow:0 6px 15px rgba(0,0,0,.14);display:grid;place-items:center;font-size:50px;font-weight:1000}.a5-match-target img,.a5-drag-card img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;z-index:0;pointer-events:none}.a5-match-target span,.a5-drag-card span{position:relative;z-index:2;background:rgba(255,255,255,.82);padding:6px 14px;border-radius:18px}.a5-drag-card{cursor:grab;touch-action:none}.a5-drag-card.dragging{z-index:200;cursor:grabbing;transform:scale(1.06)}.a5-drag-card.selected{outline:7px solid #ffd84f}.a5-match-target.filled{border-color:#ffd84f;background:#fffbe1}.a5-drag-card.placed{visibility:hidden}
.a5-count-area{position:absolute;z-index:10;left:120px;right:120px;top:125px;height:365px;border-radius:34px;background:rgba(255,255,255,.82);box-shadow:0 8px 22px rgba(0,0,0,.13);display:flex;justify-content:center;align-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding:28px}.a5-count-item{width:92px;height:92px;object-fit:contain;filter:drop-shadow(0 5px 4px rgba(0,0,0,.13))}.a5-count-area.compact .a5-count-item{width:68px;height:68px}
.a5-odd-row{position:absolute;z-index:20;left:70px;right:70px;top:190px;height:280px;display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.a5-odd-item{border:4px solid #fff;border-radius:25px;background:rgba(255,255,255,.94);box-shadow:0 6px 16px rgba(0,0,0,.15);display:grid;place-items:center;font-size:70px;font-weight:1000;cursor:pointer;overflow:hidden}.a5-odd-item img{width:88%;height:88%;object-fit:contain}.a5-odd-item span{background:rgba(255,255,255,.84);padding:7px 13px;border-radius:16px}
.a5-train-row{position:absolute;z-index:20;left:70px;right:70px;top:190px;height:260px;display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.a5-train-car{position:relative;display:grid;place-items:center;cursor:pointer}.a5-train-car img{position:absolute;width:100%;height:100%;object-fit:contain}.a5-train-car span{position:relative;z-index:3;width:88px;height:70px;display:grid;place-items:center;border-radius:16px;background:rgba(255,255,255,.9);font-size:47px;font-weight:1000}
.a5-sort-zones{position:absolute;z-index:15;left:55px;right:55px;top:105px;height:175px;display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.a5-sort-zone{position:relative;border:5px dashed rgba(255,255,255,.95);border-radius:25px;background:rgba(255,255,255,.73);box-shadow:0 5px 15px rgba(0,0,0,.13);display:grid;place-items:center;font-size:25px;font-weight:900;cursor:pointer}.a5-sort-zone strong{padding:7px 18px;border-radius:18px;background:rgba(255,255,255,.9)}.a5-sort-items{position:absolute;z-index:25;left:45px;right:45px;bottom:35px;height:330px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:10px}.a5-sort-item{position:relative;width:125px;height:125px;display:grid;place-items:center;cursor:grab;touch-action:none}.a5-sort-item img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px rgba(0,0,0,.16));pointer-events:none}.a5-sort-item.selected{outline:6px solid #ffd84f;border-radius:22px}.a5-sort-item.dragging{z-index:250;transform:scale(1.08)}.a5-sort-item.placed{visibility:hidden}
.a5-math-board{position:absolute;z-index:18;left:255px;right:255px;top:110px;height:120px;display:grid;place-items:center;border-radius:28px;background:rgba(255,255,255,.95);box-shadow:0 6px 17px rgba(0,0,0,.15);font-size:55px;font-weight:1000}.a5-math-visual{position:absolute;z-index:14;left:75px;right:75px;top:238px;height:285px;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:10px 16px}.a5-group{min-width:92px;min-height:100px;max-width:155px;padding:8px;border-radius:24px;background:rgba(255,255,255,.82);box-shadow:0 5px 14px rgba(0,0,0,.12);display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:2px}.a5-group img{width:36px;height:36px;object-fit:contain}.a5-operator{font-size:62px;font-weight:1000;background:rgba(255,255,255,.88);border-radius:20px;padding:8px 15px}.a5-plate{position:relative;width:180px;height:170px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;padding:35px 24px 25px}.a5-plate>.plate-img{position:absolute;inset:10px;width:160px;height:150px;object-fit:contain;z-index:0}.a5-plate>.food-img{position:relative;z-index:2;width:44px;height:44px;object-fit:contain}
.a5-counter-panel{position:absolute;z-index:15;left:100px;right:100px;top:125px;height:390px;border-radius:32px;background:rgba(255,255,255,.78);display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:8px;padding:25px}.a5-counter-panel img{width:86px;height:86px;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(0,0,0,.14))}.a5-counter-panel.people img{width:95px;height:125px}
.a5-collect-zone{position:absolute;z-index:20;right:70px;top:175px;width:290px;height:285px;border:5px dashed #fff;border-radius:30px;background:rgba(255,255,255,.77);display:grid;place-items:center;font-size:27px;font-weight:900;cursor:pointer}.a5-collect-zone img{position:absolute;width:92%;height:92%;object-fit:contain;opacity:.55}.a5-collect-zone span{z-index:2;background:rgba(255,255,255,.92);padding:9px 16px;border-radius:18px}.a5-collect-items{position:absolute;z-index:30;left:55px;top:140px;width:670px;height:410px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:6px}.a5-collect-item{width:105px;height:105px;object-fit:contain;cursor:grab;touch-action:none;filter:drop-shadow(0 5px 4px rgba(0,0,0,.15))}.a5-collect-item.selected{outline:6px solid #ffd84f;border-radius:22px}.a5-collect-item.used{opacity:.22;pointer-events:none}
.a5-memory{position:absolute;z-index:20;left:130px;right:130px;top:115px;bottom:45px;display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:15px}.a5-card{position:relative;border:4px solid #fff;border-radius:23px;background:#fff;box-shadow:0 6px 15px rgba(0,0,0,.15);cursor:pointer;overflow:hidden;transform-style:preserve-3d}.a5-card .back,.a5-card .face{position:absolute;inset:0;display:grid;place-items:center;backface-visibility:hidden}.a5-card .back img{width:100%;height:100%;object-fit:contain}.a5-card .face{transform:rotateY(180deg);background:rgba(255,255,255,.96);font-size:38px;font-weight:1000;padding:10px;text-align:center}.a5-card.open{transform:rotateY(180deg);transition:transform .35s ease}.a5-card.matched{transform:rotateY(180deg);opacity:.58;pointer-events:none}
.a5-writing-board{position:absolute;z-index:15;left:105px;top:120px;width:650px;height:500px;border-radius:30px;background:rgba(255,255,255,.9);box-shadow:0 7px 20px rgba(0,0,0,.16);display:grid;place-items:center}.a5-writing-board canvas{width:560px;height:410px;background:rgba(255,255,255,.72);border:5px solid #d2a45b;border-radius:16px;touch-action:none;cursor:crosshair}.a5-writing-side{position:absolute;z-index:18;right:70px;top:130px;width:270px;height:470px;border-radius:28px;background:rgba(255,255,255,.9);box-shadow:0 6px 18px rgba(0,0,0,.15);padding:22px;text-align:center}.a5-writing-reading{font-size:25px;font-weight:900}.a5-model{margin:18px auto;width:190px;height:190px;display:grid;place-items:center;border:4px dashed #b58b54;border-radius:22px;background:#fffdf4;font-size:105px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:800}.a5-model.hidden{color:transparent}.a5-action-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.a5-action{min-width:105px;min-height:52px;border:0;border-radius:17px;background:#248bd1;color:#fff;font-size:18px;font-weight:900;cursor:pointer}.a5-action.secondary{background:#f4b23b;color:#3c2a15}.a5-action.good{background:#42b95d}
.a5-complete{position:absolute;z-index:500;inset:0;background:rgba(17,38,58,.48);display:grid;place-items:center}.a5-complete-card{width:620px;padding:35px;border-radius:35px;background:#fff;text-align:center;box-shadow:0 18px 55px rgba(0,0,0,.3)}.a5-complete-card img{width:135px;height:135px;object-fit:contain}.a5-complete-card h2{margin:0;font-size:43px;color:#f25368}.a5-complete-card p{font-size:26px;font-weight:900}.a5-complete-actions{display:flex;gap:20px;justify-content:center}.a5-complete-actions button{min-width:190px;height:68px;border:0;border-radius:22px;font-size:23px;font-weight:900;cursor:pointer}.a5-retry{background:#ffe064}.a5-exit{background:#f15c76;color:#fff}.a5-sparkles{position:absolute;z-index:490;inset:0;pointer-events:none}.a5-sparkles i{position:absolute;font-style:normal;font-size:36px;animation:a5Spark 1.3s ease forwards}@keyframes a5Spark{0%{opacity:0;transform:scale(.2)}35%{opacity:1}100%{opacity:0;transform:scale(1.5) rotate(150deg) translateY(-45px)}}
.a5-toast{position:absolute;z-index:300;left:50%;top:86px;transform:translateX(-50%);padding:10px 22px;border-radius:18px;background:rgba(255,255,255,.96);font-size:21px;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.15)}
.a5-hidden{display:none!important}
@media (prefers-reduced-motion:reduce){.a5-root *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.a5-empty-count{
  min-width:280px;
  padding:24px 38px;
  border-radius:26px;
  background:rgba(255,255,255,.92);
  font-size:34px;
  font-weight:1000;
  text-align:center;
}

/* === QUALITY 100 PASS 1 === */
.a5-root{transition:opacity .28s ease,transform .28s ease}.a5-root.a5-enter{opacity:0;transform:scale(.985)}
.a5-prompt,.a5-progress{box-shadow:0 7px 22px rgba(30,70,95,.17);backdrop-filter:blur(5px)}
.a5-feedback-label{position:absolute;z-index:480;left:50%;top:126px;transform:translateX(-50%);padding:9px 24px;border-radius:999px;background:#fff;font-size:25px;font-weight:1000;box-shadow:0 8px 25px rgba(0,0,0,.18);animation:a5Feedback .7s ease forwards;pointer-events:none}
.a5-feedback-label.ok{color:#248d52;border:4px solid #75d99a}.a5-feedback-label.ng{color:#c85d64;border:4px solid #ffc0c3}
@keyframes a5Feedback{0%{opacity:0;transform:translate(-50%,12px) scale(.86)}25%{opacity:1;transform:translate(-50%,0) scale(1.04)}100%{opacity:0;transform:translate(-50%,-12px) scale(.98)}}
.a5-complete{backdrop-filter:blur(4px)}.a5-complete-card{animation:a5ClearCard .45s cubic-bezier(.2,.9,.25,1.2);border:5px solid #fff3a0}
.a5-clear-stars{font-size:38px;letter-spacing:9px;color:#ffc928;text-shadow:0 3px 0 #e69b16;margin:-5px 0 3px}
@keyframes a5ClearCard{0%{opacity:0;transform:translateY(35px) scale(.78)}100%{opacity:1;transform:none}}
.a5-choice,.a5-card,.a5-action,.a5-retry,.a5-exit{transition:transform .14s ease,filter .14s ease}.a5-choice:active,.a5-action:active,.a5-retry:active,.a5-exit:active{transform:scale(.965)}
.a5-choice:focus-visible,.a5-card:focus-visible,.a5-action:focus-visible{outline:6px solid #ffcf31;outline-offset:4px}
@media (prefers-reduced-motion:reduce){.a5-root,.a5-choice,.a5-card,.a5-complete-card{animation:none!important;transition:none!important}}

/* === QUALITY 100 PASS 2 === */
.a5-detective-case,.a5-airport-scanner{position:absolute;z-index:18;left:330px;top:128px;width:460px;height:330px;display:grid;place-items:center}
.a5-world-picture{left:55px;top:10px;width:350px;height:285px;transition:filter .35s,transform .35s}.a5-world-picture.is-hidden{filter:blur(12px) brightness(.7);transform:scale(.9)}
.a5-inspect-cover{position:absolute;z-index:40;inset:0;border:0;background:rgba(255,255,255,.16);border-radius:34px;cursor:pointer;display:grid;place-items:center}.a5-inspect-cover img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(0,0,0,.2))}.a5-inspect-cover span{position:absolute;bottom:18px;padding:9px 19px;border-radius:999px;background:#fff;font-size:22px;font-weight:1000;color:#22445c}
.a5-detective-case.is-solved,.a5-airport-scanner.is-scanned{animation:a5WorldSolved .5s ease}@keyframes a5WorldSolved{50%{transform:translateY(-8px) scale(1.025)}}
.a5-case-progress,.a5-airport-progress{position:absolute;z-index:70;right:50px;top:110px;display:flex;gap:8px}.a5-case-progress img,.a5-airport-progress img{width:46px;height:46px;object-fit:contain;filter:grayscale(1);opacity:.3;transition:.25s}.a5-airport-progress img{width:55px;height:55px}.a5-case-progress img.done,.a5-airport-progress img.done{filter:none;opacity:1;transform:translateY(-3px) scale(1.08)}
.a5-repair-world{position:absolute;z-index:15;left:55px;right:55px;top:145px;height:400px;border-radius:35px}.a5-repair-row{left:35px;right:35px;top:70px;height:250px}.a5-repair-item{position:relative;background:transparent;border:0;box-shadow:none;overflow:visible}.a5-repair-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.a5-repair-item strong{position:relative;z-index:4;font-size:66px;padding:9px 18px;border-radius:18px;background:rgba(255,255,255,.78)}.a5-repair-item.is-repaired{animation:a5Repair .72s ease}@keyframes a5Repair{45%{transform:rotate(-4deg) scale(1.08);filter:drop-shadow(0 0 18px #ffe46a)}}
.a5-repair-progress{position:absolute;z-index:50;right:50px;top:110px;display:flex;gap:8px}.a5-repair-progress img{width:44px;height:44px;object-fit:contain;filter:grayscale(1);opacity:.28;transition:.25s}.a5-repair-progress img.done{filter:none;opacity:1;transform:scale(1.1)}
.a5-color-workshop,.a5-toy-factory{position:absolute;z-index:14;inset:0}.a5-workshop-row,.a5-conveyor-row{top:190px;height:250px}.a5-workshop-item.is-painted{animation:a5Paint .7s ease}@keyframes a5Paint{40%{transform:scale(1.15) rotate(5deg);filter:drop-shadow(0 0 20px #fff46a)}}
.a5-workshop-shelf{position:absolute;right:70px;bottom:75px;height:70px;display:flex;gap:5px;align-items:flex-end}.a5-workshop-shelf img{width:58px;height:58px;object-fit:contain;animation:a5ShelfIn .35s ease}@keyframes a5ShelfIn{from{transform:translateY(20px);opacity:0}}
.a5-robot-inspector{position:absolute;z-index:18;right:35px;top:115px;width:130px;height:130px}.a5-robot-inspector img{width:100%;height:100%;object-fit:contain}.a5-robot-inspector.is-working{animation:a5Robot .7s ease}@keyframes a5Robot{50%{transform:translateY(-10px) rotate(5deg)}}
.a5-reject-crate{position:absolute;z-index:18;right:48px;bottom:55px;width:145px;height:120px;display:grid;place-items:center}.a5-reject-crate img{position:absolute;width:100%;height:100%;object-fit:contain}.a5-reject-crate span{position:relative;z-index:3;background:rgba(255,255,255,.9);padding:5px 9px;border-radius:12px;font-size:14px;font-weight:900}.a5-conveyor-item.is-rejected{animation:a5Reject .78s ease forwards}@keyframes a5Reject{to{transform:translate(300px,155px) rotate(18deg) scale(.45);opacity:.25}}
.a5-number-kanji-board{position:absolute;z-index:16;left:380px;top:155px;width:360px;height:260px;border-radius:34px;background:rgba(255,255,255,.85);display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.17)}.a5-big-number{font-size:150px;font-weight:1000;color:#2a3540}.a5-lantern-path{position:absolute;z-index:20;left:190px;right:190px;top:405px;height:95px;display:flex;justify-content:space-between;align-items:center}.a5-lantern-path img{width:80px;height:80px;object-fit:contain;filter:brightness(.72);transition:.35s}.a5-lantern-path img.lit{filter:none;transform:scale(1.12);animation:a5Lamp .6s ease}@keyframes a5Lamp{50%{filter:drop-shadow(0 0 20px #ffd949)}}
.a5-adventure-items{width:690px}.a5-adventure-zone{border-style:solid;background:rgba(255,255,255,.68);overflow:hidden}.a5-zone-count{position:absolute;z-index:4;right:14px;top:13px;min-width:68px;padding:6px 10px;border-radius:999px;background:#fff;color:#245879;font-size:20px}.a5-adventure-zone.is-complete{animation:a5ZoneComplete .75s ease}@keyframes a5ZoneComplete{50%{transform:scale(1.05);filter:drop-shadow(0 0 22px #ffe565)}}
.a5-fly-item{position:fixed;z-index:9999;pointer-events:none;object-fit:contain;transition:left .42s cubic-bezier(.2,.75,.2,1),top .42s cubic-bezier(.2,.75,.2,1),transform .42s,opacity .42s}.a5-drag-ghost{position:fixed;z-index:9999;width:90px;height:90px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 8px rgba(0,0,0,.2))}
.a5-writing-polished{background:rgba(255,255,255,.93)}.a5-writing-polished canvas{background-color:#fffef8;background-image:linear-gradient(to right,transparent 49.5%,rgba(210,164,91,.35) 49.5%,rgba(210,164,91,.35) 50.5%,transparent 50.5%),linear-gradient(to bottom,transparent 49.5%,rgba(210,164,91,.35) 49.5%,rgba(210,164,91,.35) 50.5%,transparent 50.5%)}
.a5-kanji-overlay{position:absolute;inset:42px 45px;display:grid;place-items:center;font-size:325px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:800;color:#e94e4e;opacity:0;pointer-events:none;transition:.25s}.a5-kanji-overlay.show{opacity:.18}.a5-writing-result{min-height:68px;margin:10px 0 14px;padding:9px;border-radius:15px;background:#fff8df;font-size:18px;font-weight:900;color:#5b4b35}.a5-action:disabled{opacity:.42;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.a5-conveyor-item.is-rejected,.a5-fly-item,.a5-repair-item,.a5-world-picture{animation:none!important;transition:none!important}}

/* === QUALITY 100 PASS 3 === */
.a5-progress-trail{position:absolute;z-index:66;top:100px;left:50%;transform:translateX(-50%);display:flex;gap:7px;pointer-events:none}
.a5-progress-trail i{width:13px;height:13px;border-radius:50%;background:rgba(255,255,255,.75);border:3px solid rgba(45,113,151,.4);transition:.2s}.a5-progress-trail i.done{background:#ffd347;border-color:#eaa31e;transform:scale(1.08)}
.a5-progress-trail.compact{gap:3px}.a5-progress-trail.compact i{width:8px;height:8px;border-width:2px}
.is-hint{animation:a5Hint .65s ease-in-out infinite alternate!important;outline:6px solid #ffd648!important;outline-offset:4px!important}
@keyframes a5Hint{to{transform:scale(1.06);filter:brightness(1.13)}}
.a5-letter-mission-art{position:absolute;z-index:12;right:55px;top:145px;width:125px;height:110px;object-fit:contain;filter:drop-shadow(0 7px 5px rgba(0,0,0,.2));pointer-events:none}.a5-letter-mission-art.is-powered{animation:a5UfoPower 1s ease infinite alternate}@keyframes a5UfoPower{to{transform:translateY(-10px) scale(1.05);filter:drop-shadow(0 0 18px #8eeaff)}}
.a5-mission-tokens .a5-light{opacity:.3;filter:saturate(.35);transition:.32s}.a5-mission-tokens .a5-light.on{opacity:1;filter:none;transform:scale(1.12)}.a5-tile.is-collected{animation:a5CollectLetter .6s ease}@keyframes a5CollectLetter{70%{transform:translateY(-20px) scale(.8);opacity:.55}}
.a5-bridge-progress{position:absolute;z-index:13;left:250px;right:250px;top:170px;height:62px;display:flex;justify-content:center;gap:4px}.a5-bridge-progress img{width:105px;height:60px;object-fit:contain;opacity:.25;filter:saturate(.3);transition:.3s}.a5-bridge-progress img.done{opacity:1;filter:none;transform:translateY(-4px)}
.a5-bridge-walker{position:absolute;z-index:70;left:170px;top:150px;width:85px;height:110px;object-fit:contain;transition:left 1.05s ease}.a5-bridge-walker.walk{left:865px}
.a5-treasure-mission{position:absolute;z-index:15;right:48px;top:155px;width:155px;text-align:center}.a5-treasure-mission>img{width:135px;height:95px;object-fit:contain}.a5-treasure-gems{display:flex;justify-content:center}.a5-treasure-gems img{width:30px;height:30px;object-fit:contain;opacity:.22;filter:saturate(.25);transition:.28s}.a5-treasure-gems img.done{opacity:1;filter:none;transform:translateY(-5px)}.a5-treasure-mission>img.open{animation:a5ChestPop .55s ease}@keyframes a5ChestPop{50%{transform:scale(1.12)}}
.a5-flight-progress{position:absolute;z-index:15;left:70px;right:70px;top:150px;height:90px;pointer-events:none}.a5-flight-progress>img{position:absolute;right:0;width:150px;height:85px;object-fit:contain;transition:transform 1s ease}.a5-flight-progress>img.depart{transform:translateX(450px) translateY(-80px) rotate(-8deg)}.a5-flight-bags{position:absolute;left:0;display:flex;gap:6px}.a5-flight-bags img{width:55px;height:55px;object-fit:contain;opacity:.25;transition:.25s}.a5-flight-bags img.loaded{opacity:1;transform:translateY(-5px)}
.a5-repair-tickets{position:absolute;z-index:15;right:55px;top:165px;display:flex;gap:5px}.a5-repair-tickets img{width:45px;height:45px;object-fit:contain;opacity:.2;transition:.25s}.a5-repair-tickets img.done{opacity:1;transform:scale(1.1)}.a5-train-row.repair-bump{animation:a5TrainBump .5s ease}.a5-train-row.depart{animation:a5TrainDepart .85s ease forwards}.a5-train-car.is-fixed{filter:drop-shadow(0 0 13px #7cf28c)}@keyframes a5TrainBump{50%{transform:translateX(14px)}}@keyframes a5TrainDepart{to{transform:translateX(900px);opacity:.2}}
.a5-season-zone>img{width:68px;height:68px;object-fit:contain}.a5-season-count{display:block;font-weight:900}.a5-season-collected{display:flex;justify-content:center;height:40px}.a5-season-collected img{width:34px;height:34px;object-fit:contain}.a5-season-zone.just-filled{animation:a5ZonePop .3s ease}@keyframes a5ZonePop{50%{transform:scale(1.04)}}
.a5-math-mission{position:absolute;z-index:15;left:70px;top:150px;display:flex;gap:5px}.a5-math-mission img{width:42px;height:42px;object-fit:contain;opacity:.2;transition:.25s}.a5-math-mission img.done{opacity:1;transform:translateY(-5px) scale(1.08)}
.a5-math-visual.math-success-add .a5-group{animation:a5MathMerge .6s ease}.a5-math-visual.math-success-sub .will-launch{animation:a5RocketLaunch .65s ease forwards}.a5-math-visual.math-success-mul .a5-group{animation:a5MathPulse .55s ease}.a5-math-visual.math-success-div .a5-plate{animation:a5MathPulse .55s ease}
@keyframes a5MathMerge{50%{transform:scale(1.08)}}@keyframes a5RocketLaunch{to{transform:translateY(-150px);opacity:0}}@keyframes a5MathPulse{50%{transform:translateY(-8px) scale(1.04)}}
.a5-memory-trophy{position:absolute;z-index:15;right:55px;top:155px;display:flex;gap:4px}.a5-memory-trophy img{width:42px;height:42px;object-fit:contain;opacity:.18;filter:saturate(.3);transition:.25s}.a5-memory-trophy img.done{opacity:1;filter:none;transform:scale(1.08)}.a5-memory-trophy.kanji img{width:50px;height:45px}

/* === QUALITY 100 PASS 4 === */
.a5-math-hint{position:absolute;z-index:35;right:78px;top:190px;border:0;border-radius:18px;background:#fff4b8;color:#715818;padding:10px 18px;font-size:18px;font-weight:1000;box-shadow:0 5px 12px rgba(0,0,0,.12);cursor:pointer}.a5-math-hint[hidden]{display:none}
.a5-math-visual.is-concrete-hidden{display:grid;place-items:center;font-size:23px;font-weight:900;color:#557188;background:rgba(255,255,255,.45);border-radius:28px}.a5-math-board.is-solved{animation:a5BoardSolved .55s ease;box-shadow:0 0 0 7px #a6efb8,0 7px 24px rgba(0,0,0,.15)}@keyframes a5BoardSolved{50%{transform:scale(1.035)}}
.a5-zone-collected{position:absolute;z-index:3;left:28px;right:28px;bottom:18px;min-height:62px;display:flex;flex-wrap:wrap;align-content:flex-end;justify-content:center;gap:0;pointer-events:none}.a5-zone-mini{width:42px!important;height:42px!important;position:relative!important;opacity:1!important;object-fit:contain!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.16));animation:a5MiniLand .35s ease}@keyframes a5MiniLand{0%{transform:scale(.3) translateY(-30px);opacity:0}100%{transform:none;opacity:1}}
.a5-collect-zone.mission-success{animation:a5MissionSuccess .72s ease}.a5-collect-zone[data-mission="50"].mission-success{animation:a5BusGo .8s ease}.a5-collect-zone[data-mission="56"].mission-success{animation:a5BirdWatch .8s ease}
@keyframes a5MissionSuccess{50%{transform:scale(1.055);filter:brightness(1.09)}}@keyframes a5BusGo{45%{transform:translateX(24px) scale(1.03)}70%{transform:translateX(-4px)}}@keyframes a5BirdWatch{50%{transform:translateY(-8px) scale(1.04)}}

/* === QUALITY 100 PASS 5 : VISUAL INTEGRATION === */
.a5-root{
 --panel:rgba(255,255,255,.90);
 --panel-edge:rgba(255,255,255,.92);
 --accent:#347ab2;
 --accent-dark:#245878;
 --soft-shadow:rgba(26,48,62,.16);
}
.a5-root[data-theme="wood"]{--panel:rgba(255,248,224,.90);--panel-edge:rgba(255,255,245,.95);--accent:#9c6b35;--accent-dark:#66451f}
.a5-root[data-theme="blue"]{--panel:rgba(239,249,255,.91);--panel-edge:rgba(255,255,255,.95);--accent:#3b78ad;--accent-dark:#234d76}
.a5-root[data-theme="stone"]{--panel:rgba(244,240,224,.91);--panel-edge:rgba(255,253,238,.95);--accent:#776f65;--accent-dark:#514b45}
.a5-root[data-theme="paper"]{--panel:rgba(255,249,228,.93);--panel-edge:rgba(255,255,246,.96);--accent:#9c743e;--accent-dark:#654a26}
.a5-root[data-theme="workshop"]{--panel:rgba(241,250,236,.91);--panel-edge:rgba(255,255,255,.95);--accent:#4f8c62;--accent-dark:#315b40}
.a5-root::after{content:"";position:absolute;inset:0;z-index:7;pointer-events:none;box-shadow:inset 0 0 62px rgba(30,51,66,.12),inset 0 -46px 78px rgba(25,43,55,.09)}
.a5-bg{filter:saturate(1.035) contrast(1.015)}
.a5-prompt{border:3px solid var(--panel-edge);background:var(--panel);color:#293a47;box-shadow:0 10px 28px var(--soft-shadow),inset 0 1px 0 #fff;backdrop-filter:blur(9px)}
.a5-progress{border:3px solid rgba(255,255,255,.88);background:var(--accent);box-shadow:0 7px 20px var(--soft-shadow),inset 0 1px 0 rgba(255,255,255,.34)}
.a5-picture,.a5-count-area,.a5-math-board,.a5-number-kanji-board,.a5-counter-panel,.a5-writing-board,.a5-writing-side{background:var(--panel);border:3px solid var(--panel-edge);box-shadow:0 11px 30px var(--soft-shadow),inset 0 1px 0 #fff;backdrop-filter:blur(6px)}
.a5-choice,.a5-tile,.a5-odd-item,.a5-match-target,.a5-drag-card{
 border:3px solid var(--panel-edge);background:var(--panel);box-shadow:0 8px 21px var(--soft-shadow),inset 0 1px 0 #fff;
}
.a5-choice:hover,.a5-tile:hover,.a5-odd-item:hover,.a5-match-target:hover,.a5-drag-card:hover{filter:brightness(1.035);box-shadow:0 11px 28px rgba(24,47,60,.20),inset 0 1px 0 #fff}
.a5-choice:active,.a5-tile:active,.a5-odd-item:active{transform:translateY(2px) scale(.985)}
.a5-sort-zone{border:3px solid var(--panel-edge);background:var(--panel);box-shadow:0 9px 24px var(--soft-shadow),inset 0 1px 0 #fff}
.a5-sort-item,.a5-collect-item,.a5-conveyor-item{filter:drop-shadow(0 8px 7px rgba(36,51,62,.17))}
.a5-sort-item::after,.a5-conveyor-item::after{content:"";position:absolute;left:18%;right:18%;bottom:2px;height:13px;border-radius:50%;background:rgba(35,50,58,.12);filter:blur(5px);z-index:-1;pointer-events:none}
.a5-count-item,.a5-collect-item,.a5-picture img{filter:drop-shadow(0 6px 5px rgba(36,50,60,.15))}
.a5-group{background:rgba(255,255,255,.76);border:2px solid rgba(255,255,255,.75);box-shadow:0 7px 18px rgba(26,48,62,.12)}
.a5-card{box-shadow:0 10px 28px rgba(26,42,55,.19);border-color:rgba(255,255,255,.96)}
.a5-card:hover{box-shadow:0 13px 32px rgba(26,42,55,.23)}
.a5-collect-zone{border:3px solid var(--panel-edge);background:color-mix(in srgb,var(--panel) 78%,transparent);box-shadow:0 10px 28px var(--soft-shadow),inset 0 1px 0 #fff}
.a5-adventure-zone>img:first-child{filter:drop-shadow(0 8px 8px rgba(31,47,57,.14))}
.a5-complete{background:rgba(25,40,52,.36);backdrop-filter:blur(7px)}
.a5-complete-card{position:relative;overflow:hidden;border:0!important;background:rgba(255,252,235,.98);box-shadow:0 26px 78px rgba(21,36,47,.31)}
.a5-complete-frame{position:absolute;inset:-28px;width:calc(100% + 56px);height:calc(100% + 56px);object-fit:fill;opacity:.72;z-index:0;pointer-events:none}
.a5-complete-card>*:not(.a5-complete-frame){position:relative;z-index:2}
.a5-complete-hero{width:92px!important;height:92px!important;margin:-8px auto -5px!important;filter:drop-shadow(0 8px 7px rgba(73,59,21,.19));animation:a5HeroIn .62s cubic-bezier(.2,.9,.2,1.25)}
.a5-clear-stars{display:flex;justify-content:center;gap:2px;height:45px;margin:0 0 3px}
.a5-clear-stars img{width:42px;height:42px;object-fit:contain;animation:a5MedalIn .55s cubic-bezier(.2,.9,.2,1.25) both}
.a5-clear-stars img:nth-child(2){animation-delay:.1s}.a5-clear-stars img:nth-child(3){animation-delay:.2s}
@keyframes a5HeroIn{from{transform:translateY(22px) scale(.35) rotate(-14deg);opacity:0}to{transform:none;opacity:1}}
@keyframes a5MedalIn{from{transform:translateY(16px) scale(.2);opacity:0}to{transform:none;opacity:1}}
.a5-sparkles{position:absolute;inset:0;z-index:500;pointer-events:none}.a5-sparkles img{position:absolute;width:46px;height:46px;object-fit:contain;animation:a5AssetSpark 1.3s ease-out both;filter:drop-shadow(0 3px 4px rgba(0,0,0,.16))}
@keyframes a5AssetSpark{0%{transform:translateY(35px) scale(.2) rotate(var(--rot));opacity:0}20%{opacity:1}100%{transform:translateY(-58px) scale(1.06) rotate(var(--rot));opacity:0}}
.a5-feedback-label{background:rgba(255,255,255,.96);backdrop-filter:blur(6px);box-shadow:0 10px 28px rgba(30,47,58,.19)}
.a5-toast{box-shadow:0 8px 22px rgba(30,47,58,.18);backdrop-filter:blur(5px)}
/* Theme-sensitive late-game panels */
.a5-root[data-theme="blue"] .a5-math-board,.a5-root[data-theme="blue"] .a5-number-kanji-board{box-shadow:0 11px 32px rgba(27,62,91,.20),inset 0 0 0 2px rgba(149,205,241,.28)}
.a5-root[data-theme="stone"] .a5-card,.a5-root[data-theme="stone"] .a5-math-board{box-shadow:0 11px 29px rgba(48,43,39,.22),inset 0 1px 0 rgba(255,255,255,.65)}
.a5-root[data-theme="paper"] .a5-writing-board canvas{box-shadow:inset 0 0 0 3px rgba(166,126,72,.15)}
.a5-root[data-theme="workshop"] .a5-sort-zone,.a5-root[data-theme="workshop"] .a5-math-board{box-shadow:0 11px 29px rgba(33,74,47,.16),inset 0 1px 0 rgba(255,255,255,.75)}
@media (prefers-reduced-motion:reduce){.ag-spark,.a4-sparkles img,.a5-sparkles img,.a5-complete-hero,.a5-clear-stars img{animation:none!important}}

/* === QUALITY 100 PASS 6 : GAME-SPECIFIC FINALES & SOUND-SYNC MOTION === */
.a5-root.is-finalizing{cursor:wait}.a5-root.is-finalizing button,.a5-root.is-finalizing .a5-sort-item,.a5-root.is-finalizing .a5-collect-item,.a5-root.is-finalizing .a5-drag-card{pointer-events:none}
.a5-world-react .a5-bg{animation:a5WorldPulse .5s ease}.a5-success-token{position:absolute;z-index:485;width:50px;height:50px;object-fit:contain;pointer-events:none;animation:a5SuccessToken .58s ease-out forwards;filter:drop-shadow(0 4px 4px rgba(0,0,0,.16))}
@keyframes a5WorldPulse{50%{filter:saturate(1.09) brightness(1.035)}}@keyframes a5SuccessToken{0%{transform:scale(.15) rotate(-18deg);opacity:0}45%{opacity:1;transform:translateY(-13px) scale(1.15) rotate(8deg)}100%{opacity:0;transform:translateY(-40px) scale(.85) rotate(20deg)}}
.a5-world-finale{position:absolute;z-index:455;inset:0;overflow:hidden;pointer-events:none}.a5-world-finale>img:first-child{position:absolute;width:190px;height:170px;object-fit:contain;left:465px;top:360px;filter:drop-shadow(0 12px 10px rgba(26,42,54,.2));animation:a5FinalePop .95s cubic-bezier(.2,.82,.2,1) both}
.a5-world-finale[data-kind="fly"]>img:first-child{left:-190px;top:360px;animation:a5FinaleFly 1.02s ease-in both}
.a5-world-finale[data-kind="launch"]>img:first-child{left:465px;top:480px;animation:a5FinaleLaunch 1.02s ease-in both}
.a5-world-finale[data-kind="drive"]>img:first-child{left:-210px;top:445px;animation:a5FinaleDrive 1.02s ease-in-out both}
.a5-world-finale[data-kind="walk"]>img:first-child{left:60px;top:390px;animation:a5FinaleWalk 1.02s ease-in-out both}
.a5-world-finale[data-kind="sweep"]>img:first-child{left:90px;top:385px;animation:a5FinaleSweep 1s ease-in-out both}
.a5-world-finale[data-kind="glow"]>img:first-child{animation:a5FinaleGlow .95s ease-out both}
.a5-world-finale[data-kind="flip"]>img:first-child{animation:a5FinaleFlip .95s ease-out both}
.a5-world-finale[data-kind="book"]>img:first-child{animation:a5FinaleBook .95s ease-out both}
.a5-finale-smoke{position:absolute!important;width:125px!important;height:90px!important;left:70px!important;top:485px!important;opacity:.55;animation:a5Smoke .9s ease-out both!important}
@keyframes a5FinalePop{0%{opacity:0;transform:translateY(100px) scale(.35)}45%{opacity:1;transform:translateY(-20px) scale(1.12)}100%{transform:translateY(0) scale(1)}}
@keyframes a5FinaleFly{0%{opacity:.2;transform:translate(-80px,80px) scale(.7)}35%{opacity:1}100%{opacity:.9;transform:translate(1420px,-250px) scale(1.15) rotate(-9deg)}}
@keyframes a5FinaleLaunch{0%{opacity:1;transform:translateY(100px) scale(.8)}100%{opacity:.65;transform:translate(190px,-650px) scale(1.05) rotate(8deg)}}
@keyframes a5FinaleDrive{0%{transform:translateX(-80px)}100%{transform:translateX(1450px)}}
@keyframes a5FinaleWalk{0%{transform:translateX(-100px) translateY(20px)}30%{transform:translateX(280px) translateY(-12px)}65%{transform:translateX(650px) translateY(6px)}100%{transform:translateX(1050px) translateY(-6px)}}
@keyframes a5FinaleSweep{0%{transform:translateX(-120px) rotate(-20deg);opacity:0}30%{opacity:1}70%{transform:translateX(720px) rotate(20deg)}100%{transform:translateX(1000px) rotate(8deg);opacity:.5}}
@keyframes a5FinaleGlow{0%{opacity:0;transform:scale(.3)}55%{opacity:1;transform:scale(1.18);filter:drop-shadow(0 0 35px #ffd65a)}100%{transform:scale(1);filter:drop-shadow(0 0 18px #ffd65a)}}
@keyframes a5FinaleFlip{0%{opacity:0;transform:perspective(500px) rotateY(90deg) scale(.6)}55%{opacity:1;transform:perspective(500px) rotateY(-12deg) scale(1.08)}100%{transform:none}}
@keyframes a5FinaleBook{0%{opacity:0;transform:scale(.5) rotate(-5deg)}55%{opacity:1;transform:scale(1.13) rotate(2deg)}100%{transform:scale(1)}}
@keyframes a5Smoke{0%{opacity:0;transform:scale(.3)}40%{opacity:.7}100%{opacity:0;transform:translateX(260px) scale(1.55)}}

/* === QUALITY 100 PASS 7 : BELOW-90 TARGETED REDESIGN === */
.a5-repair-tray{position:absolute;z-index:46;left:240px;right:240px;bottom:45px;min-height:100px;border-radius:28px;background:rgba(255,250,231,.96);border:4px solid rgba(255,255,255,.95);box-shadow:0 12px 34px rgba(35,52,64,.19);display:flex;align-items:center;justify-content:center;gap:15px;padding:14px;opacity:0;transform:translateY(18px) scale(.96);pointer-events:none;transition:.28s}
.a5-repair-tray.show{opacity:1;transform:none;pointer-events:auto}.a5-repair-tray.success{box-shadow:0 0 0 7px rgba(121,221,149,.38),0 12px 34px rgba(35,52,64,.19)}
.a5-repair-instruction{position:absolute;top:-34px;padding:5px 16px;border-radius:999px;background:#fff6bc;box-shadow:0 4px 10px rgba(0,0,0,.1)}
.a5-repair-choice{min-width:92px;height:72px;border:4px solid #fff;border-radius:20px;background:#fff;font-size:34px;font-weight:1000;box-shadow:0 7px 18px rgba(37,54,65,.16);cursor:pointer}
.a5-repair-item.needs-repair{outline:7px solid #ffd34f;outline-offset:4px;animation:a5RepairNeed .6s ease-in-out infinite alternate}.a5-repair-item.is-repaired{outline:7px solid #83dda1;outline-offset:4px}
.a5-repair-world.machine-pulse{animation:a5MachinePulse .7s ease}@keyframes a5RepairNeed{to{transform:scale(1.045)}}@keyframes a5MachinePulse{50%{filter:brightness(1.08);transform:scale(1.012)}}
.a5-memory-review{position:absolute;z-index:40;left:220px;right:220px;top:190px;bottom:75px;display:none;place-items:center;align-content:center;gap:18px;padding:28px;border-radius:32px;background:var(--panel);border:4px solid var(--panel-edge);box-shadow:0 15px 42px var(--soft-shadow);text-align:center}
.a5-memory-review.show{display:grid;animation:a5ReviewIn .4s ease}.a5-review-title{font-size:23px;color:var(--accent-dark)}.a5-review-expression,.a5-review-kanji{font-size:54px;font-weight:1000;background:rgba(255,255,255,.76);padding:14px 32px;border-radius:22px;box-shadow:0 6px 18px rgba(0,0,0,.1)}
.a5-review-kanji{font-size:88px}.a5-review-choices{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.a5-review-choices .a5-choice{min-width:120px}
@keyframes a5ReviewIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
.a5-zone-remaining{display:block;font-style:normal;font-weight:900;font-size:18px;color:var(--accent-dark);padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.76)}
.a5-collect-zone[data-mission="49"].mission-success{animation:a5CaseClose .8s ease}.a5-collect-zone[data-mission="51"].mission-success{animation:a5ShelfSettle .8s ease}.a5-collect-zone[data-mission="52"].mission-success{animation:a5DogPark .8s ease}.a5-collect-zone[data-mission="53"].mission-success{animation:a5PaperStack .8s ease}.a5-collect-zone[data-mission="54"].mission-success{animation:a5MachineStart .8s ease}.a5-collect-zone[data-mission="55"].mission-success{animation:a5Harvest .8s ease}.a5-collect-zone[data-mission="57"].mission-success{animation:a5Pasture .8s ease}
@keyframes a5CaseClose{50%{transform:scale(.97) rotate(-1deg);filter:brightness(.96)}}@keyframes a5ShelfSettle{50%{transform:translateY(7px)}}@keyframes a5DogPark{35%{transform:translateX(-6px) rotate(-1deg)}70%{transform:translateX(6px) rotate(1deg)}}@keyframes a5PaperStack{50%{transform:scale(1.045)}}@keyframes a5MachineStart{50%{filter:brightness(1.12);transform:translateX(5px)}}@keyframes a5Harvest{50%{transform:translateY(-7px) scale(1.04)}}@keyframes a5Pasture{50%{transform:scale(1.035) translateX(5px)}}
.a5-writing-phase{font-weight:1000;font-size:21px;color:var(--accent-dark);padding:7px 13px;border-radius:16px;background:rgba(255,255,255,.72)}
.a5-kanji-overlay.trace-guide.show{opacity:.18!important;color:#326da0!important;text-shadow:none!important}.a5-kanji-overlay.peek-guide.show{opacity:.32!important;color:#cf7e25!important}.a5-kanji-overlay.answer-guide.show{opacity:.25!important;color:#df4b4b!important}
.a5-writing-polished canvas{background:rgba(255,255,255,.83)}

/* === QUALITY 100 PASS 8 === */
.a5-evidence-board{position:absolute;z-index:20;right:28px;top:145px;width:185px;min-height:115px;padding:12px;border-radius:24px;background:rgba(255,249,223,.94);border:4px solid #fff;box-shadow:0 10px 26px rgba(0,0,0,.14);display:flex;flex-direction:column;gap:6px}.a5-evidence-board>strong{font-size:18px}.a5-evidence-note{display:flex;align-items:center;gap:6px;padding:5px;border-radius:12px;background:rgba(255,255,255,.75);font-weight:900}.a5-evidence-note img{width:42px;height:42px;object-fit:contain}.a5-clue-image{clip-path:circle(42% at 50% 50%);filter:saturate(.85)}
.a5-paint-palette,.a5-replacement-parts{position:absolute;z-index:55;left:240px;right:240px;bottom:44px;min-height:105px;padding:14px;border-radius:28px;background:rgba(255,250,233,.96);border:4px solid #fff;box-shadow:0 12px 34px rgba(0,0,0,.17);display:flex;justify-content:center;align-items:center;gap:14px;opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s}.a5-paint-palette.show,.a5-replacement-parts.show{opacity:1;transform:none;pointer-events:auto}.a5-paint-palette>strong,.a5-replacement-parts>strong{position:absolute;top:-32px;padding:5px 14px;border-radius:999px;background:#fff5b7}
.a5-paint-choice,.a5-part-choice{width:105px;height:90px;border:4px solid #fff;border-radius:20px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.14);cursor:pointer}.a5-paint-choice img,.a5-part-choice img{width:100%;height:100%;object-fit:contain}.a5-workshop-item.needs-paint,.a5-conveyor-item.needs-replacement{outline:7px solid #ffd246;outline-offset:4px;animation:a5NeedFix .55s ease-in-out infinite alternate}.a5-paint-palette.success{box-shadow:0 0 0 7px rgba(113,221,145,.35),0 12px 34px rgba(0,0,0,.17)}
.a5-reject-crate>img:not(:first-child){width:42px;height:42px;object-fit:contain}
@keyframes a5NeedFix{to{transform:scale(1.05)}}

/* === QUALITY 100 PASS 9 === */
.a5-listen-letter{position:absolute;z-index:70;left:70px;top:150px;padding:10px 18px;border:4px solid #fff;border-radius:18px;background:#fff2ae;font-size:18px;font-weight:1000;box-shadow:0 7px 18px rgba(0,0,0,.14)}
.a5-english-airport{position:absolute;z-index:20;inset:145px 55px 70px;display:grid;place-items:center}.a5-english-listen{position:absolute;right:8px;bottom:8px;padding:8px 14px;border:3px solid #fff;border-radius:15px;background:#e8f7ff;font-weight:900}.a5-english-big-listen{padding:18px 34px;border:5px solid #fff;border-radius:28px;background:#dff4ff;font-size:25px;font-weight:1000;box-shadow:0 10px 28px rgba(31,72,100,.18)}
.a5-english-picture-choices{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.a5-english-picture-choice{width:175px;height:155px;border:5px solid #fff;border-radius:28px;background:rgba(255,255,255,.91);box-shadow:0 10px 26px rgba(31,60,78,.17)}.a5-english-picture-choice img{width:100%;height:100%;object-fit:contain}
.a5-big-kanji-number{font-size:84px;font-weight:1000;padding:18px 36px;border-radius:25px;background:rgba(255,255,255,.78)}
.a5-counter-review{position:absolute;z-index:55;left:180px;right:180px;top:180px;bottom:80px;display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.a5-counter-review .a5-choice{min-width:180px;min-height:78px;font-size:22px}

/* === QUALITY 100 PASS 10 === */
.a5-review-number{font-size:88px;font-weight:1000;padding:15px 35px;border-radius:25px;background:rgba(255,255,255,.82);box-shadow:0 8px 22px rgba(0,0,0,.12)}.a5-count-group-options{position:absolute;z-index:45;left:150px;right:150px;bottom:65px;display:flex;justify-content:center;gap:16px}.a5-count-group-choice{width:220px;min-height:135px;border:5px solid #fff;border-radius:26px;background:rgba(255,255,255,.92);box-shadow:0 10px 27px rgba(0,0,0,.16);display:flex;flex-wrap:wrap;align-content:center;justify-content:center;padding:10px}.a5-count-group-choice img{width:45px;height:45px;object-fit:contain}.a5-empty-group{font-size:20px;font-weight:900}
.a5-glyph-review{display:none;position:absolute;z-index:48;left:210px;right:210px;top:180px;bottom:70px;border-radius:32px;background:var(--panel);border:4px solid var(--panel-edge);box-shadow:0 14px 40px var(--soft-shadow);place-items:center;align-content:center;gap:16px}.a5-glyph-review.show{display:grid}.a5-glyph-review-title{font-size:25px}.a5-glyph-listen{padding:12px 22px;border:4px solid #fff;border-radius:20px;background:#fff2ad;font-size:20px;font-weight:1000}.a5-glyph-review-choices{display:flex;gap:16px}
.a5-number-seq-review{display:none;position:absolute;z-index:48;left:145px;right:145px;top:175px;bottom:70px;border-radius:32px;background:var(--panel);border:4px solid var(--panel-edge);box-shadow:0 14px 40px var(--soft-shadow);place-items:center;align-content:center;gap:16px}.a5-number-seq-review.show{display:grid}.a5-seq-review-title{font-size:25px}.a5-seq-mini-train{display:flex;gap:2px}.a5-seq-mini-car{position:relative;width:120px;height:90px}.a5-seq-mini-car img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.a5-seq-mini-car span{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);font-size:28px;font-weight:1000;color:#fff;text-shadow:0 2px 4px #18384e}.a5-seq-review-options{display:flex;gap:12px}.a5-number-seq-review.depart{animation:a5ReviewTrainGo .8s ease forwards}@keyframes a5ReviewTrainGo{to{transform:translateX(850px);opacity:.2}}
.a5-counter-visual-review{position:absolute;z-index:55;left:130px;right:130px;top:175px;bottom:70px;display:flex;justify-content:center;align-items:center;gap:18px}.a5-counter-group-choice{position:relative;width:220px;min-height:160px;border:5px solid #fff;border-radius:26px;background:rgba(255,255,255,.92);box-shadow:0 10px 27px rgba(0,0,0,.15);display:flex;flex-wrap:wrap;justify-content:center;align-content:center;padding:12px}.a5-counter-group-choice img{width:48px;height:48px;object-fit:contain}.a5-counter-group-choice span{position:absolute;right:8px;bottom:5px;padding:3px 9px;border-radius:999px;background:#fff1a7;font-weight:1000}
.a5-writing-final-review{position:absolute;z-index:50;left:190px;right:190px;top:175px;bottom:70px;border-radius:32px;background:var(--panel);border:4px solid var(--panel-edge);box-shadow:0 14px 40px var(--soft-shadow);display:grid;place-items:center;align-content:center;gap:18px}.a5-writing-review-reading,.a5-review-reading{font-size:47px;font-weight:1000;padding:12px 26px;border-radius:22px;background:rgba(255,255,255,.8)}.a5-writing-kanji-choice{min-width:115px;height:100px;border:5px solid #fff;border-radius:22px;background:#fff;font-size:53px;font-weight:1000;box-shadow:0 8px 22px rgba(0,0,0,.14)}

/* === QUALITY 100 PASS 11 === */
.a5-flight-progress>img.return{transform:translateX(-390px) translateY(-45px) scaleX(-1);transition:transform .9s ease}
.a5-season-transfer-review{display:none;position:absolute;z-index:55;left:220px;right:220px;top:175px;bottom:70px;border-radius:32px;background:var(--panel);border:4px solid var(--panel-edge);box-shadow:0 14px 42px var(--soft-shadow);place-items:center;align-content:center;gap:16px}.a5-season-transfer-review.show{display:grid}.a5-season-transfer-review>img{width:145px;height:145px;object-fit:contain}.a5-season-review-choice{width:125px;height:120px;border:4px solid #fff;border-radius:22px;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.13)}.a5-season-review-choice img{width:78px;height:72px;object-fit:contain}.a5-season-review-choice span{display:block;font-weight:1000}
.a5-expression-choices{position:absolute;z-index:50;left:230px;right:230px;bottom:60px;display:flex;justify-content:center;gap:15px}.a5-expression-choice{min-width:170px;height:78px;border:5px solid #fff;border-radius:22px;background:var(--panel);font-size:27px;font-weight:1000;box-shadow:0 9px 24px var(--soft-shadow)}
.a5-factory-finale{position:absolute;z-index:75;left:-300px;bottom:105px;width:290px;height:120px;display:flex;align-items:center;gap:2px;transition:transform .9s ease}.a5-factory-finale img{width:92px;height:100px;object-fit:contain;filter:drop-shadow(0 8px 6px rgba(0,0,0,.17))}.a5-factory-finale.run{transform:translateX(1410px)}

/* === QUALITY 100 PASS 12 === */
.a5-clue-image.medium-mystery{filter:grayscale(.25) blur(3px) saturate(.75);clip-path:circle(35% at 48% 48%)}.a5-clue-image.deep-mystery{filter:grayscale(.65) blur(8px) contrast(.82);clip-path:circle(27% at 51% 48%);transform:scale(1.08)}
.a5-factory-meter{position:absolute;z-index:65;left:60px;top:145px;display:flex;gap:5px;padding:7px 10px;border-radius:20px;background:rgba(245,255,247,.85);box-shadow:0 7px 18px rgba(35,75,48,.14)}.a5-factory-meter img{width:46px;height:46px;object-fit:contain;opacity:.18;filter:saturate(.2);transition:.32s}.a5-factory-meter img.powered{opacity:1;filter:none;transform:translateY(-5px) scale(1.08);animation:a5FactoryPower .5s ease}@keyframes a5FactoryPower{50%{filter:drop-shadow(0 0 15px #8ef0a5);transform:translateY(-7px) scale(1.16)}}

/* === QUALITY 100 PASS 13 === */
.a5-prompt-listen{position:absolute;z-index:78;left:42px;top:98px;min-height:44px;padding:7px 14px;border:3px solid #fff;border-radius:17px;background:rgba(255,248,192,.95);font-size:16px;font-weight:1000;box-shadow:0 6px 16px rgba(42,66,78,.15)}
.a5-gentle-assist{position:absolute;z-index:520;left:50%;top:148px;transform:translateX(-50%);padding:10px 20px;border-radius:20px;background:rgba(255,248,194,.97);border:4px solid #fff;font-weight:1000;box-shadow:0 9px 24px rgba(0,0,0,.16)}
.a5-root button:focus-visible,.a5-root [tabindex]:focus-visible{outline:6px solid #2c89d9!important;outline-offset:4px!important}.a5-drag-card,.a5-sort-item,.a5-collect-item,.a5-conveyor-item{touch-action:none}.a5-drag-card.selected{outline:7px solid #ffd33e!important;outline-offset:5px!important}

/* === BENCHMARK RESET No.30 / No.45 / No.58 === */
.a5-detective-character{position:absolute;z-index:30;left:28px;bottom:50px;width:165px;height:230px;object-fit:contain}.a5-casebook{position:absolute;z-index:50;left:35px;top:155px;width:205px;min-height:115px;padding:10px}.a5-casebook>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;opacity:.85}.a5-casebook>strong,.a5-detective-note{position:relative;z-index:2}.a5-casebook>strong{display:block;text-align:center;font-size:18px}.a5-detective-note{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:12px;font-weight:900}.a5-detective-note img{width:38px;height:38px;object-fit:contain}.a5-detective-room{position:absolute;z-index:25;inset:145px 20px 55px}.a5-clue-zone{position:absolute;width:150px;height:145px;border:0;background:transparent}.a5-clue-zone img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 7px rgba(0,0,0,.17))}.a5-clue-zone.found-clue{outline:7px solid #ffd34a;outline-offset:4px;border-radius:26px}.a5-case-choices{position:absolute;z-index:80;left:245px;right:220px;bottom:15px;display:flex;justify-content:center;gap:12px}.a5-case-choice{min-width:135px;height:65px;border:5px solid #fff;border-radius:20px;background:#fff4ba;font-size:22px;font-weight:1000;box-shadow:0 8px 20px rgba(0,0,0,.14)}.a5-casebook.stamp{animation:a5ResetStamp .4s ease}@keyframes a5ResetStamp{50%{transform:scale(1.06) rotate(-2deg)}}
.a5-bakery-world{position:absolute;z-index:25;inset:145px 25px 55px}.a5-bakery-clerk{position:absolute;left:40px;bottom:35px;width:170px;height:235px;object-fit:contain}.a5-bakery-customer{position:absolute;right:40px;bottom:35px;width:160px;height:220px;object-fit:contain}.a5-bakery-customer.happy{animation:a5ResetHappy .5s ease}.a5-order-bubble{position:absolute;left:190px;top:10px;width:330px;min-height:155px;border-radius:30px;background:#fff;border:5px solid #fff0b4;padding:14px;box-shadow:0 10px 26px rgba(0,0,0,.14)}.a5-order-bubble strong,.a5-order-bubble span{display:block;text-align:center;font-size:22px}.a5-order-groups{display:flex;justify-content:center;gap:14px;margin-top:8px}.a5-order-group{display:flex;gap:2px;padding:5px 8px;border-radius:14px;background:#fff7db}.a5-order-group img{width:38px;height:38px;object-fit:contain}.a5-bakery-stock{position:absolute;left:260px;right:220px;bottom:205px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.a5-bread{width:72px;height:65px;border:0;background:transparent}.a5-bread img{width:100%;height:100%;object-fit:contain}.a5-bread.used{opacity:.15;pointer-events:none}.a5-bakery-plate{position:absolute;right:260px;bottom:35px;width:300px;height:175px}.a5-bakery-plate>img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.a5-served-bread{position:relative;z-index:2;width:55px;height:55px;object-fit:contain;margin-top:55px}.a5-bakery-plate.correct-order{animation:a5ResetPlate .55s ease}.a5-order-reset{position:absolute;right:290px;bottom:5px;padding:8px 14px;border:3px solid #fff;border-radius:16px;background:#fff0bd;font-weight:900}.a5-served-orders{position:absolute;z-index:60;left:42px;top:145px;display:flex;gap:2px}.a5-served-orders img{width:42px;height:42px;object-fit:contain}@keyframes a5ResetHappy{50%{transform:translateY(-10px) scale(1.05)}}@keyframes a5ResetPlate{50%{transform:scale(1.06);filter:drop-shadow(0 0 18px #ffd75a)}}
.a5-dojo-world{position:absolute;z-index:25;inset:145px 35px 55px}.a5-dojo-teacher{position:absolute;left:20px;bottom:35px;width:175px;height:235px;object-fit:contain}.a5-dojo-teacher.happy{animation:a5ResetHappy .45s ease}.a5-dojo-paper{position:absolute;left:260px;top:15px;width:560px;height:430px;object-fit:fill;opacity:.87}.a5-dojo-world canvas{position:absolute;z-index:3;left:280px;top:48px;width:520px;height:360px;background:rgba(255,255,255,.38);touch-action:none}.a5-dojo-bubble{position:absolute;left:15px;top:15px;width:220px;min-height:120px;border-radius:26px;background:#fff;border:4px solid #fff0b5;padding:12px}.a5-dojo-bubble strong,.a5-dojo-bubble span{display:block;text-align:center}.a5-dojo-actions{position:absolute;right:25px;bottom:35px;width:220px;display:grid;gap:9px}.a5-dojo-button{min-height:56px;border:4px solid #fff;border-radius:18px;background:#fff1b6;font-size:19px;font-weight:1000}.a5-dojo-button.secondary{background:#eef7ff}.a5-dojo-button.good{background:#dcf5df}.a5-dojo-model,.a5-dojo-answer{position:absolute;z-index:4;left:280px;top:48px;width:520px;height:360px;display:grid;place-items:center;font-size:270px;font-weight:1000;color:rgba(25,40,50,.2);pointer-events:none}.a5-dojo-answer{color:rgba(220,65,65,.22)}.a5-dojo-scrolls{position:absolute;z-index:65;right:35px;top:145px;display:flex;gap:4px}.a5-dojo-scroll-token{width:48px;height:60px;object-fit:contain;animation:a5ResetScroll .4s ease}@keyframes a5ResetScroll{from{transform:scale(.25);opacity:0}to{transform:none;opacity:1}}

.a5-reset-dedicated-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.a5-root:has(.a5-reset-dedicated-bg)>.a5-bg{opacity:0}

/* === BENCHMARK RESET PHASE 3 — remove 3D/glossy cues on representative games === */
.a5-detective-character,.a5-clue-zone img,.a5-bakery-clerk,.a5-bakery-customer,.a5-bread img,.a5-dojo-teacher,.a5-dojo-paper,.a5-dojo-scroll-token{filter:none!important}
.a5-case-choice,.a5-order-bubble,.a5-dojo-bubble,.a5-dojo-button{box-shadow:0 4px 0 rgba(70,88,96,.12)!important}
.a5-bakery-plate{box-shadow:none!important}
.a5-bakery-plate>img:first-child{filter:none!important}
.a5-reset-dedicated-bg{filter:none!important}
