.play-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;padding:48px 0 32px}.play-hero h1{font-size:48px;line-height:1.15;letter-spacing:-2px;margin:15px 0}.play-hero h1 em{font-style:normal;color:#7d9636}.play-hero p{color:var(--muted);font-size:15px}.play-scene{position:relative;isolation:isolate;height:275px;border-radius:48% 52% 38% 62%;background:linear-gradient(140deg,#e2eff3,#f8efd4 58%,#e4efd0);border:1px solid #fff;overflow:hidden}.play-scene:before,.play-scene:after{content:'';position:absolute;border-radius:50%;width:200px;height:55px;background:#ffffff9c;top:25px;left:-55px;transform:rotate(-10deg);z-index:-1}.play-scene:after{left:auto;right:-65px;top:72px;width:150px}.play-scene img{position:absolute;object-fit:contain;filter:drop-shadow(0 10px 8px #65734816)}.play-scene .scene-catch{width:190px;left:8%;bottom:4px;transform:rotate(-5deg)}.play-scene .scene-run{width:170px;right:1%;bottom:9px;transform:rotate(5deg)}.play-scene .scene-star{position:absolute;right:25%;top:22px;color:#d9b65b;font-size:38px}.play-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0 44px}.play-card{display:block;overflow:hidden;border-radius:28px;background:#fcfdf8;border:1px solid #fff;box-shadow:0 14px 36px #5c71440d;transition:transform .2s,box-shadow .2s}.play-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px #5c71441b}.play-thumb{height:208px;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(150deg,#e3f1e8,#f7f1cf)}.play-thumb img{width:174px;height:185px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 10px 5px #5f77501c)}.play-thumb:before{content:'';position:absolute;width:270px;height:90px;border-radius:50%;background:#fff8;bottom:-38px}.play-thumb.memory{background:linear-gradient(150deg,#eae2f6,#f5e7e7)}.play-thumb.runner{background:linear-gradient(150deg,#d9eef5,#e3eccb)}.play-thumb .mini-card{position:absolute;width:74px;height:96px;background:#fff9;border:2px solid #fff;border-radius:14px;transform:rotate(-14deg);left:calc(50% - 85px);top:50px;box-shadow:0 6px 12px #84719622}.play-thumb .mini-card:last-child{left:calc(50% + 10px);transform:rotate(15deg);top:30px;background:#d9c9ef}.play-thumb .floating-fruit{position:absolute;font-size:27px;color:#df9e94;left:20%;top:32px}.play-card-body{padding:23px}.play-card h2,.play-card h3{font-size:22px;letter-spacing:-.7px;margin:8px 0}.play-card p{font-size:13px;color:var(--muted);margin:0 0 19px;min-height:44px}.play-card .play-go{display:flex;align-items:center;justify-content:space-between;font-weight:750;font-size:13px}.play-card small{font-size:10px;letter-spacing:1.3px;color:#7a855c}.play-go span{display:grid;place-items:center;background:var(--lime);width:36px;height:36px;border-radius:50%;font-size:20px}.play-note{padding:24px 28px;border-radius:23px;border:1px solid #fff;background:#ffffff70;color:var(--muted);font-size:13px;margin:25px 0 40px}.play-note h2{font-size:18px;color:var(--ink);margin:0 0 8px}.home-playground{margin:35px 0}.home-playground .play-cards{margin:18px 0 30px;gap:15px}.home-playground .play-thumb{height:150px}.home-playground .play-thumb img{height:140px;width:140px}.home-playground .play-card-body{padding:18px}.home-playground h3{font-size:18px}.home-playground .play-card p{min-height:0}.game-main{padding-top:26px}.game-title{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0 23px}.game-title h1{font-size:32px;letter-spacing:-1px;margin:4px 0}.game-title p{margin:0;color:var(--muted);font-size:13px}.game-title img{width:82px;height:82px;object-fit:contain}.game-layout{display:grid;grid-template-columns:minmax(0,600px) minmax(210px,1fr);gap:30px;align-items:start}.game-panel{min-width:0;background:#ffffffa3;border:1px solid #fff;border-radius:26px;padding:18px;box-shadow:0 16px 40px #53704a10}.game-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:13px}.game-toolbar button{border:1px solid #dfe6d6;background:#fff;border-radius:14px;min-height:40px;padding:8px 12px;font-size:12px}.game-toolbar button:disabled{opacity:.5;cursor:default}.game-best{font-size:11px;color:#68735b;flex-basis:100%;margin-bottom:3px}.game-best strong{color:#728d2d}.game-hud{display:flex;justify-content:space-around;gap:8px;text-align:center;margin:6px 0 13px}.game-hud div{min-width:0}.game-hud small{display:block;color:#738066;font-size:10px}.game-hud strong{display:block;font-size:20px;line-height:1.5;letter-spacing:-.5px}.game-stage{position:relative;margin:0 auto;max-width:480px;border-radius:20px;overflow:hidden;isolation:isolate;border:1px solid #e2e8d5}.game-stage canvas{display:block;width:100%;height:auto;aspect-ratio:480/600;touch-action:none;user-select:none;-webkit-user-select:none}.game-stage.runner-stage canvas{aspect-ratio:480/450}.game-stage canvas:focus-visible{outline:3px solid #9aad52;outline-offset:-4px}.game-overlay{position:absolute;inset:0;z-index:5;background:#eef5e490;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:18px}.overlay-card{background:#fffffff2;border:1px solid #fff;border-radius:25px;box-shadow:0 15px 30px #6a7a4630;width:min(100%,330px);padding:23px;text-align:center}.overlay-card>img{width:87px;height:87px;object-fit:contain;margin-top:-9px}.overlay-card h2{font-size:23px;line-height:1.3;margin:2px 0 12px;letter-spacing:-.6px}.overlay-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 18px;word-break:keep-all}.overlay-card .primary{width:100%;font-size:15px;min-height:48px}.touch-controls{display:flex;gap:12px;margin-top:13px}.touch-controls button{flex:1;min-height:50px;background:#fff;border:1px solid #dce6cb;border-radius:15px;font-weight:700;touch-action:none;-webkit-user-select:none;user-select:none}.touch-controls .jump-control{background:var(--lime);border-color:#c9dd57}.touch-controls button:active{transform:translateY(2px);background:#e6f2c8}.game-caption{text-align:center;font-size:11px;color:#73805e;margin:10px 0 1px;min-height:18px}.game-help{background:#ffffff80;border:1px solid #fff;padding:23px;border-radius:24px;font-size:13px;color:#69715f}.game-help h2{font-size:18px;color:var(--ink);margin:0 0 12px}.game-help h3{font-size:14px;color:var(--ink);margin-top:24px}.game-help p{line-height:1.9}.game-help a{display:block;border-top:1px solid #e0e6d7;padding:13px 0;font-weight:650;color:#5f7541}.game-help img{width:90px;display:block;margin:14px auto 0}.game-option{display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:14px}.game-option select{font:inherit;padding:9px 12px;background:#fff;border:1px solid #d5dfc8;border-radius:10px;min-height:40px}.memory-stage{max-width:560px;background:linear-gradient(150deg,#e7dfef,#f4e9e4);min-height:348px;padding:14px}.memory-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.memory-card{position:relative;aspect-ratio:1/1.12;min-width:0;border:0;background:transparent;padding:0;border-radius:13px;cursor:pointer;perspective:500px;touch-action:manipulation}.memory-card span.memory-back,.memory-card span.memory-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:13px;backface-visibility:hidden;transition:transform .3s,opacity .2s;border:2px solid #fff9;overflow:hidden}.memory-back{background:linear-gradient(150deg,#c4d9b3,#afc59e);box-shadow:0 4px 0 #9fb28f}.memory-back img{width:65%;height:70%;object-fit:contain;opacity:.75}.memory-back small{font-size:8px;letter-spacing:2px;font-weight:800;color:#f9fff2}.memory-face{transform:rotateY(-180deg);background:#fff9;box-shadow:0 4px 0 #cfbfd2}.memory-face>img{width:90%;height:90%;object-fit:contain}.is-open .memory-back{transform:rotateY(180deg)}.is-open .memory-face{transform:rotateY(0)}.memory-card.is-matched{opacity:.65;cursor:default}.memory-card.is-matched .memory-face{border:2px solid #97b576;background:#eef5df}.memory-card:disabled{opacity:.7;cursor:default}.memory-symbol{position:relative;display:block!important;font-size:0;width:44px;height:48px;border-radius:43% 43% 49% 49%;background:#ef9694;box-shadow:inset -6px -5px 0 #00000008}.memory-symbol:after{content:'';position:absolute;width:22px;height:10px;left:22px;top:-6px;border-radius:2px 100% 2px 100%;background:#8cac70;transform:rotate(-30deg)}.memory-symbol.fruit-red{background:radial-gradient(ellipse at 30% 30%,#ffe8ae 1px,transparent 2px),radial-gradient(ellipse at 65% 55%,#ffe8ae 1px,transparent 2px),radial-gradient(ellipse at 30% 75%,#ffe8ae 1px,transparent 2px),#ed8f91;border-radius:35% 35% 55% 55%}.memory-symbol.fruit-orange{height:44px;background:#f0bb65;border-radius:50%}.memory-symbol.fruit-purple{width:22px;height:22px;background:#ad99c8;border-radius:50%;box-shadow:-13px -11px 0 #b5a1d1,11px -12px 0 #a893c5,0 13px 0 #a48abf}.memory-symbol.star{background:none;box-shadow:none;font-size:60px;line-height:1;color:#e7be5c;width:auto;height:auto}.memory-symbol.star:after{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.playground-nav{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.playground-nav a{font-size:12px;border-radius:30px;background:#fff9;border:1px solid #fff;padding:9px 14px}.playground-nav a[aria-current=page]{background:#344730;color:#fff}
@media(max-width:850px){.game-layout{grid-template-columns:minmax(0,1fr)}.game-panel{width:min(600px,100%);margin:auto}.game-help{width:min(600px,100%);margin:auto}.play-hero h1{font-size:40px}.play-scene{height:235px}.play-scene .scene-catch{width:155px;left:0}.play-scene .scene-run{width:140px;right:-8px}.play-cards{gap:13px}.play-card-body{padding:17px}.play-card h2{font-size:20px}}
@media(max-width:650px){.play-hero{grid-template-columns:1fr;padding:30px 0 5px;gap:16px}.play-hero h1{font-size:38px;margin:12px 0}.play-hero p{font-size:13px}.play-scene{height:200px;border-radius:28px}.play-scene .scene-catch{width:175px;left:10%;bottom:-4px}.play-scene .scene-run{width:150px;right:8%}.play-cards{grid-template-columns:1fr;gap:18px;margin-top:23px}.play-card{display:grid;grid-template-columns:125px minmax(0,1fr);border-radius:23px}.play-thumb{height:100%;min-height:190px}.play-thumb img{width:128px;height:155px;max-width:none}.play-card-body{padding:18px 16px}.play-card h2,.play-card h3{font-size:19px}.play-card p{font-size:12px;margin-bottom:12px;min-height:0}.play-thumb .floating-fruit{left:5%;font-size:20px}.play-thumb .mini-card{width:53px;height:75px;left:18px;top:55px}.play-thumb .mini-card:last-child{left:55px;top:43px}.home-playground .play-thumb{height:100%;min-height:170px}.home-playground .play-thumb img{width:125px;height:140px}.home-playground .play-card-body{padding:16px}.play-note{padding:20px}.game-main{padding-top:16px}.game-title{padding:13px 0 17px;gap:9px}.game-title h1{font-size:25px}.game-title .eyebrow{font-size:8px;letter-spacing:1.3px}.game-title p{font-size:11px}.game-title img{width:66px;height:66px}.game-panel{padding:10px;border-radius:22px}.game-toolbar{gap:6px;margin-bottom:8px}.game-toolbar button{padding:6px 10px;font-size:11px;min-height:38px}.game-hud{margin:5px 0 10px}.game-hud strong{font-size:18px}.game-stage{border-radius:16px}.overlay-card{padding:20px}.overlay-card>img{width:68px;height:68px}.overlay-card h2{font-size:21px}.overlay-card p{font-size:12px}.touch-controls{margin-top:10px;gap:9px}.touch-controls button{min-height:48px}.game-caption{font-size:10px}.game-layout{gap:22px}.memory-stage{padding:10px;min-height:300px}.memory-board{gap:8px}.memory-back small{font-size:7px}.memory-symbol{transform:scale(.85)}.memory-symbol.star{font-size:48px}.game-option{margin-bottom:8px}.game-help{padding:20px}.playground-nav{gap:6px;margin:19px 0}.playground-nav a{font-size:11px;padding:8px 11px}}
@media(prefers-reduced-motion:reduce){.play-card,.memory-card span.memory-back,.memory-card span.memory-face{transition:none}.play-card:hover{transform:none}}
