:root{--sa-blue:#136eaa;--sa-gold:#f4c64d;--sa-brown:#5b321a;--sa-wood:#7f4c27;--sa-ink:#102c2a;--sa-cream:#fff9e9;--sa-green:#1f8a57;--sa-shadow:0 18px 48px rgba(13,42,49,.24)}
.sparrow-game-stage{margin:0 auto 26px!important;max-width:1160px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.sparrow-game{position:relative;min-height:720px;border-radius:30px;overflow:hidden;background:#12384d;box-shadow:0 24px 70px rgba(5,36,50,.24);isolation:isolate;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.sparrow-screen{display:none;position:relative;min-height:720px;overflow:hidden;background:linear-gradient(180deg,#dff5ff,#f9e4aa)}.sparrow-screen.is-active{display:block;animation:saFade .24s ease both}@keyframes saFade{from{opacity:.25;transform:scale(.995)}to{opacity:1;transform:none}}
.sparrow-home-screen{min-height:760px;background:#195881}.sparrow-home-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}.sparrow-home-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,31,40,.06),rgba(5,31,40,.03) 52%,rgba(5,31,40,.5) 100%)}
.sparrow-game-back{position:absolute;z-index:5;left:18px;top:18px;padding:10px 14px;border-radius:14px;background:rgba(11,42,49,.72);border:1px solid rgba(255,255,255,.24);color:#fff!important;text-decoration:none!important;font-weight:900;backdrop-filter:blur(10px)}
.sparrow-home-currency{position:absolute;z-index:5;right:18px;top:18px;display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,#fff7cf,#f2c65a);color:#503210;border:3px solid #6a3b1c;border-radius:999px;padding:6px 8px 6px 13px;box-shadow:0 6px 0 #4d2a17,0 12px 22px rgba(0,0,0,.22);font-weight:950}.sparrow-home-currency button{width:30px;height:30px;border-radius:50%;border:0;background:#2c9f63;color:#fff;font-size:1.2rem;font-weight:950}
.sparrow-home-left,.sparrow-home-right{position:absolute;z-index:4;top:155px;display:grid;gap:12px;width:190px}.sparrow-home-left{left:18px}.sparrow-home-right{right:18px}.sparrow-menu-tile{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;text-align:left!important;padding:8px 10px!important;min-height:70px!important;border:3px solid #3f2515!important;border-radius:18px!important;background:linear-gradient(180deg,#6e4328,#3e2618)!important;color:#fff!important;box-shadow:0 6px 0 #28170e,0 10px 18px rgba(0,0,0,.25)!important;cursor:pointer!important}.sparrow-menu-tile img,.sparrow-tile-icon{width:52px;height:52px;border-radius:12px;background:linear-gradient(180deg,#2b678b,#143c55);display:grid;place-items:center;object-fit:cover;font-size:1.7rem;border:2px solid #e5bd5e}.sparrow-menu-tile strong{display:block;font-size:.78rem;letter-spacing:.03em}.sparrow-menu-tile small{display:block;color:#f4d88e;font-size:.68rem;line-height:1.2;margin-top:3px}
.sparrow-home-cta{position:absolute;z-index:4;left:50%;bottom:24px;transform:translateX(-50%);display:grid;justify-items:center;gap:7px}.sparrow-home-cta>span{padding:6px 12px;border-radius:999px;background:rgba(9,43,49,.68);color:#eaf9ff;font-size:.7rem;font-weight:900;letter-spacing:.08em}.sparrow-home-cta button{min-width:260px;padding:16px 34px!important;border:4px solid #71441d!important;border-radius:24px!important;background:linear-gradient(180deg,#ffe26d,#f3a82e)!important;color:#4b2c10!important;box-shadow:0 7px 0 #8f5b1e,0 15px 28px rgba(0,0,0,.32)!important;font-size:1.25rem!important;font-weight:1000!important;letter-spacing:.05em}.sparrow-home-cta small{color:#fff;font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.55)}
.sparrow-game-header{position:relative;z-index:8;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;background:linear-gradient(180deg,rgba(12,50,71,.97),rgba(9,41,59,.95));color:#fff;border-bottom:1px solid rgba(255,255,255,.16)}.sparrow-game-header.transparent{background:linear-gradient(180deg,rgba(7,40,56,.85),rgba(7,40,56,.35));position:absolute;left:0;right:0;top:0}.sparrow-game-header.play{background:linear-gradient(180deg,#0e5e8c,#0b486c)}.sparrow-game-header>button{width:44px;height:44px;border:2px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(255,255,255,.1);color:#fff;font-size:1.6rem;font-weight:900}.sparrow-game-header small{display:block;color:#a9ddf5;font-size:.65rem;letter-spacing:.12em;font-weight:900}.sparrow-game-header strong{display:block;font-size:1.12rem}.sparrow-mini-currency{padding:8px 12px;border-radius:999px;background:#f8d261;color:#4a2f0e;border:2px solid #89551b;font-weight:900}.sparrow-game-hud{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.sparrow-game-hud span{padding:7px 9px;border-radius:12px;background:rgba(255,255,255,.12);font-size:.76rem;font-weight:850}
.sparrow-world-tabs{display:flex;gap:8px;overflow-x:auto;padding:12px;background:#f8f0d5;scrollbar-width:none}.sparrow-world-tabs::-webkit-scrollbar{display:none}.sparrow-world-tabs button{flex:0 0 auto;min-width:150px;border:2px solid #d8be83;border-radius:15px;padding:10px 12px;background:#fffaf0;color:#4f432e;font-weight:900}.sparrow-world-tabs button.is-active{background:linear-gradient(180deg,#ffe782,#f3b83f);border-color:#9f6925;box-shadow:0 4px 0 #93601f}.sparrow-world-tabs button.is-locked{opacity:.5;filter:grayscale(.6)}
.sparrow-world-map{position:relative;height:560px;overflow:hidden;background:#64b8e4}.sparrow-world-map>img#sparrow-world-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sparrow-world-vignette{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.02) 52%,rgba(11,51,49,.26))}.sparrow-world-title{position:absolute;z-index:3;left:22px;top:20px;max-width:360px;padding:13px 16px;border-radius:18px;background:rgba(10,53,72,.72);color:#fff;backdrop-filter:blur(7px);border:1px solid rgba(255,255,255,.2)}.sparrow-world-title small{font-size:.65rem;font-weight:950;letter-spacing:.12em;color:#ffd870}.sparrow-world-title h2{margin:.15rem 0 .2rem;color:#fff;font-size:1.45rem}.sparrow-world-title p{margin:0;color:rgba(255,255,255,.88);font-size:.82rem}.sparrow-path-svg{position:absolute;z-index:2;inset:0;width:100%;height:100%;pointer-events:none}.sparrow-map-nodes{position:absolute;z-index:4;inset:0}.sparrow-level-node{position:absolute;transform:translate(-50%,-50%);width:66px;height:66px;border:4px solid #fff0ae;border-radius:50%;background:linear-gradient(180deg,#f8dd65,#e99e2d);color:#54320e;box-shadow:0 5px 0 #8c5b21,0 10px 18px rgba(0,0,0,.25);display:grid;place-items:center;cursor:pointer}.sparrow-level-node strong{font-size:1.05rem}.sparrow-level-node small{position:absolute;bottom:-18px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.7);font-size:.6rem}.sparrow-level-node .node-stars{position:absolute;top:-20px;white-space:nowrap;color:#ffe76e;font-size:.74rem;text-shadow:0 2px 4px #513}.sparrow-level-node.is-special{background:linear-gradient(180deg,#64d3f1,#277ab7);color:#fff}.sparrow-level-node.is-boss{width:78px;height:78px;background:linear-gradient(180deg,#f56e65,#b8282d);color:#fff;border-color:#ffd574}.sparrow-level-node.is-locked{background:linear-gradient(#898989,#5f5f5f);border-color:#d8d8d8;color:#eee;filter:grayscale(.6)}.sparrow-level-node.is-current{animation:saPulse 1.2s ease-in-out infinite;outline:5px solid rgba(255,255,255,.28)}@keyframes saPulse{50%{transform:translate(-50%,-50%) scale(1.1)}}.sparrow-map-hero{position:absolute;z-index:3;right:18px;bottom:-16px;width:220px;filter:drop-shadow(0 14px 18px rgba(0,0,0,.3));pointer-events:none}.sparrow-map-footer{display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center;padding:13px 16px;background:#f8f0d5}.sparrow-map-footer>div{padding:8px 12px;border-radius:14px;background:#fff9e9;border:1px solid #dfc790}.sparrow-map-footer span{display:block;color:#73664b;font-size:.62rem;text-transform:uppercase;font-weight:850}.sparrow-map-footer strong{display:block;color:#3e3524}.sparrow-map-footer button{justify-self:end;padding:12px 18px;border:2px solid #7d501d;border-radius:15px;background:linear-gradient(180deg,#ffe56e,#eda834);color:#4a2b0d;font-weight:950;box-shadow:0 4px 0 #8f5d21}
.sparrow-briefing-bg{position:absolute;inset:0;background:center/cover no-repeat}.sparrow-briefing-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,36,49,.82),rgba(8,36,49,.18) 60%,rgba(8,36,49,.45))}.sparrow-briefing-card{position:relative;z-index:4;margin:120px 0 40px 5%;width:min(480px,58%);padding:24px;border-radius:28px;background:linear-gradient(180deg,rgba(255,253,242,.96),rgba(249,235,194,.96));border:4px solid #76502b;box-shadow:0 9px 0 #49301c,0 24px 50px rgba(0,0,0,.3)}.sparrow-mode-badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:#176c99;color:#fff;font-size:.72rem;font-weight:950;letter-spacing:.08em}.sparrow-briefing-card h2{margin:.55rem 0 .25rem;color:#3f2b17;font-size:2rem}.sparrow-briefing-card p{color:#6c5a44;line-height:1.45}.sparrow-briefing-goals{display:grid;gap:8px;margin:15px 0}.sparrow-goal-chip{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:15px;background:#fff;border:1px solid #ead49e;color:#4c3b26;font-weight:800}.sparrow-goal-chip img{width:34px;height:34px}.sparrow-briefing-boosters{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.sparrow-briefing-boosters button{width:62px;height:62px;border:3px solid #d9bd76;border-radius:17px;background:#fff8dc;position:relative}.sparrow-briefing-boosters img{width:44px;height:44px}.sparrow-briefing-boosters b{position:absolute;right:-5px;bottom:-5px;min-width:24px;height:24px;border-radius:50%;background:#1b7b50;color:#fff;display:grid;place-items:center;font-size:.68rem}.sparrow-briefing-card>#sparrow-start-level{width:100%;padding:15px;border:3px solid #704519;border-radius:18px;background:linear-gradient(180deg,#ffe468,#efa32e);color:#4b2b0e;font-size:1.05rem;font-weight:1000;box-shadow:0 5px 0 #8c581e}.sparrow-briefing-hero{position:absolute;z-index:3;right:5%;bottom:20px;width:42%;max-width:410px;filter:drop-shadow(0 18px 25px rgba(0,0,0,.35))}
.sparrow-playfield{min-height:630px;padding:16px;background:radial-gradient(circle at 50% 0,#eaf8ff,#bddfec 58%,#8ec5d4)}.sparrow-match3-wrap,.sparrow-runner-wrap,.sparrow-memory-wrap,.sparrow-catch-wrap,.sparrow-treasure-wrap{max-width:850px;margin:0 auto}.sparrow-match3-objectives{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 auto 12px}.sparrow-match3-objectives .goal{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:14px;background:#fff8e3;border:2px solid #d6b66b;color:#49361d;font-weight:850}.sparrow-match3-objectives img{width:30px;height:30px}.sparrow-match3-board{max-width:650px;margin:0 auto;display:grid;grid-template-columns:repeat(8,1fr);gap:6px;padding:12px;border:5px solid #74502c;border-radius:28px;background:linear-gradient(180deg,#183d55,#0c2d40);box-shadow:0 8px 0 #432c1b,0 20px 40px rgba(8,36,54,.26)}.sparrow-piece{position:relative;aspect-ratio:1;border:0;border-radius:16px;background:linear-gradient(180deg,#fff,#e9f6ff);box-shadow:inset 0 -5px 0 rgba(0,0,0,.08),0 5px 10px rgba(0,0,0,.16);display:grid;place-items:center;transition:transform .12s}.sparrow-piece img{width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.15))}.sparrow-piece.is-selected{outline:4px solid #ffe66b;transform:scale(1.07)}.sparrow-piece .special-mark{position:absolute;right:-3px;bottom:-3px;font-size:.78rem;background:#fff7bd;border-radius:50%;padding:2px}.sparrow-play-boosters{display:flex;justify-content:center;gap:9px;margin-top:14px}.sparrow-play-boosters button{min-width:70px;padding:8px 10px;border:2px solid #d4b668;border-radius:14px;background:#fff8dc;color:#49351d;font-weight:900}.sparrow-runner-wrap canvas,.sparrow-catch-wrap canvas{width:100%;display:block;border:5px solid #72502d;border-radius:26px;background:#82cdf1;box-shadow:0 8px 0 #422b19,0 20px 40px rgba(0,0,0,.22)}.sparrow-runner-controls{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:8px;max-width:650px;margin:14px auto}.sparrow-runner-controls button{min-height:54px;border:3px solid #71471c;border-radius:17px;background:linear-gradient(180deg,#ffe36a,#eea32d);color:#4d2d0e;font-weight:1000}.sparrow-memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:620px;margin:12px auto}.sparrow-memory-card{aspect-ratio:1;border:4px solid #6f4a26;border-radius:22px;background:linear-gradient(145deg,#176b9a,#0e466c);box-shadow:0 6px 0 #412b1b,0 12px 22px rgba(0,0,0,.18);display:grid;place-items:center}.sparrow-memory-card:not(.is-open):after{content:"🐾";font-size:2rem;filter:grayscale(1) brightness(6)}.sparrow-memory-card.is-open{background:linear-gradient(180deg,#fff9e4,#f4d275)}.sparrow-memory-card img{width:68%;height:68%;object-fit:contain}.sparrow-catch-tip{text-align:center;margin:11px;color:#31515b;font-weight:850}.sparrow-treasure-scene{position:relative;min-height:560px;border:5px solid #72502d;border-radius:26px;background:center/cover no-repeat;box-shadow:0 8px 0 #422b19,0 20px 40px rgba(0,0,0,.22);overflow:hidden}.sparrow-hidden-paw{position:absolute;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,240,153,.2);font-size:1.5rem;display:grid;place-items:center;filter:drop-shadow(0 3px 5px rgba(0,0,0,.4))}.sparrow-hidden-paw.is-found{animation:saFound .35s forwards}@keyframes saFound{to{transform:scale(1.8);opacity:0}}
.sparrow-result-rays{position:absolute;inset:-50%;background:repeating-conic-gradient(from 0deg,rgba(255,236,110,.85) 0 8deg,rgba(255,255,255,.12) 8deg 16deg);animation:saSpin 12s linear infinite}@keyframes saSpin{to{transform:rotate(360deg)}}.sparrow-result-hero{position:absolute;z-index:2;width:42%;max-width:420px;left:8%;bottom:0;filter:drop-shadow(0 18px 24px rgba(0,0,0,.35))}.sparrow-result-card{position:absolute;z-index:3;right:7%;top:110px;width:min(430px,47%);padding:28px;border:5px solid #6a431e;border-radius:30px;background:linear-gradient(180deg,#fff9df,#f1d37e);box-shadow:0 9px 0 #4b2d15,0 24px 50px rgba(0,0,0,.3);text-align:center}.sparrow-result-card small{color:#875f25;font-weight:950;letter-spacing:.12em}.sparrow-result-card h2{font-size:2rem;color:#4a2d13;margin:.35rem}.sparrow-result-stars{font-size:2.4rem;letter-spacing:.12em;color:#e9a929;text-shadow:0 2px 0 #fff}.sparrow-result-card p{color:#6c573b}.sparrow-result-score{display:grid;gap:2px;margin:14px auto;padding:12px;border-radius:17px;background:#fff7db}.sparrow-result-score span{font-size:.7rem;color:#8a7148;text-transform:uppercase;font-weight:850}.sparrow-result-score strong{font-size:1.8rem;color:#3c2e1d}.sparrow-result-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}.sparrow-result-actions button{min-height:50px;border:3px solid #71471c;border-radius:16px;background:linear-gradient(180deg,#ffe36a,#eea32d);color:#4b2c10;font-weight:950}.sparrow-result-actions .secondary{background:#fff5d5}
.sparrow-shop-hero{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:center;padding:24px;background:linear-gradient(120deg,#166b95,#2caeae 55%,#f3c65a);color:#fff}.sparrow-shop-hero img{width:260px;height:260px;object-fit:contain;filter:drop-shadow(0 15px 20px rgba(0,0,0,.28))}.sparrow-shop-hero span{font-size:.7rem;letter-spacing:.12em;font-weight:900;color:#ffdf72}.sparrow-shop-hero h2{font-size:2rem;margin:.25rem 0;color:#fff}.sparrow-shop-hero p{max-width:560px;color:rgba(255,255,255,.9)}.sparrow-shop-filters{display:flex;gap:8px;padding:13px 16px;overflow-x:auto;background:#f8efd4}.sparrow-shop-filters button{flex:0 0 auto;border:2px solid #d7bd82;border-radius:999px;background:#fff9e8;color:#604d31;padding:9px 14px;font-weight:850}.sparrow-shop-filters button.is-active{background:#176c98;color:#fff;border-color:#0e4c70}.sparrow-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;background:#f5f0e1}.sparrow-shop-card{overflow:hidden;border:3px solid #d3b56c;border-radius:22px;background:#fff9e7;box-shadow:0 7px 0 #b58d46,0 12px 22px rgba(0,0,0,.12)}.sparrow-shop-card.is-owned{border-color:#67ad75}.sparrow-shop-card>img{width:100%;aspect-ratio:1.05;object-fit:cover;background:#daeefe}.sparrow-shop-card-body{padding:12px}.sparrow-shop-card small{font-size:.65rem;text-transform:uppercase;font-weight:850;color:#77603c}.sparrow-shop-card h3{font-size:1rem;margin:.25rem 0;color:#48351e}.sparrow-shop-card p{font-size:.75rem;color:#756852;line-height:1.35;min-height:42px}.sparrow-shop-buy{display:flex;justify-content:space-between;align-items:center;gap:7px}.sparrow-shop-price{font-weight:950;color:#3f6d34}.sparrow-shop-card button{border:2px solid #77501f;border-radius:12px;padding:8px 10px;background:linear-gradient(#ffe36a,#eda42f);color:#4d2f0f;font-weight:900}.sparrow-shop-card button.secondary{background:#e4f3ea;border-color:#6d9c7a;color:#245737}.sparrow-shop-card button:disabled{opacity:.48;filter:grayscale(.5)}
.sparrow-profile-card{display:grid;grid-template-columns:230px 1fr;align-items:center;gap:22px;padding:20px;background:linear-gradient(115deg,#145e89,#2ba698 60%,#f2c153);color:#fff}.sparrow-profile-card img{width:230px;height:230px;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(0,0,0,.3))}.sparrow-profile-card small{font-size:.7rem;letter-spacing:.14em;font-weight:900;color:#ffe177}.sparrow-profile-card h2{font-size:2.1rem;margin:.15rem 0;color:#fff}.sparrow-profile-card p{color:#e4f6ff}.sparrow-progress-line{height:12px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden;max-width:520px}.sparrow-progress-line i{display:block;width:0;height:100%;background:linear-gradient(90deg,#ffe36c,#fff4b7)}.sparrow-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;background:#f4efe0}.sparrow-collection-card{border:3px solid #d3b66e;border-radius:20px;background:#fff9e8;overflow:hidden}.sparrow-collection-card img{width:100%;aspect-ratio:1;object-fit:cover}.sparrow-collection-card>div{padding:10px}.sparrow-collection-card strong{display:block;color:#4b361f}.sparrow-collection-card small{color:#786952;font-size:.73rem}.sparrow-collection-card button{margin-top:8px;width:100%;padding:8px;border:2px solid #7c5525;border-radius:11px;background:#ffe06a;color:#4c2e0e;font-weight:900}.sparrow-history-card{margin:0 16px 18px;padding:16px;border-radius:22px;background:#fff9e8;border:2px solid #d7bb75}.sparrow-history-card h3{margin-top:0;color:#4b371f}.sparrow-history-item{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px 0;border-top:1px solid #eadbad}.sparrow-history-item small{grid-column:1/-1;color:#85765d}
.sparrow-mission-hero{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center;padding:20px;background:linear-gradient(120deg,#694322,#3d2a1a);color:#fff}.sparrow-mission-hero img{width:180px;height:180px;object-fit:contain}.sparrow-mission-hero small{color:#f7cf65;font-weight:900;letter-spacing:.12em}.sparrow-mission-hero h2{color:#fff;margin:.2rem 0}.sparrow-mission-hero p{color:#eadbc7}.sparrow-missions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px;background:#f4efe0}.sparrow-mission-card{padding:16px;border:3px solid #d6b86e;border-radius:22px;background:#fff9e6;box-shadow:0 6px 0 #b99148}.sparrow-mission-card .mission-icon{font-size:2rem}.sparrow-mission-card h3{margin:.4rem 0;color:#49351e}.sparrow-mission-card p{font-size:.8rem;color:#746751}.sparrow-mission-progress{height:10px;border-radius:99px;background:#eadfbf;overflow:hidden}.sparrow-mission-progress i{display:block;height:100%;background:linear-gradient(90deg,#49a45e,#91d073)}.sparrow-mission-card small{display:block;margin-top:7px;color:#806b49;font-weight:800}.sparrow-mission-card button{margin-top:10px;width:100%;padding:9px;border:2px solid #77501f;border-radius:12px;background:#ffe069;color:#4a2d0e;font-weight:900}
.sparrow-toast{position:fixed;z-index:80;left:50%;bottom:110px;transform:translate(-50%,30px);opacity:0;pointer-events:none;max-width:min(90vw,520px);padding:12px 16px;border-radius:16px;background:rgba(8,41,53,.94);color:#fff;font-weight:800;box-shadow:0 14px 35px rgba(0,0,0,.3);transition:.22s}.sparrow-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.sparrow-game{border-radius:0}.sparrow-home-left,.sparrow-home-right{width:165px}.sparrow-menu-tile{grid-template-columns:43px 1fr!important}.sparrow-menu-tile img,.sparrow-tile-icon{width:43px;height:43px}.sparrow-shop-grid,.sparrow-collection-grid{grid-template-columns:repeat(3,1fr)}.sparrow-map-hero{width:180px}.sparrow-briefing-card{width:min(500px,68%)}.sparrow-briefing-hero{right:-3%;width:42%}}
@media(max-width:680px){.sparrow-game,.sparrow-screen{min-height:760px}.sparrow-home-art{object-position:center top}.sparrow-home-left,.sparrow-home-right{top:auto;bottom:112px;width:46%;gap:8px}.sparrow-home-left{left:10px}.sparrow-home-right{right:10px}.sparrow-menu-tile{min-height:56px!important;padding:6px 7px!important;border-width:2px!important;border-radius:14px!important;grid-template-columns:36px 1fr!important}.sparrow-menu-tile img,.sparrow-tile-icon{width:36px;height:36px;border-radius:9px;font-size:1.25rem}.sparrow-menu-tile strong{font-size:.65rem}.sparrow-menu-tile small{font-size:.58rem}.sparrow-home-cta{bottom:18px}.sparrow-home-cta>span{display:none}.sparrow-home-cta button{min-width:210px;padding:13px 24px!important}.sparrow-game-header{grid-template-columns:44px minmax(0,1fr) auto;padding:10px}.sparrow-game-header strong{font-size:.92rem}.sparrow-mini-currency{font-size:.8rem}.sparrow-world-tabs{padding:8px}.sparrow-world-tabs button{min-width:130px;padding:8px;font-size:.75rem}.sparrow-world-map{height:520px}.sparrow-world-title{left:10px;top:10px;right:10px;max-width:none;padding:9px 12px}.sparrow-world-title h2{font-size:1.05rem}.sparrow-world-title p{display:none}.sparrow-level-node{width:52px;height:52px;border-width:3px}.sparrow-level-node.is-boss{width:62px;height:62px}.sparrow-level-node small{font-size:.5rem}.sparrow-map-hero{width:120px;right:-10px}.sparrow-map-footer{grid-template-columns:1fr 1fr}.sparrow-map-footer button{grid-column:1/-1;width:100%;justify-self:stretch}.sparrow-briefing-card{margin:100px 12px 12px;width:auto;padding:18px}.sparrow-briefing-card h2{font-size:1.4rem}.sparrow-briefing-hero{display:none}.sparrow-match3-board{gap:3px;padding:7px;border-width:3px;border-radius:18px}.sparrow-piece{border-radius:10px}.sparrow-playfield{padding:8px;min-height:620px}.sparrow-game-hud{gap:3px}.sparrow-game-hud span{font-size:.59rem;padding:5px 6px}.sparrow-memory-grid{gap:6px}.sparrow-shop-hero,.sparrow-profile-card,.sparrow-mission-hero{grid-template-columns:125px 1fr;padding:12px;gap:12px}.sparrow-shop-hero img,.sparrow-profile-card img,.sparrow-mission-hero img{width:125px;height:125px}.sparrow-shop-hero h2,.sparrow-profile-card h2,.sparrow-mission-hero h2{font-size:1.25rem}.sparrow-shop-hero p,.sparrow-mission-hero p{font-size:.72rem}.sparrow-shop-grid,.sparrow-collection-grid{grid-template-columns:repeat(2,1fr);gap:8px;padding:9px}.sparrow-shop-card{border-width:2px;border-radius:16px}.sparrow-shop-card p{display:none}.sparrow-shop-card-body{padding:8px}.sparrow-shop-card h3{font-size:.85rem}.sparrow-shop-buy{display:grid}.sparrow-shop-card button{width:100%}.sparrow-missions-grid{grid-template-columns:1fr;padding:10px}.sparrow-result-hero{width:50%;left:-8%;bottom:0}.sparrow-result-card{right:12px;left:12px;top:110px;width:auto;padding:20px}.sparrow-result-stars{font-size:2rem}}


/* 6.3.1 — correctif lisibilité Match-3 mobile.
   Les anciens SVG contenaient des emoji dans <text>, rendus de façon minuscule
   par certains WebView Android. Les pièces sont maintenant dessinées en HTML/CSS
   avec un symbole nettement plus grand et un contraste renforcé. */
.sparrow-piece{overflow:visible!important;isolation:isolate}
.sparrow-piece-gem{width:86%!important;height:86%!important;min-width:0!important;min-height:0!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:50%!important;box-sizing:border-box!important;position:relative!important;line-height:1!important;background:radial-gradient(circle at 32% 25%,rgba(255,255,255,.88) 0 13%,rgba(255,255,255,.22) 14% 26%,var(--sa-piece-a) 27% 67%,var(--sa-piece-b) 100%)!important;border:2px solid rgba(255,255,255,.72)!important;box-shadow:inset 0 -4px 0 rgba(0,0,0,.11),0 3px 5px rgba(0,0,0,.22)!important;transform:translateZ(0)}
.sparrow-piece-symbol{display:block!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;font-size:clamp(1.65rem,4.2vw,3.25rem)!important;line-height:1!important;transform:translateY(-1px) scale(1.08)!important;filter:drop-shadow(0 2px 1px rgba(0,0,0,.18))!important;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif!important}
.sparrow-piece-gem[data-piece="leaf"]{--sa-piece-a:#64c97b;--sa-piece-b:#23864e}
.sparrow-piece-gem[data-piece="shell"]{--sa-piece-a:#f5ad70;--sa-piece-b:#d5683e}
.sparrow-piece-gem[data-piece="ball"]{--sa-piece-a:#5bc7cb;--sa-piece-b:#21818a}
.sparrow-piece-gem[data-piece="bone"]{--sa-piece-a:#f4d88d;--sa-piece-b:#c99d45}
.sparrow-piece-gem[data-piece="paw"]{--sa-piece-a:#f2957d;--sa-piece-b:#c9503d}
.sparrow-piece-gem[data-piece="star"]{--sa-piece-a:#f7dc55;--sa-piece-b:#d5a91c}
.sparrow-match3-objectives .goal{min-height:58px!important;padding:7px 12px!important;gap:8px!important;font-size:1.05rem!important}
.sparrow-match3-objectives .sparrow-piece-gem.is-compact{width:42px!important;height:42px!important;flex-basis:42px!important}
.sparrow-match3-objectives .sparrow-piece-gem.is-compact .sparrow-piece-symbol{font-size:1.7rem!important;transform:translateY(-1px) scale(1.04)!important}
.sparrow-memory-card .sparrow-piece-gem{width:72%!important;height:72%!important}
@media(max-width:680px){
 .sparrow-piece-gem{width:92%!important;height:92%!important;border-width:1.5px!important}
 .sparrow-piece-symbol{font-size:clamp(1.75rem,8vw,2.7rem)!important;transform:translateY(-1px) scale(1.12)!important}
 .sparrow-match3-objectives .goal{min-height:54px!important;padding:6px 10px!important}
 .sparrow-match3-objectives .sparrow-piece-gem.is-compact{width:40px!important;height:40px!important;flex-basis:40px!important}
 .sparrow-match3-objectives .sparrow-piece-gem.is-compact .sparrow-piece-symbol{font-size:1.6rem!important}
}
@media(max-width:390px){
 .sparrow-match3-board{gap:2px!important;padding:5px!important}
 .sparrow-piece{border-radius:9px!important}
 .sparrow-piece-symbol{font-size:clamp(1.55rem,7.6vw,2.3rem)!important}
}

/* 6.3.2 — refonte responsive Match-3 sur smartphone.
   Les motifs restent généreux mais sont désormais contenus dans leur case :
   plus de chevauchements, plateau plus propre et HUD plus compact. */
.sparrow-match3-board{box-sizing:border-box}
.sparrow-piece{overflow:hidden!important;isolation:isolate;box-shadow:inset 0 -3px 0 rgba(0,0,0,.06),0 2px 5px rgba(0,0,0,.12)!important}
.sparrow-piece-gem{width:80%!important;height:80%!important;box-shadow:inset 0 -3px 0 rgba(0,0,0,.09),0 2px 4px rgba(0,0,0,.15)!important}
.sparrow-piece-symbol{font-size:clamp(1.45rem,3.6vw,2.65rem)!important;transform:translateY(-1px)!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.14))!important}
.sparrow-piece.is-selected{outline:3px solid #ffe66b;outline-offset:-2px;transform:scale(1.025)}
.sparrow-piece .special-mark{right:2px!important;bottom:2px!important;z-index:3;font-size:.7rem!important;padding:2px!important;line-height:1!important}

@media(max-width:680px){
 .sparrow-playfield{padding:6px!important;min-height:590px!important}
 .sparrow-match3-wrap{width:100%;max-width:100%!important}
 .sparrow-match3-objectives{gap:7px!important;margin:2px auto 8px!important;flex-wrap:nowrap!important}
 .sparrow-match3-objectives .goal{min-height:44px!important;padding:5px 9px!important;gap:6px!important;border-width:2px!important;border-radius:13px!important;font-size:.96rem!important;box-shadow:0 2px 4px rgba(0,0,0,.07)}
 .sparrow-match3-objectives .sparrow-piece-gem.is-compact{width:32px!important;height:32px!important;flex-basis:32px!important;border-width:1px!important}
 .sparrow-match3-objectives .sparrow-piece-gem.is-compact .sparrow-piece-symbol{font-size:1.28rem!important;transform:none!important}
 .sparrow-match3-board{width:100%!important;max-width:650px!important;gap:3px!important;padding:6px!important;border-width:3px!important;border-radius:17px!important;box-shadow:0 5px 0 #432c1b,0 10px 20px rgba(8,36,54,.18)!important}
 .sparrow-piece{border-radius:9px!important}
 .sparrow-piece-gem{width:68%!important;height:68%!important;border-width:1px!important}
 .sparrow-piece-symbol{font-size:clamp(1.25rem,6.1vw,1.75rem)!important;transform:none!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.12))!important}
 .sparrow-play-boosters{gap:7px!important;margin-top:10px!important;padding:0 2px!important}
 .sparrow-play-boosters button{flex:1 1 0!important;min-width:0!important;max-width:88px!important;height:46px!important;padding:5px 7px!important;border-width:2px!important;border-radius:13px!important;font-size:.94rem!important;box-shadow:0 2px 4px rgba(0,0,0,.06)}
 .sparrow-piece .special-mark{right:1px!important;bottom:1px!important;font-size:.62rem!important}
}
@media(max-width:390px){
 .sparrow-playfield{padding:5px!important}
 .sparrow-match3-objectives{gap:5px!important;margin-bottom:7px!important}
 .sparrow-match3-objectives .goal{min-height:41px!important;padding:4px 7px!important;font-size:.9rem!important}
 .sparrow-match3-objectives .sparrow-piece-gem.is-compact{width:29px!important;height:29px!important;flex-basis:29px!important}
 .sparrow-match3-objectives .sparrow-piece-gem.is-compact .sparrow-piece-symbol{font-size:1.16rem!important}
 .sparrow-match3-board{gap:2px!important;padding:5px!important;border-radius:15px!important}
 .sparrow-piece{border-radius:8px!important}
 .sparrow-piece-gem{width:66%!important;height:66%!important}
 .sparrow-piece-symbol{font-size:clamp(1.12rem,5.8vw,1.55rem)!important}
 .sparrow-play-boosters{gap:5px!important;margin-top:8px!important}
 .sparrow-play-boosters button{height:43px!important;padding:4px 5px!important;font-size:.88rem!important}
}



/* 6.3.3 — icônes Match-3 plus lisibles + boutique Sparrow renforcée */
.sparrow-piece-gem{position:relative!important;display:grid!important;place-items:center!important}
.sparrow-piece-symbol{display:block!important;width:76%!important;height:76%!important;max-width:76%!important;max-height:76%!important;object-fit:contain!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.22))!important}
.sparrow-piece-abbr{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:999px;background:rgba(255,255,255,.92);color:#334;font-size:.56rem;font-weight:1000;line-height:1;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.sparrow-match3-objectives .sparrow-piece-abbr{display:none}
.sparrow-goal-chip img{width:40px;height:40px;object-fit:contain}
.sparrow-shop-grid{align-items:stretch}
.sparrow-shop-card{position:relative}
.sparrow-shop-card>img{aspect-ratio:1;background:radial-gradient(circle at 28% 22%,#ffffff 0,#eff8ff 40%,#d6ecfa 100%);object-fit:contain;padding:10px}
.sparrow-shop-card.is-booster>img{background:radial-gradient(circle at 28% 22%,#fffbe8 0,#fff3c6 40%,#f6df92 100%)}
.sparrow-shop-badge{position:absolute;left:10px;top:10px;z-index:3;padding:6px 10px;border-radius:999px;background:linear-gradient(180deg,#ffef96,#f1bf40);color:#5a370a;font-size:.62rem;font-weight:1000;box-shadow:0 3px 8px rgba(0,0,0,.16)}
.sparrow-shop-contents{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}
.sparrow-shop-contents span{padding:5px 8px;border-radius:999px;background:#eef7ff;border:1px solid #bfd8ef;color:#22577f;font-size:.68rem;font-weight:850}
.sparrow-shop-card.is-booster .sparrow-shop-contents span{background:#fff5d8;border-color:#efd489;color:#6a4a12}
.sparrow-shop-buy{display:grid;grid-template-columns:auto auto;gap:6px 8px;align-items:center}
.sparrow-shop-price{font-size:1.02rem}
.sparrow-shop-value{justify-self:start;padding:4px 8px;border-radius:999px;background:#e5f5e8;color:#245c38;font-size:.68rem;font-weight:900}
.sparrow-shop-card button{grid-column:1/-1}
@media(max-width:680px){
 .sparrow-piece-symbol{width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important}
 .sparrow-piece-abbr{right:2px;bottom:2px;min-width:14px;height:14px;font-size:.5rem}
 .sparrow-match3-board{padding:4px!important}
 .sparrow-piece-gem{width:74%!important;height:74%!important}
 .sparrow-shop-grid{grid-template-columns:1fr!important;gap:10px!important}
 .sparrow-shop-card{display:grid;grid-template-columns:108px 1fr;align-items:stretch}
 .sparrow-shop-card>img{width:108px;height:108px;aspect-ratio:auto;border-right:1px solid rgba(0,0,0,.05)}
 .sparrow-shop-card-body{padding:10px}
 .sparrow-shop-card p{display:block;font-size:.72rem;min-height:auto;margin-bottom:7px}
 .sparrow-shop-contents span{font-size:.64rem;padding:4px 7px}
 .sparrow-shop-buy{grid-template-columns:1fr auto}
 .sparrow-shop-card button{grid-column:1/-1;width:100%}
}
@media(max-width:390px){
 .sparrow-piece-gem{width:78%!important;height:78%!important}
 .sparrow-piece-symbol{width:84%!important;height:84%!important;max-width:84%!important;max-height:84%!important}
 .sparrow-shop-card{grid-template-columns:92px 1fr}
 .sparrow-shop-card>img{width:92px;height:92px}
}


/* 6.3.4 — Match-3 premium et boutique encore renforcée */
.sparrow-piece{overflow:hidden}
.sparrow-piece::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.55),rgba(255,255,255,0) 42%)}
.sparrow-piece[data-piece="leaf"]{background:linear-gradient(180deg,#f9fff8,#e5f7e8)}
.sparrow-piece[data-piece="shell"]{background:linear-gradient(180deg,#fff7f0,#ffe8d9)}
.sparrow-piece[data-piece="ball"]{background:linear-gradient(180deg,#f0fdff,#daf7fb)}
.sparrow-piece[data-piece="bone"]{background:linear-gradient(180deg,#fffdf1,#fbf1c9)}
.sparrow-piece[data-piece="paw"]{background:linear-gradient(180deg,#fff5f0,#ffe1d8)}
.sparrow-piece[data-piece="star"]{background:linear-gradient(180deg,#fffdee,#fff1b9)}
.sparrow-piece-gem{width:84%!important;height:84%!important}
.sparrow-piece-symbol{width:86%!important;height:86%!important;max-width:86%!important;max-height:86%!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.18))!important}
.sparrow-piece.is-selected{outline:3px solid #ffe66b;box-shadow:0 0 0 3px rgba(255,230,107,.34);transform:scale(1.06)}
.sparrow-play-boosters{align-items:stretch}
.sparrow-play-boosters button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:72px;padding:6px 6px 7px!important}
.sparrow-play-boosters button img{width:26px;height:26px;object-fit:contain}
.sparrow-play-boosters button strong{font-size:.58rem;line-height:1;font-weight:950;color:#5a4320}
.sparrow-play-boosters button .count{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#1f6f4a;color:#fff;font-size:.72rem;font-weight:950;line-height:1}
.sparrow-play-boosters button:disabled img,.sparrow-play-boosters button:disabled strong,.sparrow-play-boosters button:disabled .count{opacity:.62;filter:grayscale(.18)}
.sparrow-shop-card{--sa-accent:#d3b56c;border-color:var(--sa-accent)!important;box-shadow:0 7px 0 rgba(88,61,20,.22),0 12px 24px rgba(0,0,0,.12)!important}
.sparrow-shop-card::before{content:'';position:absolute;left:0;right:0;top:0;height:7px;background:var(--sa-accent);z-index:2}
.sparrow-shop-card.is-premium::after{content:'★';position:absolute;right:12px;top:12px;z-index:3;width:24px;height:24px;border-radius:999px;background:#fff7ce;display:grid;place-items:center;color:#8d650e;font-weight:1000;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.sparrow-shop-metrics{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.sparrow-shop-metrics span{padding:4px 8px;border-radius:999px;background:#f5f1e4;color:#5c4b2d;font-size:.67rem;font-weight:850;border:1px solid rgba(0,0,0,.06)}
.sparrow-shop-card.is-booster .sparrow-shop-metrics span{background:#fff8e1;color:#6a4e12}
.sparrow-shop-buy{display:flex!important;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.sparrow-shop-card button{min-width:132px}
@media(max-width:680px){
 .sparrow-piece-gem{width:78%!important;height:78%!important}
 .sparrow-piece-symbol{width:88%!important;height:88%!important;max-width:88%!important;max-height:88%!important}
 .sparrow-play-boosters{gap:6px!important}
 .sparrow-play-boosters button{min-width:0!important;max-width:none!important;padding:5px 4px 6px!important}
 .sparrow-play-boosters button strong{display:none}
 .sparrow-play-boosters button img{width:24px;height:24px}
 .sparrow-play-boosters button .count{min-width:18px;height:18px;font-size:.68rem}
 .sparrow-shop-card{grid-template-columns:102px 1fr}
 .sparrow-shop-card>img{width:102px;height:102px}
 .sparrow-shop-buy{align-items:stretch!important}
 .sparrow-shop-card button{width:100%;min-width:0}
}
@media(max-width:390px){
 .sparrow-piece-gem{width:80%!important;height:80%!important}
 .sparrow-play-boosters button img{width:22px;height:22px}
 .sparrow-shop-card{grid-template-columns:94px 1fr}
 .sparrow-shop-card>img{width:94px;height:94px}
}


/* 6.3.5 — lisibilité maximale des pièces Match-3 */
.sparrow-piece .sparrow-piece-abbr{display:none!important}
.sparrow-piece .sparrow-piece-gem,
.sparrow-match3-objectives .sparrow-piece-gem{
  width:100%!important;
  height:100%!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.sparrow-piece{
  padding:0!important;
  overflow:hidden!important;
}
.sparrow-piece .sparrow-piece-symbol{
  width:92%!important;
  height:92%!important;
  max-width:92%!important;
  max-height:92%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.20))!important;
}
.sparrow-match3-objectives .sparrow-piece-symbol{
  width:42px!important;
  height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
}
.sparrow-piece[data-piece="leaf"]{background:linear-gradient(180deg,#f0fff1,#d8f4dc)!important}
.sparrow-piece[data-piece="shell"]{background:linear-gradient(180deg,#fff6ee,#ffe0cf)!important}
.sparrow-piece[data-piece="ball"]{background:linear-gradient(180deg,#effcff,#d7f3fa)!important}
.sparrow-piece[data-piece="bone"]{background:linear-gradient(180deg,#fffdf1,#f7efcf)!important}
.sparrow-piece[data-piece="paw"]{background:linear-gradient(180deg,#fff4ef,#ffdcd3)!important}
.sparrow-piece[data-piece="star"]{background:linear-gradient(180deg,#fffdee,#ffefb0)!important}
.sparrow-piece.is-selected{outline:4px solid #ffe66b!important;box-shadow:0 0 0 4px rgba(255,230,107,.28)!important;transform:scale(1.04)!important}
@media(max-width:680px){
  .sparrow-piece .sparrow-piece-symbol{
    width:94%!important;
    height:94%!important;
    max-width:94%!important;
    max-height:94%!important;
  }
  .sparrow-match3-objectives .sparrow-piece-symbol{
    width:38px!important;
    height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
  }
}
@media(max-width:390px){
  .sparrow-piece .sparrow-piece-symbol{
    width:96%!important;
    height:96%!important;
    max-width:96%!important;
    max-height:96%!important;
  }
}


/* 6.3.6 — style match-3 premium très lisible */
.sparrow-match3-board{gap:4px!important;padding:7px!important;border-width:4px!important;border-radius:20px!important}
.sparrow-piece{border-radius:14px!important;box-shadow:inset 0 -3px 0 rgba(0,0,0,.07),0 3px 7px rgba(0,0,0,.16)!important}
.sparrow-piece::before{display:none!important}
.sparrow-piece .sparrow-piece-gem{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;background:none!important;border:0!important;box-shadow:none!important}
.sparrow-piece .sparrow-piece-symbol{width:96%!important;height:96%!important;max-width:96%!important;max-height:96%!important;object-fit:contain!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))!important}
.sparrow-match3-objectives{gap:12px!important;margin:0 auto 14px!important}
.sparrow-match3-objectives .goal{padding:8px 12px!important;border-radius:16px!important}
.sparrow-match3-objectives .sparrow-piece-gem{width:46px!important;height:46px!important;background:none!important;border:0!important;box-shadow:none!important}
.sparrow-match3-objectives .sparrow-piece-symbol{width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important}
.sparrow-match3-objectives b{font-size:1.15rem!important}
.sparrow-piece[data-piece="leaf"]{background:linear-gradient(180deg,#eefdf0,#d8f4dd)!important}
.sparrow-piece[data-piece="shell"]{background:linear-gradient(180deg,#fff7f0,#ffe2d4)!important}
.sparrow-piece[data-piece="ball"]{background:linear-gradient(180deg,#eefcff,#d9f3fb)!important}
.sparrow-piece[data-piece="bone"]{background:linear-gradient(180deg,#fffdf4,#f7efce)!important}
.sparrow-piece[data-piece="paw"]{background:linear-gradient(180deg,#fff4ef,#ffdcd5)!important}
.sparrow-piece[data-piece="star"]{background:linear-gradient(180deg,#fffef0,#ffefb8)!important}
@media(max-width:680px){
  .sparrow-match3-board{gap:3px!important;padding:6px!important;border-radius:18px!important}
  .sparrow-piece .sparrow-piece-symbol{width:98%!important;height:98%!important;max-width:98%!important;max-height:98%!important}
  .sparrow-match3-objectives{gap:10px!important;margin-bottom:12px!important}
  .sparrow-match3-objectives .goal{padding:7px 10px!important}
  .sparrow-match3-objectives .sparrow-piece-gem{width:40px!important;height:40px!important}
  .sparrow-match3-objectives .sparrow-piece-symbol{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important}
}
@media(max-width:390px){
  .sparrow-piece .sparrow-piece-symbol{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
  .sparrow-match3-objectives .sparrow-piece-gem{width:36px!important;height:36px!important}
  .sparrow-match3-objectives .sparrow-piece-symbol{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important}
}


/* 6.3.7 — effets combos, destruction et pièces spéciales */
.sparrow-match3-wrap{position:relative}
.sparrow-match3-fx{position:absolute;z-index:25;inset:54px 0 58px;pointer-events:none;overflow:visible;display:grid;place-items:center}
.sparrow-combo-pop{position:absolute;top:39%;left:50%;transform:translate(-50%,-50%) scale(.72);padding:10px 18px;border-radius:999px;background:linear-gradient(180deg,#fffbe7,#ffd967);border:3px solid #8d5b16;color:#5a350b;font-size:clamp(1rem,4vw,1.55rem);font-weight:1000;letter-spacing:.035em;white-space:nowrap;text-shadow:0 1px #fff;box-shadow:0 7px 0 #8d5b16,0 16px 28px rgba(0,0,0,.28);animation:saComboPop 1.02s cubic-bezier(.2,.9,.25,1) forwards}
.sparrow-combo-pop.is-mega{background:linear-gradient(180deg,#fff7d6,#ffb74b 55%,#ff7754);border-color:#84331f;color:#5d1d0d;box-shadow:0 7px 0 #84331f,0 0 26px rgba(255,181,67,.55),0 18px 34px rgba(0,0,0,.3)}
@keyframes saComboPop{0%{opacity:0;transform:translate(-50%,-42%) scale(.55) rotate(-4deg)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.14) rotate(2deg)}58%{transform:translate(-50%,-55%) scale(1)}100%{opacity:0;transform:translate(-50%,-105%) scale(.88)}}
.sparrow-match-spark{position:absolute;left:50%;top:49%;width:10px;height:18px;border-radius:4px;background:linear-gradient(180deg,#fff5a8,#f1ad22);box-shadow:0 0 8px rgba(255,222,88,.85);animation:saSpark var(--d,620ms) cubic-bezier(.12,.68,.24,1) forwards}
.sparrow-match-spark:nth-of-type(3n){background:linear-gradient(180deg,#a9f1ff,#2ca6df)}
.sparrow-match-spark:nth-of-type(3n+1){background:linear-gradient(180deg,#ffc7e4,#ed6aa2)}
@keyframes saSpark{0%{opacity:1;transform:translate(-50%,-50%) scale(.4) rotate(0)}80%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1) rotate(var(--r))}}
.sparrow-match3-board.fx-hit{animation:saBoardHit .28s ease-out}
.sparrow-match3-board.fx-mega{animation:saBoardMega .4s ease-out}
@keyframes saBoardHit{0%,100%{transform:none}30%{transform:scale(1.012)}60%{transform:scale(.996)}}
@keyframes saBoardMega{0%,100%{transform:none;filter:none}20%{transform:scale(1.018);filter:brightness(1.12)}45%{transform:translateX(-2px)}65%{transform:translateX(2px)}}
.sparrow-piece{animation:saPieceDrop .19s cubic-bezier(.2,.84,.32,1) both;animation-delay:var(--sa-delay,0ms)}
@keyframes saPieceDrop{from{opacity:.55;transform:translateY(-7px) scale(.9)}to{opacity:1;transform:none}}
.sparrow-piece.is-selected{animation:saSelectedPulse .7s ease-in-out infinite!important}
@keyframes saSelectedPulse{50%{transform:scale(1.075);filter:brightness(1.07)}}
.sparrow-piece.is-special{overflow:visible!important;z-index:2}
.sparrow-piece.is-special .sparrow-piece-gem{filter:drop-shadow(0 0 7px rgba(255,220,72,.8))}
.sparrow-piece .special-mark{right:2px!important;bottom:2px!important;display:grid!important;place-items:center!important;width:24px;height:24px;padding:0!important;border:2px solid #fff!important;background:linear-gradient(180deg,#fff9bf,#ffd451)!important;box-shadow:0 2px 5px rgba(0,0,0,.24),0 0 10px rgba(255,216,60,.65)!important;font-size:.9rem!important;animation:saSpecialPulse 1.05s ease-in-out infinite}
@keyframes saSpecialPulse{50%{transform:scale(1.14) rotate(5deg);box-shadow:0 2px 5px rgba(0,0,0,.24),0 0 16px rgba(255,216,60,.9)}}
.sparrow-game-hud span.is-bump{animation:saHudBump .34s ease-out}
@keyframes saHudBump{40%{transform:scale(1.16);background:rgba(255,232,105,.3)}100%{transform:none}}
@media(max-width:680px){
 .sparrow-match3-fx{inset:44px 0 52px}
 .sparrow-combo-pop{top:38%;padding:8px 13px;border-width:2px;font-size:clamp(.92rem,4.6vw,1.2rem);box-shadow:0 5px 0 #8d5b16,0 12px 22px rgba(0,0,0,.25)}
 .sparrow-piece .special-mark{width:20px;height:20px;font-size:.76rem!important}
 .sparrow-match-spark{width:8px;height:14px}
}
@media(prefers-reduced-motion:reduce){
 .sparrow-piece,.sparrow-piece.is-selected,.sparrow-piece .special-mark,.sparrow-combo-pop,.sparrow-match-spark,.sparrow-match3-board.fx-hit,.sparrow-match3-board.fx-mega,.sparrow-game-hud span.is-bump{animation:none!important}
}

/* 6.3.9 — navigation 1 200 niveaux / 120 univers */
.sparrow-world-region{flex:0 0 auto;display:inline-flex;align-items:center;padding:9px 12px;border-radius:15px;background:#183f59;color:#fff;font-size:.72rem;font-weight:950;white-space:nowrap;border:2px solid #d8be83}
.sparrow-world-tabs .sparrow-world-nav{min-width:48px!important;font-size:1.2rem!important;padding:7px 10px!important}
.sparrow-world-tabs button[title]{min-width:82px}
@media(max-width:680px){.sparrow-world-region{font-size:.64rem;padding:7px 9px}.sparrow-world-tabs .sparrow-world-nav{min-width:42px!important}.sparrow-world-tabs button[title]{min-width:70px!important}}


/* 6.4.0 — Inventaire Sparrow fiable */
.sparrow-inventory-section{padding:14px 16px;background:#f4efe0}.sparrow-inventory-section h3{margin:0 0 10px;color:#4b371f}.sparrow-inventory-boosters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sparrow-inventory-booster{display:grid;grid-template-columns:58px 1fr auto;gap:9px;align-items:center;padding:10px;border:2px solid #d5b96f;border-radius:18px;background:#fff9e8;box-shadow:0 4px 10px rgba(0,0,0,.08)}.sparrow-inventory-booster img{width:58px;height:58px;object-fit:contain}.sparrow-inventory-booster strong{display:block;color:#48351e}.sparrow-inventory-booster small{display:block;color:#7c6a50;font-size:.7rem}.sparrow-inventory-booster b{min-width:40px;padding:7px 8px;border-radius:999px;background:#176c98;color:#fff;text-align:center;font-size:1rem}.sparrow-inventory-empty{grid-column:1/-1;padding:16px;text-align:center;color:#79694f;background:#fff9e8;border-radius:16px}.sparrow-collection-card img{object-fit:contain!important;background:linear-gradient(180deg,#f6fbff,#e5f2fa);padding:8px}
@media(max-width:680px){.sparrow-inventory-section{padding:10px}.sparrow-inventory-boosters{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sparrow-inventory-booster{grid-template-columns:42px 1fr auto;padding:8px;gap:6px;border-radius:14px}.sparrow-inventory-booster img{width:42px;height:42px}.sparrow-inventory-booster strong{font-size:.78rem}.sparrow-inventory-booster b{min-width:34px;padding:5px 6px;font-size:.82rem}}

/* 6.4.5 — déplacement Match-3 par glisser-déposer tactile, façon Candy Crush */
.sparrow-match3-board{touch-action:none;-webkit-user-select:none;user-select:none}
.sparrow-piece{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:grab;will-change:transform}
.sparrow-piece img{pointer-events:none;-webkit-user-drag:none;user-select:none}
.sparrow-piece.is-dragging{z-index:12;cursor:grabbing;transition:none!important;transform:translate3d(var(--sa-drag-x,0),var(--sa-drag-y,0),0) scale(1.07)!important;box-shadow:0 9px 18px rgba(0,0,0,.28),inset 0 -3px 0 rgba(0,0,0,.06)!important}


/* 6.5.7 — Match-3 premium : plateau et effets spéciaux enrichis */
.sparrow-match3-wrap{position:relative}
.sparrow-match3-wrap:before{content:"";position:absolute;inset:16px auto auto 50%;transform:translateX(-50%);width:min(92%,690px);height:72%;border-radius:34px;background:radial-gradient(circle at 50% 12%,rgba(255,245,178,.28),rgba(255,255,255,0) 42%),radial-gradient(circle at 50% 100%,rgba(49,193,234,.18),rgba(255,255,255,0) 50%);filter:blur(8px);pointer-events:none}
.sparrow-match3-board{position:relative;overflow:hidden;background:linear-gradient(180deg,#214d6a 0%,#173d58 48%,#0f2e43 100%)!important;border-color:#8a6131!important;box-shadow:0 8px 0 #4e331e,0 22px 44px rgba(8,36,54,.28),inset 0 0 0 2px rgba(255,240,181,.16),inset 0 14px 18px rgba(255,255,255,.08)!important}
.sparrow-match3-board:before{content:"";position:absolute;inset:6px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,0) 22%,rgba(0,0,0,.06) 100%);pointer-events:none}
.sparrow-match3-board:after{content:"";position:absolute;inset:0;border-radius:26px;pointer-events:none;box-shadow:inset 0 0 28px rgba(255,229,148,.10),inset 0 -10px 20px rgba(0,0,0,.10)}
.sparrow-match3-objectives .goal{background:linear-gradient(180deg,#fffbee,#fff2c7)!important;border-color:#deb76b!important;box-shadow:0 4px 10px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.9)}
.sparrow-piece{overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#eef8ff 52%,#dfeef9 100%)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.92),inset 0 -5px 0 rgba(0,0,0,.06),0 6px 10px rgba(0,0,0,.18)!important}
.sparrow-piece:before{content:"";position:absolute;left:12%;right:12%;top:7%;height:34%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,0));pointer-events:none}
.sparrow-piece:after{content:"";position:absolute;inset:2px;border-radius:14px;border:1px solid rgba(255,255,255,.48);pointer-events:none}
.sparrow-piece img{filter:drop-shadow(0 4px 4px rgba(0,0,0,.16)) saturate(1.02)}
.sparrow-piece.is-selected{outline:4px solid #ffe571!important;box-shadow:0 0 0 4px rgba(255,229,113,.25),0 8px 16px rgba(0,0,0,.22),inset 0 2px 0 rgba(255,255,255,.92)!important}
.sparrow-piece.is-special .sparrow-piece-gem{filter:drop-shadow(0 0 8px rgba(255,229,108,.92)) drop-shadow(0 0 14px rgba(255,255,255,.35))}
.sparrow-piece[data-special="rainbow"]{background:linear-gradient(180deg,#fffefc 0%,#f9efff 48%,#ebf6ff 100%)!important;box-shadow:0 0 0 2px rgba(255,255,255,.35),0 6px 16px rgba(72,132,255,.20),0 0 18px rgba(255,120,171,.18),inset 0 1px 0 rgba(255,255,255,.95)!important}
.sparrow-piece[data-special="rainbow"] .special-mark{background:linear-gradient(180deg,#fff7ff,#e4ccff)!important;box-shadow:0 3px 6px rgba(0,0,0,.20),0 0 14px rgba(178,121,255,.78)!important}
.sparrow-piece[data-special^="rocket"] .special-mark{background:linear-gradient(180deg,#fff9bf,#ffc752)!important;box-shadow:0 3px 6px rgba(0,0,0,.20),0 0 14px rgba(255,195,72,.82)!important}
.sparrow-game-hud span{box-shadow:0 3px 8px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.85)}
.sparrow-match-ring{position:absolute;left:50%;top:50%;width:42px;height:42px;margin:-21px 0 0 -21px;border-radius:50%;border:4px solid rgba(255,241,153,.78);box-shadow:0 0 0 10px rgba(255,241,153,.10),0 0 22px rgba(255,219,77,.42);animation:saRing .72s ease-out forwards}
.sparrow-match-ring.is-mega{border-color:rgba(255,142,104,.84);box-shadow:0 0 0 12px rgba(255,142,104,.10),0 0 28px rgba(255,142,104,.40)}
.sparrow-match-ring.is-rainbow{border-color:rgba(192,136,255,.88);box-shadow:0 0 0 12px rgba(192,136,255,.10),0 0 32px rgba(192,136,255,.48)}
@keyframes saRing{0%{opacity:.95;transform:translate(-50%,-50%) scale(.45)}100%{opacity:0;transform:translate(-50%,-50%) scale(4.3)}}
.sparrow-match3-board.fx-hit{animation:saBoardHitPremium .34s ease-out}
.sparrow-match3-board.fx-mega{animation:saBoardMegaPremium .46s ease-out}
@keyframes saBoardHitPremium{0%,100%{transform:none;filter:none}30%{transform:scale(1.016);filter:brightness(1.06)}60%{transform:scale(.994)}}
@keyframes saBoardMegaPremium{0%,100%{transform:none;filter:none}18%{transform:scale(1.022);filter:brightness(1.16) saturate(1.08)}38%{transform:translateX(-3px)}56%{transform:translateX(3px)}74%{transform:scale(1.008);filter:brightness(1.08)}}
@media(max-width:680px){.sparrow-match3-wrap:before{width:96%;inset:10px auto auto 50%}.sparrow-match3-board:before{border-radius:15px}.sparrow-piece:after{border-radius:9px}.sparrow-match-ring{width:32px;height:32px;margin:-16px 0 0 -16px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.sparrow-match-ring,.sparrow-match3-wrap:before{display:none!important}}



/* 6.8.3 — Sparrow Adventure : mélange automatique si aucun coup possible */
.sparrow-match3-board.is-auto-shuffle{animation:saAutoShuffle .72s cubic-bezier(.2,.8,.25,1)!important}.sparrow-match3-board.is-auto-shuffle .sparrow-piece{animation:saShufflePiece .62s ease-in-out both!important;animation-delay:calc(var(--sa-delay,0ms) * .55)!important}@keyframes saAutoShuffle{0%{transform:scale(1) rotate(0);filter:saturate(1)}28%{transform:scale(.965) rotate(-.7deg);filter:saturate(1.25) brightness(1.08)}58%{transform:scale(.975) rotate(.7deg);filter:saturate(1.2)}100%{transform:scale(1) rotate(0);filter:saturate(1)}}@keyframes saShufflePiece{0%{transform:scale(1) rotate(0);opacity:1}35%{transform:scale(.76) rotate(-8deg);opacity:.55}65%{transform:scale(.82) rotate(7deg);opacity:.72}100%{transform:scale(1) rotate(0);opacity:1}}@media(prefers-reduced-motion:reduce){.sparrow-match3-board.is-auto-shuffle,.sparrow-match3-board.is-auto-shuffle .sparrow-piece{animation:none!important}}
