.newlayout #public-root:has(.kids-game) .pagephoto{background-image:none!important;background-color:#eaf8ee!important}
.kids-game{max-width:1120px;margin:24px auto 16px;background:#d7f2de url("game/park.svg") center/cover;border:2px solid #ffffff;border-radius:32px;padding:26px 28px 28px;color:#244638;box-shadow:0 12px 40px #294c3910;overflow:hidden}
.game-heading{text-align:center;max-width:760px;margin:0 auto}.game-eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#437865}.game-heading h1{font-size:clamp(30px,4vw,46px);margin:8px 0 12px;letter-spacing:-1.3px;line-height:1.1}.game-heading p{font-size:15px;line-height:1.6;margin:0}
.game-progress{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px;font-size:13px;font-weight:700}.game-progress progress{height:12px;width:180px;accent-color:#398568;border:0;border-radius:30px;overflow:hidden}.game-progress progress::-webkit-progress-bar{background:#ffffffab}.game-progress progress::-webkit-progress-value{background:#3a9b78;border-radius:30px}
.game-stage{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:center;max-width:780px;margin:22px auto 16px;min-height:210px}.game-guide{text-align:center}.game-guide img{width:135px;height:145px;object-fit:contain;display:block;margin:0 auto}.game-guide strong{font-size:14px;display:block;margin:6px 0}.game-guide p{background:#ffffffdc;border-radius:17px;font-size:13px;line-height:1.5;padding:12px;margin:8px 0 0;min-height:63px}
.game-item-area{text-align:center;min-width:0}.game-start{background:#ffdf80;border:2px solid #e5ba57;color:#314d39;border-radius:24px;font-size:20px;font-weight:800;padding:16px 28px;box-shadow:0 5px 0 #ccb069;cursor:pointer}.game-start:hover{background:#ffe9a1}.game-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:230px;min-height:215px;margin:0 auto;background:#ffffffeb;border:2px solid #fff;border-radius:27px;box-shadow:0 9px 24px #37694714;padding:15px;font-weight:750;font-size:15px;line-height:1.4;color:#244638;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;transition:opacity .2s,transform .2s}.game-item img{width:150px;height:150px;object-fit:contain;pointer-events:none}.game-item span{pointer-events:none}.game-item.dragging{opacity:.35}.game-item.item-success{transform:scale(.7);opacity:0}.game-hint{font-size:12px;font-weight:600;line-height:1.5;margin:12px 0 0}
.game-bins{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.game-bin{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 1 165px;min-width:0;max-width:200px;min-height:178px;border:2px solid #fff;background:#ffffffc9;border-radius:23px;padding:12px;color:#26463b;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}.game-bin:disabled{opacity:1;cursor:default}.game-bin-art{display:block;height:103px;width:95px}.game-bin-art svg,.game-bin-art img{height:100%;width:100%;object-fit:contain;pointer-events:none}.game-bin-name{font-size:12px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}.game-bin:not(:disabled):hover,.game-bin.drop-target{background:#fff9d7;transform:translateY(-4px);box-shadow:0 0 0 4px #edca68}.game-bin.correct{background:#d5f0cb;box-shadow:0 0 0 4px #71b478}.game-bin.wrong{background:#ffe3d3}.game-finish>span{font-size:38px}.game-finish h2{font-size:27px;margin:15px 0}.game-finish p{font-size:15px;line-height:1.5;margin-bottom:25px}.game-drag-ghost{position:fixed;z-index:10000;pointer-events:none;transform:translate(-50%,-60%) rotate(-5deg);opacity:.98;min-height:0;padding:8px;box-shadow:0 12px 28px #294c3940}.game-drag-ghost img{width:95px;height:95px}.game-drag-ghost span{font-size:11px}
.game-admin-preview{display:flex;align-items:center;gap:15px;margin-bottom:18px}.game-admin-preview img{width:90px;height:90px;object-fit:contain}.game-item-thumb{width:70px;height:70px;object-fit:contain}.game-status{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.game-status span{background:#e8f1e9;border-radius:13px;padding:10px 14px;font-size:13px}.game-admin-mappings .field{margin-bottom:10px}.game-admin-bin{margin-bottom:14px}.game-admin-bin .uploadthumb{height:65px;width:70px}.game-admin-table td{vertical-align:middle}
@media(max-width:680px){.kids-game{margin-top:16px;border-radius:25px;padding:20px 13px}.game-heading h1{font-size:30px}.game-heading p{font-size:13px}.game-progress{gap:10px;margin-top:15px;font-size:11px}.game-progress progress{width:105px}.game-stage{grid-template-columns:90px minmax(0,1fr);gap:12px;margin:18px auto 14px;min-height:195px}.game-guide img{width:80px;height:90px}.game-guide strong{font-size:11px}.game-guide p{padding:8px 5px;font-size:11px;min-height:70px}.game-item{width:100%;max-width:210px;min-height:174px;padding:10px;gap:5px;font-size:13px}.game-item img{width:115px;height:115px}.game-hint{font-size:10px;margin-top:8px}.game-bins{gap:9px}.game-bin{flex:0 1 calc(50% - 5px);min-height:142px;padding:10px 7px;border-radius:17px}.game-bin-art{height:82px;width:80px}.game-bin-name{font-size:11px}.game-start{font-size:16px;padding:14px 17px}.game-finish h2{font-size:22px}.game-finish>span{font-size:28px}.game-finish p{font-size:12px}.game-drag-ghost{max-width:140px}.game-drag-ghost img{width:80px;height:80px}}
@media(prefers-reduced-motion:reduce){.game-bin,.game-item{transition:none}}
