/* Jungle preparation: native, fixed-corner surfaces; never stretch a bitmap button. */
#game[data-route=expedition]{background-size:cover;background-position:50% 45%;border:2px solid #869e4b;border-radius:22px;box-shadow:0 18px 70px #001f21aa,inset 0 0 0 3px #e8bd6d}
#game[data-route=expedition] #screen{grid-template-rows:50px 44px minmax(150px,1fr) 26px 184px 28px 60px 22px;gap:6px;padding:2px 16px 6px;background:linear-gradient(#194d371a,#123f33a6)}
#game[data-route=expedition] #topbar{padding:9px 15px 7px;background:linear-gradient(#174c34e8,#123d2ed9);border-bottom:1px solid #d9c27d99;min-height:68px;box-shadow:0 4px 14px #082a2638}
#game[data-route=expedition] .player-badge,#game[data-route=expedition] .resource-pill{background:linear-gradient(#fff7d5,#f4dda6);border:2px solid #ae7d35;border-radius:18px;box-shadow:inset 0 1px 0 #fffdeb,0 3px 0 #634728;min-width:0}
#game[data-route=expedition] .player-badge{height:47px;padding-right:12px;gap:4px}#game[data-route=expedition] .avatar-frame{width:47px;height:47px}#game[data-route=expedition] .avatar-frame img{width:44px;height:44px}#game[data-route=expedition] .resource-pill{height:35px;padding:4px 9px;font-size:15px}#game[data-route=expedition] .player-badge b{font-size:14px}
#game[data-route=expedition] .view-heading{border:2px solid #f0d08b;border-radius:16px;background:linear-gradient(130deg,#fff6d3,#f1d696);box-shadow:inset 0 0 0 2px #fff8da,0 4px 0 #654c2e,0 7px 12px #163d2c55;color:#254e35;isolation:isolate}
#game[data-route=expedition] .view-heading>img{display:none}#game[data-route=expedition] .view-heading:before,#game[data-route=expedition] .view-heading:after{content:'';position:absolute;top:8px;width:27px;height:27px;border:1px solid #c7aa55;border-radius:3px 20px;background:linear-gradient(135deg,#a1cf53,#447a3c);z-index:-1}#game[data-route=expedition] .view-heading:before{left:15px;transform:rotate(-20deg)}#game[data-route=expedition] .view-heading:after{right:15px;transform:rotate(160deg)}#game[data-route=expedition] .view-heading h1{font:24px Jua,sans-serif;margin:0;text-shadow:0 1px #fffef0}
#game[data-route=expedition] .jungle-enemy-row{background:linear-gradient(110deg,#143e32f0,#294f3eea);border:1px solid #d0b77c;border-radius:13px;box-shadow:inset 0 1px #fff2b229,0 3px 9px #123a2866;gap:16px;color:#fff2ce}
#game[data-route=expedition] .jungle-enemy-row span{font-size:16px}#game[data-route=expedition] .jungle-enemy-row small{width:auto;font-size:12px;color:#dbe5c5}
#game[data-route=expedition] .jungle-order-stage{border:1px solid #e5ce8d88;border-radius:20px;background:radial-gradient(ellipse at 50% 80%,#ffdf8c45,transparent 72%),linear-gradient(#153e2b15,#0b3a2eaf);box-shadow:inset 0 0 30px #092f2650,0 6px 18px #0e382b55;overflow:hidden}
#game[data-route=expedition] .jungle-cast{height:calc(100% - 82px);object-fit:fill;left:0;top:0;width:100%}#game[data-route=expedition] .jungle-slots{height:82px;gap:8px;padding:0 9px 8px;bottom:0;align-items:stretch}
#game[data-route=expedition] .jungle-slot{border:1px solid #c2c98c88;border-radius:13px;background:linear-gradient(#245a41e8,#173e32f2);padding:7px 4px 4px;text-shadow:0 1px #133c2b;box-shadow:inset 0 1px #ffffff22}
#game[data-route=expedition] .jungle-slot>b{left:6px;top:7px;width:22px;height:22px;line-height:22px;background:linear-gradient(#fff3b0,#e6b951);box-shadow:0 2px #805b29;font-size:16px;border:0}#game[data-route=expedition] .jungle-slot strong{font-size:18px;line-height:20px}#game[data-route=expedition] .jungle-slot small{font-size:11px;color:#dae7c5;line-height:14px}#game[data-route=expedition] .jungle-slot>div{margin-top:3px;gap:5px}#game[data-route=expedition] .jungle-slot button{background:linear-gradient(#fff4c8,#e7ce8e);border:1px solid #a38345;min-width:40px;min-height:29px;font-size:12px;box-shadow:inset 0 1px #fff9df,0 2px #725633;border-radius:8px}#game[data-route=expedition] .jungle-slot button:disabled{opacity:.3;box-shadow:none}
#game[data-route=expedition] .jungle-rule{border:0;background:#133f32d9;border-radius:12px;font-size:12px;color:#e4eac6;letter-spacing:.1px}
#game[data-route=expedition] .jungle-roster{grid-template-rows:24px minmax(0,1fr);gap:4px;border:1px solid #d5bd7e;border-radius:17px;background:linear-gradient(135deg,#194f3def,#143e32f5);padding:7px 8px 9px;box-shadow:inset 0 1px #ffefb644,0 5px 12px #113b2a77}
#game[data-route=expedition] .jungle-roster-heading{padding:0 3px;color:#fff0be}#game[data-route=expedition] .jungle-roster-heading b{font-size:17px}#game[data-route=expedition] .jungle-roster-heading span{font-size:11px;color:#c9ddba}
#game[data-route=expedition] .jungle-owned.panel{border:0;border-image:none;filter:none;background:none;padding:0;gap:6px;overflow:visible}#game[data-route=expedition] .jungle-owned button{background:linear-gradient(155deg,#fff3d3,#ebd4a0);border:1px solid #bb9656;border-radius:11px;box-shadow:inset 0 1px #fffbe3,0 2px 0 #6c5134;gap:0;overflow:hidden;padding:3px 1px}
#game[data-route=expedition] .jungle-owned button.chosen{background:linear-gradient(150deg,#fff9d0,#e7e98f);border:2px solid #e4cb6c;box-shadow:inset 0 0 0 1px #fff9be,0 0 11px #d3ef6f55}#game[data-route=expedition] .jungle-owned img{width:44px;height:37px;object-fit:contain;filter:drop-shadow(0 2px 1px #75583533)}#game[data-route=expedition] .jungle-owned b{font:14px/17px Jua,sans-serif;color:#274c31}#game[data-route=expedition] .jungle-owned small{font:10px/12px KongSans,sans-serif;color:#49613c}#game[data-route=expedition] .jungle-owned em{width:19px;height:19px;right:3px;top:3px;background:#367b4b;border:1px solid #edffc9;font:14px/17px Jua,sans-serif;box-shadow:0 1px 3px #23482866}
#game[data-route=expedition] .jungle-growth-note{background:#123d30db;border-color:#749562;border-radius:11px;font-size:12px}#game[data-route=expedition] .jungle-growth-note img{height:22px;width:22px}
#game[data-route=expedition] .jungle-start-row{gap:8px;align-items:stretch}#game[data-route=expedition] .jungle-start-row>.primary,#game[data-route=expedition] .jungle-start-row>.secondary{background:linear-gradient(#fff5a1 0%,#ffdf54 20%,#f5bd27 60%,#e7a826);border:2px solid #ffef9d;box-shadow:inset 0 0 0 2px #bf8824,inset 0 5px 8px #fff9c586,0 4px #806026,0 7px 14px #123d2b88;border-radius:19px;padding:7px 12px;min-height:55px;filter:none;color:#284c31;position:relative;overflow:hidden;font:25px Jua,sans-serif;text-shadow:0 1px #fff5b8}#game[data-route=expedition] .jungle-start-row>.primary:before{content:'';position:absolute;top:4px;left:8%;right:8%;height:15px;border-radius:50%;background:linear-gradient(#fffbe688,transparent);pointer-events:none}#game[data-route=expedition] .jungle-start-row>.secondary{background:linear-gradient(#fff4d0,#e8ce98);font-size:13px!important;max-width:130px;min-height:48px!important;padding:7px 12px!important;border-color:#f3d9a2;box-shadow:inset 0 0 0 1px #bd9557,0 4px #775832}
#game[data-route=expedition] .jungle-progress-line{font-size:11px;color:#d9e5c2}#game[data-route=expedition] #navigation{min-height:72px;background:linear-gradient(#8d6938,#5a4228);border-top:2px solid #efcf84;border-radius:19px 19px 0 0;box-shadow:inset 0 3px #b98b47,0 -4px 14px #0e352866;padding:4px 7px max(6px,env(safe-area-inset-bottom));filter:none}#game[data-route=expedition] #navigation .icon{object-fit:contain;width:38px;height:36px}#game[data-route=expedition] #navigation button{font-size:12px}#game[data-route=expedition] #navigation button.active .nav-aura{border-radius:13px;box-shadow:0 0 12px #ffed8b77,inset 0 1px #fffbe1}#game[data-route=expedition] #navigation button.active .icon{transform:translateY(-2px) scale(1.04)}
@media(max-width:599px){#game[data-route=expedition]{border-radius:0;border:0}#game[data-route=expedition] #screen{grid-template-rows:44px 40px minmax(145px,1fr) 0 164px 0 56px 20px;gap:5px;padding:2px 9px 5px}#game[data-route=expedition] .view-heading h1{font-size:22px}#game[data-route=expedition] .jungle-rule,#game[data-route=expedition] .jungle-growth-note{display:none}#game[data-route=expedition] .jungle-enemy-row{gap:9px}#game[data-route=expedition] .jungle-enemy-row span{font-size:14px}#game[data-route=expedition] .jungle-enemy-row small{width:58px;font-size:10px}#game[data-route=expedition] .jungle-enemy-bush{width:37px;height:30px}#game[data-route=expedition] .jungle-roster{padding:5px 6px 7px;grid-template-rows:22px minmax(0,1fr)}#game[data-route=expedition] .jungle-roster-heading b{font-size:15px}#game[data-route=expedition] .jungle-roster-heading span{font-size:10px}#game[data-route=expedition] .jungle-owned img{width:36px;height:30px}#game[data-route=expedition] .jungle-owned b{font-size:12px;line-height:14px}#game[data-route=expedition] .jungle-owned small{font-size:9px;line-height:11px}#game[data-route=expedition] .jungle-owned.panel{gap:4px}#game[data-route=expedition] .jungle-slot strong{font-size:16px}#game[data-route=expedition] .jungle-slot small{font-size:10px}#game[data-route=expedition] .jungle-slot>b{width:19px;height:19px;line-height:19px;left:4px;font-size:14px}#game[data-route=expedition] .jungle-slot button{min-width:34px;min-height:29px}#game[data-route=expedition] .jungle-start-row>.primary{font-size:22px}#game[data-route=expedition] .jungle-start-row>.secondary{max-width:102px;font-size:11px!important}#game[data-route=expedition] #topbar{padding:8px 9px 7px}#game[data-route=expedition] .player-badge{padding-right:7px}#game[data-route=expedition] .player-badge b{max-width:98px;font-size:13px}#game[data-route=expedition] .resource-pill{font-size:13px;padding:4px 7px}}
@media(max-height:690px){#game[data-route=expedition] #screen{overflow-y:auto;grid-template-rows:40px 36px 175px 0 158px 0 52px 20px;gap:4px}#game[data-route=expedition] .jungle-rule,#game[data-route=expedition] .jungle-growth-note{display:none}}
@media(max-width:360px){#game[data-route=expedition] #topbar{gap:3px;padding-left:6px;padding-right:6px}#game[data-route=expedition] .player-badge{padding-right:4px;gap:1px}#game[data-route=expedition] .player-badge>span:last-child{min-width:0}#game[data-route=expedition] .player-badge b{max-width:76px;font-size:12px}#game[data-route=expedition] .player-badge small{font-size:9px}#game[data-route=expedition] .avatar-frame{width:38px;height:40px}#game[data-route=expedition] .avatar-frame img{width:37px;height:39px}#game[data-route=expedition] .resource-pill{font-size:12px;padding:4px 5px}#game[data-route=expedition] .resource-pill .icon{width:22px;height:24px}#game[data-route=expedition] .hud-corner{width:34px;height:37px}#game[data-route=expedition] .hud-corner .icon{width:26px;height:27px}#game[data-route=expedition] .jungle-start-row>.primary{font-size:20px}#game[data-route=expedition] .jungle-start-row>.secondary{max-width:94px;padding:6px 8px!important}#game[data-route=expedition] .jungle-roster-heading span{font-size:9px}}
