/* Scoped to college escapades; never shifts the Swipe card or Moki help. */
.cg-brief{padding:15px 18px;border-radius:18px;background:#e4f3f1;border:1px solid #beded8;margin:0 0 14px;color:#245564}
.cg-brief>span{font-size:10px;font-weight:750;letter-spacing:.1em}.cg-brief p{margin:5px 0 0;font-size:16px;line-height:1.45;font-weight:600}
.cg-demo-open{display:block;margin:12px auto;font-size:13px!important}.cg-demo{background:#fff9ed;color:#284957;padding:18px;border-radius:16px;margin:14px 0}.cg-demo>span,.cg-demo>small{font-size:11px}.cg-demo h3{font-size:20px;margin:12px 0}.cg-demo p{font-size:15px;line-height:1.6}.cg-demo-visual{padding:18px 8px;border:1px dashed #91b6bd;border-radius:12px;text-align:center;font-size:23px;background:white;overflow-wrap:anywhere}.cg-demo-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.cg-lift-scene{max-width:340px;margin:16px auto 8px}.cg-lift-scene svg{width:100%;display:block}.cg-lift-controls{display:grid;gap:8px;max-width:340px;margin:auto;text-align:center}.cg-lift-controls output{font-size:14px}.cg-lift-controls strong{font-size:24px}.ex-play-area .cg-check{width:100%;margin:16px auto 0;display:block;max-width:370px}.ex-ascenseur .ex-stage{background:linear-gradient(#204b64,#103b56)}
.ex-banquet .ex-stage{background:radial-gradient(ellipse at top,#4b7060,#193f3d)}.cg-banquet-scene{margin-top:16px}.cg-pantry{background:#fff2d9;color:#574a36;border:2px solid #e8c69a;border-radius:16px;padding:12px;text-align:center;margin-bottom:22px;min-height:100px}.cg-pantry>strong{font-size:15px}.cg-pantry>small{display:block;margin-top:9px}.cg-cookies{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;align-content:center;min-height:24px;padding:8px 0}.cg-cookies i{width:20px;height:20px;flex:0 0 20px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#684624 1.5px,transparent 2px),radial-gradient(circle at 68% 65%,#684624 1.5px,transparent 2px),radial-gradient(circle at 35% 72%,#684624 1px,transparent 2px),#e9b56f;border:1px solid #a96f34;box-shadow:inset 1px 1px 0 #ffe4b0}
.cg-guests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}.cg-guest{text-align:center;min-width:0}.cg-guests:has(.cg-guest:nth-child(3):last-child) .cg-guest:last-child{grid-column:1 / -1;width:calc(50% - 5px);justify-self:center}.cg-guest h3{font-size:14px;margin:4px 0 8px;color:#edfbff}.cg-creature{height:54px;width:66px;position:relative;background:var(--guest);border-radius:45% 45% 30% 30%;margin:auto;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:inset 0 -5px 0 #0001}.cg-creature::before,.cg-creature::after{content:'';position:absolute;width:18px;height:23px;background:var(--guest);top:-7px;border-radius:70% 20% 0 0;transform:rotate(-12deg);left:4px}.cg-creature::after{left:auto;right:4px;transform:rotate(12deg);border-radius:20% 70% 0 0}.cg-creature i{width:14px;height:17px;border-radius:50%;background:radial-gradient(circle at 55% 55%,#173e4e 3px,white 4px);z-index:1}.cg-creature b{position:absolute;bottom:-1px;color:#254956;font-size:22px}.cg-fed{animation:cg-bounce .7s ease-in-out 2}.cg-plate{background:#f8fcf6;border:3px solid #bed6ce;border-radius:45%;padding:4px 7px;min-height:76px;color:#365850;display:flex;flex-direction:column;justify-content:center}.cg-plate output{font-size:13px;font-weight:650}.cg-serve{display:grid;gap:6px;margin-top:10px}.cg-serve button{padding:9px 4px!important;font-size:13px!important;min-height:44px}.cg-serve button:nth-child(2){background:transparent;color:#e8f4f0;border-color:#7ba297}.ex-cover-banquet{background:radial-gradient(ellipse at bottom,#789d67,#214c45)}
.cg-guests:has(.cg-guest:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.cg-guests:has(.cg-guest:nth-child(3):last-child) .cg-guest:last-child{grid-column:auto;width:auto}.cg-plate{border-radius:35%;padding-inline:3px}.cg-guests{column-gap:7px}.cg-creature{max-width:100%}
.cg-link{font-size:14px;line-height:1.5}.ex-success>.cg-link{margin:8px 0}.ex-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.ex-catalog .ex-game-copy h3{font-size:21px}
@keyframes cg-bounce{50%{transform:translateY(-5px) rotate(4deg)}}
@media(min-width:580px){.cg-guests{grid-template-columns:repeat(4,minmax(0,1fr))}.cg-guests:has(.cg-guest:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.cg-guests:has(.cg-guest:nth-child(3):last-child) .cg-guest:last-child{grid-column:auto;width:auto}}
@media(max-width:720px){.ex-catalog{grid-template-columns:1fr}.cg-brief{padding:12px 14px}.cg-brief p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.cg-fed{animation:none}}
/* Second batch: night train, dance floor and measured fence. */
.ex-lucioles .ex-stage{background:linear-gradient(150deg,#132942,#343a60)}.ex-disco .ex-stage{background:linear-gradient(150deg,#204c4b,#394169)}.ex-enclos .ex-stage{background:linear-gradient(150deg,#355a48,#1f4140)}
.cg-scene-label{font-size:14px;color:#eef9ff;text-align:center;line-height:1.5}.cg-train-scene{position:relative;margin:16px 0}.cg-train-moon{text-align:right;color:#ffe697;font-size:30px;line-height:1}.cg-wagons{display:grid;gap:13px}.ex-play-area .cg-wagon{display:block;width:100%;padding:12px 10px;background:#293e64;border:2px solid #9aadd1;border-radius:15px;color:#fff;box-shadow:0 6px 0 #101e33;text-align:center}.cg-wagon strong{font-size:14px}.cg-wagon small{display:block;font-size:11px;margin-top:5px;color:#d8e9fb}.cg-passengers{display:flex;gap:7px;justify-content:center;margin:8px 0}.cg-passengers i{font-style:normal;width:32px;height:32px;border:1px dashed #a7b8ce;border-radius:50%;display:grid;place-items:center;color:#7387a5}.cg-passengers .is-lit{color:#fff3a8;border:1px solid #ead880;background:#8e7738;box-shadow:0 0 13px #ffe88975}.cg-track{margin:7px 0;text-align:center;color:#93a7c6;overflow:hidden;white-space:nowrap}
.cg-tally{padding:14px 10px;margin:15px 0;border-radius:16px;background:#edf8f4;color:#254a52;text-align:center}.cg-tally label{display:block;font-size:15px;font-weight:650}.cg-tally output{white-space:nowrap}.cg-tally>div{display:flex;justify-content:center;gap:8px;margin:10px 0}.cg-tally button{min-width:52px;min-height:44px}.cg-tally small{font-size:11px;display:block;line-height:1.4}
.cg-frog-host{text-align:center;font-size:27px;margin:18px 0 10px}.cg-floor{display:grid;grid-template-columns:repeat(var(--cols),minmax(44px,1fr));gap:5px;width:min(100%,270px);margin:16px auto;padding:6px;border:2px solid #83b5c7;border-radius:10px;background:#1b303e;box-sizing:border-box}.ex-play-area .cg-floor-tile{padding:0;min-height:48px;aspect-ratio:1;border-radius:5px;background:#244150;color:#a1b9c5;border:1px dashed #86a6b7;font-size:23px}.ex-play-area .cg-floor-tile.is-laid{background:#8ae0cb;color:#275753;border:1px solid #c3fff0;box-shadow:inset 0 0 10px #d5ffed}.cg-floor-tile.is-laid:nth-child(3n){background:#cea6ed;color:#47336a}.cg-floor-tile.is-laid:nth-child(3n+1){background:#efdaa1;color:#574826}
.cg-enclosure-scene{max-width:330px;margin:18px auto 10px}.cg-enclosure-scene svg{width:100%;display:block}.cg-rope-controls{text-align:center;color:#effaf3}.cg-rope-controls output{display:block;font-size:15px;margin:10px}.cg-rope-controls output strong{font-size:22px}.cg-rope-controls>div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.cg-rope-controls button{font-size:13px!important;min-height:44px;padding:10px!important}
.ex-cover-lucioles{background:radial-gradient(circle at 60% 30%,#b59647,#192f50 65%)}.ex-cover-disco{background:linear-gradient(135deg,#296263,#865fa2)}.ex-cover-enclos{background:linear-gradient(135deg,#90ad75,#294b41)}
.cg-wagons{gap:22px}.ex-play-area .cg-wagon{position:relative;border-radius:18px 18px 8px 8px;border-bottom:5px solid #6d87a8}.cg-wagon::before,.cg-wagon::after{content:'';position:absolute;bottom:-12px;width:17px;height:17px;border:3px solid #adc2d8;box-sizing:border-box;border-radius:50%;background:#10233e;left:18%}.cg-wagon::after{left:auto;right:18%}.cg-track{margin-top:14px}
/* Third batch: only scoped game scenes, no Swipe layout changes. */
.ex-provisions .ex-stage{background:linear-gradient(145deg,#224b51,#385955)}.ex-monnaie .ex-stage{background:linear-gradient(145deg,#315758,#293e51)}.ex-recette .ex-stage{background:linear-gradient(145deg,#664d53,#37445b)}
.ex-cover-provisions{background:linear-gradient(135deg,#ad8b56,#305853)}.ex-cover-monnaie{background:linear-gradient(135deg,#b79a46,#2b5554)}.ex-cover-recette{background:linear-gradient(135deg,#be8273,#514465)}
.cg-stock{padding:22px;color:#ffd382;border:2px dashed #bcb491;border-radius:20px;font-size:23px;text-align:center;line-height:1.6;letter-spacing:4px}.ex-play-area .cg-pack{display:block;width:100%;margin:16px 0;min-height:48px}
.cg-crates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px;margin:16px 0}.ex-play-area .cg-crate{padding:10px 7px;border:2px solid #c49c68;border-bottom:6px solid #9d754d;border-radius:12px;background:#fff0d5;color:#4c4739;min-width:0;box-shadow:0 3px 0 #132f32}.cg-crate strong{display:block;font-size:13px}.cg-fruit{display:block;color:#9e591a;font-size:20px;line-height:1.6}.cg-crate small{display:block;font-size:11px;line-height:1.4;min-height:31px}.ex-play-area .cg-crate.is-loaded{background:#d9f2eb;border-color:#80cbb7;color:#244f4c;transform:translateY(-3px)}.cg-sled{padding:14px 10px;border-radius:12px;background:#d9edf1;color:#264f59;text-align:center;font-size:14px;line-height:1.5}
.cg-shop-sign{padding:14px 8px;text-align:center;font-size:17px;color:#fff2cd;border-bottom:2px dashed #a4bdab}.cg-receipt{background:#fff6e2;color:#51473c;padding:8px 15px;border-radius:12px;margin:16px 0}.cg-receipt p{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px}.cg-receipt strong{white-space:nowrap}.cg-coins{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:16px 0}.ex-play-area .cg-coin{border-radius:50%;width:58px;min-height:58px;padding:0;border:3px solid #c8a85b;background:#f5d88d;color:#4d421f;box-shadow:inset 0 0 0 2px #fff0bd;font-size:15px}.cg-change{background:#eef7f1;color:#30514c;padding:15px 10px;border-radius:18px;text-align:center;font-size:14px}.cg-change p{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-height:150px;overflow:auto}.cg-change p>span{border:1px solid #bfaf79;background:#fff4d1;border-radius:20px;padding:5px 7px;font-size:12px}.cg-change button{min-height:44px;font-size:13px!important}.cg-shop-check{display:grid;gap:5px;text-align:center;color:#ecfbf6;margin:17px 0;font-size:14px}.cg-shop-check strong{font-size:25px}
.cg-recipe-card{padding:18px 12px;background:#fff0df;color:#694742;border:2px dashed #d7a69a;border-radius:16px;text-align:center;margin-top:16px;display:grid;gap:9px}.cg-recipe-card>span{font-size:17px}.cg-recipe-card strong{font-size:15px}.cg-recipe-card small{font-size:12px}.cg-bowls{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;min-height:70px;align-items:center;margin:18px 0;color:#fdf0e7;font-size:14px}.cg-bowl{display:grid;text-align:center;gap:3px;background:#ffffff12;border-radius:12px;padding:9px 10px;min-width:65px}.cg-bowl>span{font-size:32px}.cg-bowl strong{font-size:14px}.cg-bowl small{font-size:12px}.cg-kitchen-controls{display:grid;gap:8px}.cg-kitchen-controls button{min-height:44px;font-size:14px!important}
.cg-fruit{display:flex;justify-content:center;flex-wrap:wrap;gap:5px 3px;margin:9px 0}.cg-fruit i{display:block;position:relative;width:16px;height:17px;flex:0 0 16px;border-radius:46%;background:radial-gradient(circle at 30% 30%,#ffdc83,#ee9c35 48%,#c36b1b);box-shadow:inset -1px -2px 0 #99511c44}.cg-fruit i::after{content:'';position:absolute;width:7px;height:4px;top:-2px;left:8px;background:#527845;border-radius:90% 0;transform:rotate(-20deg)}
/* A gentle step up: ratios, reductions and two-step equations. */
.ex-cometes .ex-stage{background:radial-gradient(ellipse at top,#514b7e,#182c49)}.ex-bazar .ex-stage{background:linear-gradient(145deg,#485448,#333649)}.ex-coffres .ex-stage{background:linear-gradient(145deg,#375d69,#243d51)}
.ex-cover-cometes{background:radial-gradient(circle at 70% 20%,#b28cda,#273b60 70%)}.ex-cover-bazar{background:linear-gradient(135deg,#b29050,#40564d)}.ex-cover-coffres{background:linear-gradient(135deg,#72adbb,#294559)}
.cg-new-controls{display:grid;gap:8px;margin:14px 0}.cg-new-controls button{min-height:46px;font-size:14px!important}
.cg-kit-pattern{background:#f2ebff;border:2px solid #c1acdc;border-radius:16px;padding:15px 10px;color:#42375f;text-align:center}.cg-kit-pattern strong{font-size:15px}.cg-kit-pattern small{font-size:11px;display:block;line-height:1.5}.cg-stars{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin:12px 0}.cg-stars i{font-style:normal;width:21px;height:25px;display:grid;place-items:center;font-size:23px;text-shadow:0 0 8px #fff4}.cg-red-star{color:#b62d55}.cg-blue-star{color:#185ca8}.cg-parade{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;min-height:70px;color:#edf2ff;font-size:14px;align-items:center}.cg-kit{padding:10px 6px;border:1px solid #c5c1e8;border-radius:18px;background:#f3efff;color:#443e5c;text-align:center;box-shadow:0 4px 0 #141f3c}.cg-kit strong{font-size:12px}.cg-kit .cg-stars{gap:1px}.cg-kit .cg-stars i{width:18px;font-size:20px}
.cg-dragon-sign{display:flex;gap:16px;justify-content:center;align-items:center;background:#fff2d4;color:#5b4432;padding:16px 10px;border-radius:18px}.cg-dragon-sign>span{font-size:46px}.cg-dragon-sign strong,.cg-dragon-sign small{display:block}.cg-dragon-sign strong{font-size:18px}.cg-dragon-sign small{margin-top:5px;font-size:14px}.cg-tickets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0}.ex-play-area .cg-ticket{background:#ffe4a3;color:#51422e;border:2px dashed #b78c45;border-radius:12px;padding:10px 5px;min-height:67px}.cg-ticket strong{font-size:18px;display:block}.cg-ticket small{font-size:12px;display:block;margin-top:4px}.ex-play-area .cg-ticket.is-removed{background:#e4e9e6;color:#65716b;border-color:#8da397}.cg-ticket.is-removed strong{text-decoration:line-through}.cg-price-controls{flex-wrap:wrap!important;gap:5px!important}.cg-price-controls button{min-width:44px!important;padding:8px!important}
.cg-twin-pans{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);gap:4px;align-items:stretch;margin-top:16px}.cg-twin-pans section{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;background:#ecf6fa;color:#345460;border:2px solid #89adbb;border-bottom:6px solid #7094a3;border-radius:12px;padding:12px 5px;text-align:center}.cg-twin-pans strong{font-size:12px}.cg-twin-pans small{font-size:12px}.cg-pan-equal{align-self:center;color:#fff;font-size:21px;text-align:center}.cg-chests,.cg-kilos{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px}.cg-chests i{font-style:normal;display:grid;place-items:center;width:27px;height:29px;border:2px solid #a78241;border-radius:7px;background:linear-gradient(#e3bc71 40%,#b78641 41%,#cfa465 56%);color:#47321b;font-weight:800;font-size:20px;box-shadow:inset 0 0 0 2px #ecd294}.cg-kilos i{font-style:normal;display:grid;place-items:center;width:19px;height:21px;font-size:12px;font-weight:700;background:#7596a6;color:#fff;border-radius:5px 5px 3px 3px;border:1px solid #456878}.cg-group-buttons{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.cg-group-buttons button{min-height:44px;padding:9px 8px!important;font-size:13px!important}.cg-chest-groups{display:grid;gap:10px}.cg-chest-group{display:grid;grid-template-columns:36px 12px minmax(0,1fr);gap:8px;align-items:center;padding:12px 10px;background:#edf7fa;color:#345664;border-radius:15px}.cg-chest-group small{grid-column:1/-1;font-size:12px}.cg-chest-group .cg-kilos{justify-content:flex-start}
/* Fractions, unit prices and Pythagoras: all selectors stay inside game scenes. */
.ex-cables .ex-stage{background:linear-gradient(145deg,#35556b,#333d59)}.ex-escale .ex-stage{background:linear-gradient(145deg,#2e625f,#254356)}.ex-canyon .ex-stage{background:linear-gradient(145deg,#495e60,#294452)}
.ex-cover-cables{background:linear-gradient(130deg,#7999b5,#374f65)}.ex-cover-escale{background:linear-gradient(130deg,#8ab6a7,#2c565d)}.ex-cover-canyon{background:linear-gradient(130deg,#c7a679,#3b6570)}
.cg-cable-card,.ex-play-area .cg-cable-card{background:#f0f6fb;border:2px solid #a0bed0;border-radius:15px;padding:15px 10px;color:#324d60;text-align:center;min-width:0;width:100%;box-sizing:border-box}.cg-cable-card strong{display:block;font-size:15px}.cg-cable-card small{display:block;font-size:11px;line-height:1.5}.cg-wire{display:grid;grid-template-columns:repeat(var(--pieces),minmax(0,1fr));gap:2px;border:1px dashed #94afbd;border-radius:8px;padding:7px 3px;margin:12px 0 17px;width:100%;box-sizing:border-box}.cg-wire i{height:16px;background:#dfeaf0;border-radius:3px}.cg-wire i.has-wire{background:linear-gradient(#ffce86 20%,#b47d43 25%,#dfad6e 70%,#79582f 80%);box-shadow:0 2px 0 #b89463}.cg-cable-join{display:grid;gap:12px}.ex-play-area .cg-cable-card.is-joined{border-color:#6abb9d;background:#e2f3eb}.cg-snip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.cg-snip button{min-height:68px;padding:8px 3px!important;background:#ffe1af;color:#6f4d2d}.cg-snip button>span{display:block;font-size:24px}.cg-snip small{font-size:12px;display:block}.ex-play-area .cg-snip .is-cut{background:#e3eaf0;color:#5b6e78;border-style:dashed}
.cg-lot{display:grid;gap:9px;padding:15px 12px;background:#e8f7ed;color:#305751;text-align:center;border-radius:18px;border:2px solid #a3c9b9}.cg-lot>span{font-size:30px}.cg-lot strong{font-size:16px}.cg-lot small{font-size:12px;line-height:1.5}.cg-loading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.ex-play-area .cg-loading button{display:grid;gap:6px;background:#edf6f7;color:#365763;border:2px dashed #abc4ca;border-radius:15px;padding:12px 5px;min-height:110px}.cg-loading button>span{font-size:30px;line-height:1.1}.cg-loading strong{font-size:13px}.cg-loading small{font-size:11px;line-height:1.4}.ex-play-area .cg-loading .is-loaded{border-style:solid;border-color:#c39e61;background:#f7e6c8;color:#5b5039}.cg-loading .is-loaded>span{color:#aa773e}
.cg-canyon-scene svg{display:block;width:100%;max-width:370px;margin:16px auto;border:1px solid #809fad;border-radius:20px}.cg-square-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.ex-play-area .cg-square-picks button{padding:12px 5px;background:#f6ead1;color:#605438;border:2px solid #cbb485;border-radius:12px;display:grid;gap:5px}.cg-square-picks button>span{font-size:30px;line-height:1.1}.cg-square-picks strong{font-size:13px}.cg-square-picks small{font-size:11px;line-height:1.5}.ex-play-area .cg-square-picks .is-added{background:#e0f1e7;border-color:#8ec5ad;color:#355849}
/* V159 game-only controls. No card, navigation or mascot layout selectors. */
.ex-echos .ex-stage{background:linear-gradient(150deg,#47345f,#263f59)}.ex-hangar .ex-stage{background:linear-gradient(150deg,#365c60,#29384f)}.ex-theatre .ex-stage{background:linear-gradient(150deg,#694553,#353451)}
.ex-cover-echos{background:linear-gradient(130deg,#ad93ce,#374e73)}.ex-cover-hangar{background:linear-gradient(130deg,#9fc8c5,#405b6a)}.ex-cover-theatre{background:linear-gradient(130deg,#cbae8c,#6c4a66)}
.ng-controls{display:grid;gap:9px;margin:15px 0}.ng-controls button{min-height:46px;font-size:14px!important}
.ng-signal{padding:18px 12px;border-radius:20px;background:#172b42;color:#e6f9ff;text-align:center;margin:15px 0}.ng-signal>small{font-size:11px;letter-spacing:.1em}.ng-tower{display:flex;flex-direction:column;gap:6px;padding:18px 0}.ng-tower>div{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:12px;background:linear-gradient(110deg,#59627e,#354d6c);border:2px solid #95c7dc;border-radius:9px;box-shadow:0 3px 0 #122336}.ng-tower span{font-size:13px}.ng-tower strong{font-size:22px;color:#c7fbff}.ng-chain{font-size:16px;overflow-wrap:anywhere}
.ng-dial{padding:14px 9px;border-radius:17px;background:#edf7f4;color:#274c53;margin:12px 0;text-align:center;min-width:0}.ng-dial label{display:block;font-size:14px;font-weight:650}.ng-dial output{display:block;font-size:24px;margin:7px 0}.ng-dial>div{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.ng-dial button{min-width:44px;min-height:44px;padding:8px!important;font-size:15px!important}
.ng-expression{padding:15px 8px;border:1px solid #badde0;border-radius:13px;background:#eef7fb;color:#254b5a;text-align:center;font-size:23px!important;font-weight:750;overflow-wrap:anywhere}.ng-lots{display:grid;gap:12px;margin:16px 0}.ex-play-area .ng-lots button{display:grid;gap:8px;background:#e5f1f1;color:#314e5a;border:2px dashed #9ac2c6;border-radius:16px;padding:15px 10px;min-height:110px}.ng-lots button[aria-pressed=true]{border-style:solid;background:#e2ede4}.ng-lots button>span{font-size:13px}.ng-lots button>.ng-box{font-size:35px}.ng-robots{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.ng-robots i{font-size:28px;font-style:normal;background:#94bcc9;border:2px solid #436b7c;border-radius:9px;padding:7px 9px;color:#224858}.ng-robots small{display:block;font-size:12px;font-weight:700}
.ng-tickets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:18px 0}.ex-play-area .ng-tickets button{padding:10px 2px;min-height:76px;border:2px dashed #dab688;background:#fae2b7;color:#59425a;border-radius:10px}.ng-tickets button>span{display:block;font-size:26px}.ng-tickets small{display:block;font-size:10px}.ex-play-area .ng-tickets .is-marked{background:#d9eee5;border-style:solid;border-color:#64ac93;color:#28534b}.ng-probability{display:grid;gap:7px;text-align:center;padding:18px;background:#f7ecda;color:#634458;border-radius:15px}.ng-probability strong{font-size:31px}.ng-probability span{font-size:12px}
@media(max-width:360px){.ng-tickets{grid-template-columns:repeat(3,minmax(0,1fr))}.ng-expression{font-size:20px!important}}
/* V159: scoped manipulation scenes, preserving card and Moki layout. */
.ex-jardin .ex-stage{background:linear-gradient(150deg,#496743,#254b4d)}.ex-reserve .ex-stage{background:linear-gradient(150deg,#635344,#304855)}.ex-lanternes .ex-stage{background:linear-gradient(150deg,#544264,#283f5c)}
.ex-cover-jardin{background:linear-gradient(130deg,#9fbb80,#3e6c58)}.ex-cover-reserve{background:linear-gradient(130deg,#c7ad84,#4a6874)}.ex-cover-lanternes{background:linear-gradient(130deg,#c899c9,#4c5687)}
.qg-target{display:grid;gap:7px;padding:16px 10px;background:#eef4dd;color:#385441;text-align:center;border:2px solid #aac88e;border-radius:16px;margin:14px 0;font-size:15px}.qg-target strong{font-size:25px}.qg-target small{font-size:12px}
.qg-garden{display:grid;grid-template-columns:repeat(var(--side),minmax(0,1fr));gap:2px;aspect-ratio:1;max-width:300px;margin:20px auto;padding:10px;border:5px solid #a58c56;background:#c5d7a6;border-radius:7px;box-sizing:border-box}.qg-garden i{display:block;background:linear-gradient(140deg,#7ca768,#b1c887);border:1px solid #506e42;border-radius:2px}.qg-garden>span{align-self:center;text-align:center;color:#38563e;padding:12px;font-size:14px}
.qg-reserves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.qg-reserves section{display:grid;align-content:start;gap:9px;min-width:0;border:2px solid #d0b38a;border-radius:15px;background:#f7ecd8;padding:12px 7px;color:#5b4837;text-align:center}.qg-reserves section.is-donor{outline:3px solid #84d2bc;background:#e6f3e9}.qg-reserves strong{font-size:13px}.qg-reserves section>span{font-size:16px;font-weight:700}.ex-play-area .qg-reserves button{min-height:44px;min-width:0;padding:9px 3px!important;font-size:12px!important}.qg-food{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;min-height:29px;align-content:center}.qg-food i{font-style:normal;border:1px solid #b18541;background:#efcf83;border-radius:3px;display:grid;place-items:center;width:18px;height:22px;color:#674a28;font-size:15px}.qg-food .is-half{background:linear-gradient(90deg,#efcf83 50%,#fff8e8 50%);font-size:12px}
.qg-parade,.qg-waiting{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:16px 7px;margin:14px 0;border-radius:16px;background:#ffffff12;min-height:60px;align-items:center;color:#fff}.ex-play-area .qg-parade button{display:grid;gap:6px;background:#f7d49a;border:2px solid #cc9a64;color:#5e3d55;border-radius:12px 12px 20px 20px;padding:12px 7px;min-width:64px;min-height:75px;box-shadow:0 4px 0 #122e40}.qg-parade strong{font-size:23px}.qg-parade small{font-size:11px}.ex-play-area .qg-parade .is-middle{border:3px solid #68c1ac;background:#ddf3e7;color:#2b6155}.ex-play-area .qg-waiting button{border-radius:14px;background:#efd7eb;color:#5a3d60;min-width:52px;min-height:52px;font-size:21px}
.qg-ground{display:grid;place-items:center;min-height:265px}.qg-ground .qg-garden{width:calc(var(--side) * 18px + 20px);margin:10px auto}.qg-ground .qg-garden.is-empty{width:200px;background:#c5d7a633;border-style:dashed}.qg-ground .qg-garden.is-empty>span{color:#e8f5df}

/* V159: scoped journey and packing scenes. */
.rg-target,.rg-route,.rg-crates{color:#173f50}
.rg-target{display:grid;gap:6px;text-align:center;background:#e9f5f4;border:1px solid #bbd8d8;border-radius:18px;padding:14px;margin-bottom:12px}.rg-target span{font-size:.9em}
.rg-route{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;background:linear-gradient(#edf9ff,#ddede4);border-radius:20px;padding:18px 10px;min-height:120px;margin:14px 0}.rg-block{display:grid;gap:4px;min-width:66px;text-align:center;background:#fff;border:2px dashed #669ea4;border-radius:12px;padding:8px}.rg-block small{font-size:.72em}.rg-depot,.rg-van{font-weight:700;font-size:.85em;padding:6px}
.rg-crates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.rg-crates section{min-width:0;display:grid;align-content:start;gap:8px;text-align:center;border:2px solid #ba936a;border-radius:14px;background:#fff5e8;padding:10px 6px}.rg-crates section>span{font-size:.75em}.rg-crate-content{min-height:82px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:5px}.rg-parcel,.rg-weight{font-style:normal;font-size:.72em;padding:5px;border-radius:5px;white-space:nowrap}.rg-parcel{background:#267595;color:white}.rg-weight{background:#eee1c8;border:1px solid #887353;color:#493a29}.rg-packing{display:grid;gap:9px}.rg-packing button{width:100%;white-space:normal;min-height:44px}
@media(min-width:650px){.rg-crates{grid-template-columns:repeat(4,minmax(0,1fr))}.rg-packing{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V159: all colours are explicit against the shared dark play area. */
.sg-target,.sg-model,.sg-conversion{color:#173f50;background:#edf7f1;border:1px solid #b7d5c7;border-radius:18px;padding:15px;margin:12px 0;display:grid;gap:12px;text-align:center}.sg-target span,.sg-model small{font-size:.85em}.sg-model>div,.sg-conversion>div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.sg-piece,.sg-real,.sg-meter{display:inline-block;border:2px solid #457868;border-radius:8px;background:#fff;padding:10px;font-size:.9em}.sg-real{background:#d7ebd8;border-style:dashed}.sg-meter{background:#ceecf5}.sg-roof,.sg-fan{display:block;width:100%;height:auto;max-width:360px;margin:12px auto;background:#f2f6fc;border-radius:18px}.sg-roof text,.sg-fan text{font:600 17px system-ui;fill:#173f50;text-anchor:middle}.sg-corners{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.sg-corners button{white-space:normal;min-height:44px}

/* V159: layer diagrams and missing-leg scenes. */
.tg-target,.tg-area{display:grid;gap:9px;text-align:center;background:#edf6ef;color:#173f50;border-radius:18px;padding:14px;margin:12px 0}.tg-target span,.tg-area small{font-size:.83em}.tg-layers{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0}.tg-layer{min-width:0;background:#f0f7fb;color:#173f50;border:2px solid #7facc0;border-radius:12px;padding:8px}.tg-layer strong{display:block;font-size:.75em;text-align:center;margin-bottom:8px}.tg-layer>div{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:3px;min-height:40px}.tg-layer i{aspect-ratio:1;background:linear-gradient(135deg,#d4f0fc,#6da6c3);border:1px solid #366a83;border-radius:3px}.tg-layer span{grid-column:1/-1;font-size:.8em}.tg-controls{display:grid;gap:8px}.tg-controls button{white-space:normal;min-height:44px}.tg-cabin{width:100%;max-width:360px;display:block;margin:12px auto;background:#f1f8ee;border-radius:18px}.tg-cabin text{font:600 15px system-ui;fill:#173f50;text-anchor:middle}.tg-total{display:flex;min-height:72px;border:1px solid #597266;border-radius:10px;overflow:hidden}.tg-total span{display:flex;align-items:center;justify-content:center;font-size:.8em;padding:4px}.tg-height-area{background:#a9d6e4}.tg-ground-area{background:#edc58d}.tg-ground-area.is-removed{background:repeating-linear-gradient(45deg,#f8f6ee 0 5px,#d7d8d0 5px 7px);text-decoration:line-through;color:#46524c}.tg-square{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:1px;width:min(100%,240px);margin:16px auto;background:#edf7fc;color:#173f50;min-height:45px;border:2px solid #5e94ae;padding:5px}.tg-square i{aspect-ratio:1;background:#a8d5e7;border:1px solid #719cb0}.tg-square span{grid-column:1/-1;text-align:center;padding:10px;font-size:.85em}
