/* Bamboo Route: scoped to its page. */

.bamboo-route-page{
  --ink:#2c2b33; --ink-soft:#5b5866; --cream:#fff8e6; --leaf:#4caf50; --leaf-d:#2f7a2b; --gold:#ffcf3f; --gold-d:#c58b00;
  --sq-light:#fff6dc; --sq-dark:#a9d98c; --wood:#c88a4a; --wood-d:#8a5a2b; --wood-l:#e6b277;
  --bs:560px; 
  --radius:18px;
  color-scheme:light;
}
.bamboo-route-page #main-content.br-main *{box-sizing:border-box}
.bamboo-route-page [hidden]{display:none!important}
.bamboo-route-page{
  color:var(--ink);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%,rgba(255,250,210,.95),transparent 70%),
    linear-gradient(180deg,#dff5cf 0%,#eef8dc 45%,#fbf3dc 100%);
  min-height:100vh; overflow-x:hidden; -webkit-tap-highlight-color:transparent;
}
.bamboo-route-page .bottom-nav{display:none!important}
.bamboo-route-page .arcade-ambience{display:none!important}
.bamboo-route-page .br-main{position:relative;padding:0;margin:0;max-width:none}
.bamboo-route-page .br-main button{font:inherit;color:inherit}
.bamboo-route-page .grove{position:fixed;inset:0;pointer-events:none;z-index:0}
.bamboo-route-page .br-app h1,.bamboo-route-page .br-app h2,.bamboo-route-page .sheet h2,.bamboo-route-page .tut h2{font-family:inherit}
.bamboo-route-page .grove svg{position:absolute;top:0;height:100%;width:min(16vw,170px);opacity:.85}
.bamboo-route-page .grove-l{left:0}
.bamboo-route-page .grove-r{right:0;transform:scaleX(-1)}
@media (max-width:900px){
.bamboo-route-page .grove svg{width:min(14vw,90px);opacity:.55}}
.bamboo-route-page .br-app{position:relative;z-index:1;max-width:1180px;font-family:"Nunito","Trebuchet MS","Segoe UI",system-ui,-apple-system,sans-serif;margin:0 auto;padding:12px max(16px,env(safe-area-inset-right)) 18px max(16px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:12px}
.bamboo-route-page .top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bamboo-route-page .sign{position:relative;padding:8px 22px;border-radius:14px;background:linear-gradient(180deg,var(--wood-l),var(--wood) 55%,#b0743a);border:3px solid var(--wood-d);box-shadow:0 4px 0 var(--wood-d),0 10px 18px rgba(80,50,10,.22)}
.bamboo-route-page .sign::before,.bamboo-route-page .sign::after{content:"";position:absolute;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:#6d4520;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.bamboo-route-page .sign::before{left:8px}
.bamboo-route-page .sign::after{right:8px}
.bamboo-route-page .sign h1{margin:0;font-size:clamp(22px,3.4vw,34px);line-height:1.05;font-weight:900;letter-spacing:.01em;color:#fff7df;text-shadow:0 2px 0 #7a4a1c,0 0 1px #7a4a1c}
.bamboo-route-page .tools{display:flex;gap:8px;flex-wrap:wrap}
.bamboo-route-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 16px;border-radius:14px;cursor:pointer;
  border:2.5px solid #3c8a39;background:linear-gradient(180deg,#ffffff,#eefbe6);color:#25521f;font-weight:800;font-size:16px;
  box-shadow:0 3px 0 #3c8a39;transition:transform .08s,box-shadow .08s,filter .15s;touch-action:manipulation}
.bamboo-route-page .btn svg{width:22px;height:22px;fill:currentColor;flex:none}
.bamboo-route-page .btn:active{transform:translateY(2px);box-shadow:0 1px 0 #3c8a39}
.bamboo-route-page .btn:focus-visible,.bamboo-route-page .sq:focus-visible,.bamboo-route-page .switch input:focus-visible+.track{outline:4px solid #1f6feb;outline-offset:2px}
.bamboo-route-page .btn.primary{background:linear-gradient(180deg,#8fe06b,#4caf50 55%,#3a933c);color:#fff;border-color:#2c6e2a;box-shadow:0 3px 0 #2c6e2a;text-shadow:0 1px 0 rgba(0,0,0,.25)}
.bamboo-route-page .btn.ghost{background:transparent;border-color:transparent;box-shadow:none;color:#3c6e37;text-decoration:underline;text-underline-offset:3px}
.bamboo-route-page .btn.big{min-height:56px;font-size:18px;flex:1}
.bamboo-route-page .btn[disabled]{opacity:.5;cursor:default}
.bamboo-route-page #btnSound .mute{display:none}
.bamboo-route-page #btnSound[aria-pressed="false"] .wave{display:none}
.bamboo-route-page #btnSound[aria-pressed="false"] .mute{display:inline}
.bamboo-route-page .hud{display:grid;grid-template-columns:auto auto auto 1fr;gap:10px}
.bamboo-route-page .card{display:flex;flex-direction:column;justify-content:center;min-width:110px;padding:8px 14px;border-radius:var(--radius);background:rgba(255,255,255,.88);border:2.5px solid #bfe3a8;box-shadow:0 6px 14px rgba(60,110,40,.12)}
.bamboo-route-page .card .k{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5a8a4e}
.bamboo-route-page .card b{font-size:26px;line-height:1.1;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}
.bamboo-route-page .card small{font-size:13px;font-weight:700;color:var(--ink-soft)}
.bamboo-route-page .card.goal b{font-size:18px;line-height:1.25}
.bamboo-route-page .card.mv.low b{color:#d9480f}
.bamboo-route-page .card.mv.bump b{animation:bump .35s ease}
.bamboo-route-page .pips{display:flex;gap:3px;margin-top:3px}
.bamboo-route-page .pips i{width:16px;height:22px;border-radius:6px;background:#e6efe0;border:2px solid #c7dcbc;transition:background .3s,border-color .3s,transform .3s}
.bamboo-route-page .pips i.on{background:linear-gradient(90deg,#3f9d3a,#7fd65f,#3a8f35);border-color:#2f7a2b;transform:scale(1.08)}
@keyframes bump{40%{transform:scale(1.25)}}
.bamboo-route-page .stage{display:grid;grid-template-columns:auto minmax(260px,320px);gap:20px;align-items:start;justify-content:center}
.bamboo-route-page .board-wrap{position:relative;z-index:2;isolation:isolate;direction:ltr;padding:calc(var(--bs) * .045);border-radius:24px;
  background:linear-gradient(180deg,var(--wood-l),var(--wood) 50%,#a96d33);border:4px solid var(--wood-d);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 8px 0 var(--wood-d),0 18px 30px rgba(80,50,10,.25)}
.bamboo-route-page .board{position:relative;width:var(--bs);height:var(--bs);display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));border-radius:8px;overflow:visible;box-shadow:0 0 0 3px #7a4c22;touch-action:manipulation}
.bamboo-route-page .sq{position:relative;min-width:0;min-height:0;overflow:visible;border:0;padding:0;margin:0;cursor:pointer;background:var(--sq-light);display:grid;place-items:center;-webkit-user-select:none;user-select:none}
.bamboo-route-page .sq.dark{background:var(--sq-dark)}
.bamboo-route-page .sq svg.obj{width:86%;height:86%;pointer-events:none;overflow:visible}
.bamboo-route-page .sq svg.obj.house{width:96%;height:96%}
.bamboo-route-page .sq.bamboo svg.obj{animation:sway 2.6s ease-in-out infinite;transform-origin:50% 90%}
@keyframes sway{50%{transform:rotate(3deg) translateY(-2px)}}
.bamboo-route-page .sq.taken svg.obj{animation:pop .45s ease forwards}
@keyframes pop{50%{transform:scale(1.35)}100%{transform:scale(0);opacity:0}}
.bamboo-route-page .board.hl .sq.can::after{content:"";position:absolute;width:30%;height:30%;border-radius:50%;background:rgba(255,214,64,.95);box-shadow:0 0 0 4px rgba(255,255,255,.85),0 0 14px rgba(255,190,0,.8);animation:dot 1.6s ease-in-out infinite}
.bamboo-route-page .board.hl .sq.can.bamboo::after,.bamboo-route-page .board.hl .sq.can.house::after{width:auto;height:auto;inset:6%;background:transparent;border-radius:14%;box-shadow:inset 0 0 0 4px rgba(255,200,30,.95),0 0 12px rgba(255,190,0,.6)}
@keyframes dot{50%{transform:scale(.82)}}
.bamboo-route-page .sq.hint::before{content:"";position:absolute;inset:4%;border-radius:16%;border:5px solid #ff9f1c;box-shadow:0 0 16px rgba(255,140,0,.85);animation:hint 1s ease-in-out infinite;z-index:2}
@keyframes hint{50%{transform:scale(.9);opacity:.65}}
.bamboo-route-page .sq.bad{animation:shake .4s ease}
.bamboo-route-page .sq.bad::before{content:"";position:absolute;inset:0;background:rgba(240,80,80,.35)}
@keyframes shake{20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
.bamboo-route-page .sq.house.ready svg.obj{filter:drop-shadow(0 0 8px #ffd23f) drop-shadow(0 0 16px #ffb800);animation:bob 1.2s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-4px)}}
.bamboo-route-page .sq.start-mark::before{content:"";position:absolute;inset:18%;border-radius:50%;border:3px dashed rgba(60,110,40,.35)}
.bamboo-route-page .knight{position:absolute;left:0;top:0;width:calc(var(--bs) / 8 * .78);height:auto;pointer-events:none;z-index:20;
  filter:drop-shadow(0 5px 3px rgba(40,30,10,.35));transform-origin:50% 90%;will-change:transform}
.bamboo-route-page .paths{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
.bamboo-route-page .paths .lpath{fill:none;stroke:#ff8c1a;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 18;opacity:.95}
.bamboo-route-page .paths .lend{fill:#ff8c1a}
.bamboo-route-page .paths .trail{fill:none;stroke:rgba(255,255,255,.9);stroke-width:9;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 16}
.bamboo-route-page .br-files,.bamboo-route-page .br-ranks{position:absolute;display:flex;font-weight:900;color:#fff2d6;text-shadow:0 1px 0 #6d4520;font-size:calc(var(--bs) * .028 + 6px);pointer-events:none}
.bamboo-route-page .br-files{left:calc(var(--bs) * .045 + 4px);right:calc(var(--bs) * .045 + 4px);bottom:0;height:calc(var(--bs) * .045);align-items:center}
.bamboo-route-page .br-files span{flex:1;text-align:center}
.bamboo-route-page .br-ranks{top:calc(var(--bs) * .045 + 4px);bottom:calc(var(--bs) * .045 + 4px);left:0;width:calc(var(--bs) * .045);flex-direction:column;justify-content:space-around;align-items:center}
.bamboo-route-page .side{display:flex;flex-direction:column;gap:10px;align-items:stretch}
.bamboo-route-page .bubble{position:relative;min-height:76px;padding:14px 16px;border-radius:20px;background:#fff;border:3px solid #2c2b33;font-size:18px;font-weight:800;line-height:1.3;box-shadow:0 6px 14px rgba(0,0,0,.08)}
.bamboo-route-page .bubble::after{content:"";position:absolute;left:50%;bottom:-16px;margin-left:-14px;border:14px solid transparent;border-top-color:#2c2b33;border-bottom:0}
.bamboo-route-page .bubble::before{content:"";position:absolute;left:50%;bottom:-11px;margin-left:-11px;border:11px solid transparent;border-top-color:#fff;border-bottom:0;z-index:1}
.bamboo-route-page .bubble.say{animation:say .35s ease}
@keyframes say{40%{transform:scale(1.04)}}
.bamboo-route-page .panda-box{display:grid;place-items:center}
.bamboo-route-page .panda{width:min(100%,230px);height:auto;overflow:visible}
.bamboo-route-page .panda .eyes-happy,.bamboo-route-page .panda .mouth-open,.bamboo-route-page .panda .mouth-sad,.bamboo-route-page .panda .mouth-chew,.bamboo-route-page .panda .arms-eat,.bamboo-route-page .panda .hearts{display:none}
.bamboo-route-page .panda[data-mood="happy"] .eyes-open,.bamboo-route-page .panda[data-mood="eat"] .eyes-open,.bamboo-route-page .panda[data-mood="cheer"] .eyes-open{display:none}
.bamboo-route-page .panda[data-mood="happy"] .eyes-happy,.bamboo-route-page .panda[data-mood="eat"] .eyes-happy,.bamboo-route-page .panda[data-mood="cheer"] .eyes-happy{display:inline}
.bamboo-route-page .panda[data-mood="happy"] .mouth-smile,.bamboo-route-page .panda[data-mood="cheer"] .mouth-smile{display:none}
.bamboo-route-page .panda[data-mood="happy"] .mouth-open,.bamboo-route-page .panda[data-mood="cheer"] .mouth-open{display:inline}
.bamboo-route-page .panda[data-mood="sad"] .mouth-smile{display:none}
.bamboo-route-page .panda[data-mood="sad"] .mouth-sad{display:inline}
.bamboo-route-page .panda[data-mood="sad"] .pupils{transform:translate(0,3px)}
.bamboo-route-page .panda[data-mood="think"] .pupils{transform:translate(-3px,-2px)}
.bamboo-route-page .panda[data-mood="eat"] .mouth-smile,.bamboo-route-page .panda[data-mood="eat"] .arms-idle{display:none}
.bamboo-route-page .panda[data-mood="eat"] .mouth-chew,.bamboo-route-page .panda[data-mood="eat"] .arms-eat,.bamboo-route-page .panda[data-mood="eat"] .hearts,.bamboo-route-page .panda[data-mood="cheer"] .hearts{display:inline}
.bamboo-route-page .panda .chew{transform-box:fill-box;transform-origin:center;animation:chew .28s ease-in-out infinite}
@keyframes chew{50%{transform:scaleY(.35)}}
.bamboo-route-page .panda[data-mood="happy"]{animation:hop .5s ease}
.bamboo-route-page .panda[data-mood="cheer"],.bamboo-route-page .panda[data-mood="eat"]{animation:hop .6s ease infinite}
.bamboo-route-page .panda .hearts{animation:float 1.4s ease-in-out infinite}
.bamboo-route-page .panda .head{transform-box:fill-box;transform-origin:50% 90%}
.bamboo-route-page .panda[data-mood="think"] .head{transform:rotate(-6deg)}
@keyframes hop{30%{transform:translateY(-10px)}60%{transform:translateY(0)}}
@keyframes float{50%{transform:translateY(-8px)}}
.bamboo-route-page .side-tools{display:flex;flex-wrap:wrap;gap:10px}
.bamboo-route-page .switch{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px;border-radius:14px;background:rgba(255,255,255,.85);border:2.5px solid #bfe3a8;font-weight:800;cursor:pointer;flex:1 1 100%}
.bamboo-route-page .switch input{position:absolute;opacity:0;width:1px;height:1px}
.bamboo-route-page .switch .track{position:relative;width:54px;height:30px;border-radius:999px;background:#c9d6c2;transition:background .2s;flex:none}
.bamboo-route-page .switch .track i{position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.25);transition:transform .2s}
.bamboo-route-page .switch input:checked+.track{background:#4caf50}
.bamboo-route-page .switch input:checked+.track i{transform:translateX(24px)}
.bamboo-route-page .switch.locked{opacity:.65;cursor:default}
.bamboo-route-page .note{margin:-4px 2px 0;font-size:13px;font-weight:700;color:var(--ink-soft)}
.bamboo-route-page .tut{position:relative;z-index:3;width:100%;padding:16px 18px;border-radius:22px;background:#fff;border:3px solid #3c8a39;box-shadow:0 18px 40px rgba(30,70,20,.3)}
.bamboo-route-page .tut h2{margin:2px 0 6px;font-size:24px;font-weight:900;color:#25521f}
.bamboo-route-page .tut p{margin:0 0 8px;font-size:17px;font-weight:700;line-height:1.35}
.bamboo-route-page .tut-step{font-size:13px!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase;color:#5a8a4e}
.bamboo-route-page .tut .row,.bamboo-route-page .modal .row{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:8px}
.bamboo-route-page .tut-art{display:flex;gap:10px;justify-content:center;align-items:center}
.bamboo-route-page .tut-art svg{width:64px;height:64px}
.bamboo-route-page .modal{position:fixed;inset:0;z-index:1000;font-family:"Nunito","Trebuchet MS","Segoe UI",system-ui,sans-serif;color:var(--ink);display:grid;place-items:center;padding:16px;background:rgba(40,60,30,.45);backdrop-filter:blur(3px)}
.bamboo-route-page .sheet{width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:22px 22px 18px;border-radius:26px;background:var(--cream);border:4px solid #3c8a39;box-shadow:0 24px 50px rgba(20,50,10,.35);text-align:center}
.bamboo-route-page .sheet h2{margin:6px 0 6px;font-size:30px;font-weight:900;color:#25521f}
.bamboo-route-page .sheet p{margin:4px 0;font-size:18px;font-weight:700}
.bamboo-route-page .sheet .soft{color:var(--ink-soft);font-size:16px}
.bamboo-route-page .modal .row{justify-content:center;margin-top:16px}
.bamboo-route-page .m-art svg{width:120px;height:120px}
.bamboo-route-page .m-levels{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.bamboo-route-page .m-levels:empty{display:none}
.bamboo-route-page .lvbtn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:86px;border-radius:16px;border:3px solid #3c8a39;background:#fff;cursor:pointer;font-weight:900;font-size:26px;color:#25521f;box-shadow:0 3px 0 #3c8a39}
.bamboo-route-page .lvbtn small{font-size:11px;font-weight:800;color:var(--ink-soft);text-align:center;line-height:1.1;padding:0 4px}
.bamboo-route-page .lvbtn.done{background:#eaf9e2}
.bamboo-route-page .lvbtn[disabled]{opacity:.45;cursor:default;box-shadow:none}
.bamboo-route-page .confetti{position:fixed;inset:0;pointer-events:none;z-index:1001;overflow:hidden}
.bamboo-route-page .confetti i{position:absolute;top:-20px;width:12px;height:18px;border-radius:3px;animation:fall linear forwards}
@keyframes fall{to{transform:translateY(110vh) rotate(720deg)}}
.bamboo-route-page .fly{position:fixed;z-index:1002;pointer-events:none;width:56px;height:56px}


@media (min-width:981px){
.bamboo-route-page .br-app{display:grid;grid-template-columns:auto minmax(300px,340px);grid-template-areas:"top top" "board hud" "board side";column-gap:22px;row-gap:12px;justify-content:center;align-items:start}
.bamboo-route-page .br-app .top{grid-area:top}
.bamboo-route-page .br-app .stage{display:contents}
.bamboo-route-page .br-app .board-wrap{grid-area:board}
.bamboo-route-page .br-app .hud{grid-area:hud;grid-template-columns:1fr 1fr 1fr;gap:8px}
.bamboo-route-page .br-app .hud .card{min-width:0;padding:6px 10px}
.bamboo-route-page .br-app .hud .card b{font-size:22px}
.bamboo-route-page .br-app .hud .card.goal{grid-column:1/-1}
.bamboo-route-page .br-app .hud .card.goal b{font-size:16px}
.bamboo-route-page .br-app .side{grid-area:side}
.bamboo-route-page .br-app .panda{width:min(100%,200px);max-height:26vh}
}


@media (max-width:980px){
.bamboo-route-page .stage{grid-template-columns:1fr;justify-items:center}
.bamboo-route-page .side{width:min(100%,var(--bs) + 80px);display:grid;grid-template-columns:150px 1fr;grid-template-areas:"panda bubble" "tools tools";align-items:center;gap:10px 14px}
.bamboo-route-page .side .bubble{grid-area:bubble}
.bamboo-route-page .side .panda-box{grid-area:panda}
.bamboo-route-page .side .side-tools{grid-area:tools}
.bamboo-route-page .bubble::after{left:-16px;top:50%;bottom:auto;margin:-14px 0 0;border:14px solid transparent;border-right-color:#2c2b33;border-left:0}
.bamboo-route-page .bubble::before{left:-11px;top:50%;bottom:auto;margin:-11px 0 0;border:11px solid transparent;border-right-color:#fff;border-left:0}
.bamboo-route-page .panda{width:150px}
.bamboo-route-page .side-tools .btn.big{flex:1 1 40%}
.bamboo-route-page .switch{flex:1 1 100%}
.bamboo-route-page .side.tutoring{grid-template-columns:1fr;grid-template-areas:"tut" "tools"}
.bamboo-route-page .side.tutoring .tut{grid-area:tut}
.bamboo-route-page .side.tutoring .panda-box{display:none}
}
@media (max-width:700px){
.bamboo-route-page .hud{grid-template-columns:repeat(3,1fr)}
.bamboo-route-page .card.goal{grid-column:1/-1}
.bamboo-route-page .card{min-width:0;padding:6px 10px}
.bamboo-route-page .card b{font-size:22px}
.bamboo-route-page .tools .btn span{display:none}
.bamboo-route-page .tools .btn{padding:0 12px}
.bamboo-route-page .side{grid-template-columns:110px 1fr}
.bamboo-route-page .panda{width:110px}
.bamboo-route-page .bubble{font-size:16px;min-height:0;padding:10px 12px}
.bamboo-route-page .m-levels{grid-template-columns:repeat(3,1fr)}
}
@media (prefers-reduced-motion:reduce){
.bamboo-route-page *,.bamboo-route-page *::before,.bamboo-route-page *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
.bamboo-route-page a.btn{text-decoration:none}
.bamboo-route-page .br-scoring{font-size:13px;line-height:1.4}
.bamboo-route-page .br-scoring summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline}
.bamboo-route-page .br-scoring p{margin:0}
.bamboo-route-page #btnScores svg{display:none}@media(max-width:700px){
.bamboo-route-page #btnScores svg{display:block}}
.bamboo-route-page .board .sq[data-sq="56"]{border-top-left-radius:8px}
.bamboo-route-page .board .sq[data-sq="63"]{border-top-right-radius:8px}
.bamboo-route-page .board .sq[data-sq="0"]{border-bottom-left-radius:8px}
.bamboo-route-page .board .sq[data-sq="7"]{border-bottom-right-radius:8px}
.bamboo-route-page .panda .bite{transform-box:fill-box;transform-origin:left center;animation:br-bite .28s ease-in-out infinite}
@keyframes br-bite{50%{transform:translate(-3px,1px) rotate(-8deg) scaleX(.85)}}
.bamboo-route-page .m-art .result-panda{width:144px;height:162px;max-height:none}
.bamboo-route-page .panda .eyes-happy,.bamboo-route-page .panda .mouth-open,.bamboo-route-page .panda .mouth-sad,.bamboo-route-page .panda .mouth-chew,.bamboo-route-page .panda .arms-eat,.bamboo-route-page .panda .arms-up,.bamboo-route-page .panda .hearts{display:none}
.bamboo-route-page .panda[data-mood="dance"] .eyes-open,.bamboo-route-page .panda[data-mood="dance"] .mouth-smile,.bamboo-route-page .panda[data-mood="dance"] .arms-idle{display:none}
.bamboo-route-page .panda[data-mood="dance"] .eyes-happy,.bamboo-route-page .panda[data-mood="dance"] .mouth-open,.bamboo-route-page .panda[data-mood="dance"] .arms-up,.bamboo-route-page .panda[data-mood="dance"] .hearts{display:inline}
.bamboo-route-page .panda[data-mood="dance"]{transform-origin:50% 95%;animation:dance 1s ease-in-out infinite}
.bamboo-route-page .panda .arms-up ellipse{transform-box:fill-box;transform-origin:50% 90%}
.bamboo-route-page .panda[data-mood="dance"] .arm-l{animation:wave-l .5s ease-in-out infinite alternate}
.bamboo-route-page .panda[data-mood="dance"] .arm-r{animation:wave-r .5s ease-in-out infinite alternate}
@keyframes dance{0%,100%{transform:rotate(-7deg)}25%{transform:translateY(-16px) rotate(0)}50%{transform:rotate(7deg)}75%{transform:translateY(-16px) rotate(0)}}
@keyframes wave-l{from{transform:rotate(-38deg)}to{transform:rotate(-12deg)}}
@keyframes wave-r{from{transform:rotate(38deg)}to{transform:rotate(12deg)}}
.bamboo-route-page > #modal{position:fixed;z-index:2000}
.bamboo-route-page .lvbtn.current{outline:3px solid #ff9f1c;outline-offset:2px}
.bamboo-route-page .m-levels:has(.lv-sec){display:flex;flex-direction:column;gap:14px}
.bamboo-route-page .lv-sec{display:flex;flex-direction:column;gap:8px}
.bamboo-route-page .lv-head{margin:0;display:flex;align-items:center;gap:8px;font-size:16px;font-weight:900;color:#25521f;text-align:start}
.bamboo-route-page .lv-head .chip,.bamboo-route-page .pm-chip{display:inline-block;padding:2px 9px;border-radius:999px;background:linear-gradient(#ffe27a,#f2b51e);color:#5a3b00;font-size:12px;font-weight:900;letter-spacing:.02em;border:1.5px solid #c98b00}
.bamboo-route-page .lv-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.bamboo-route-page .lv-sec.prem .lvbtn{border-color:#c98b00;box-shadow:0 3px 0 #c98b00;color:#6b4700;background:#fffaf0}
.bamboo-route-page .lv-sec.prem .lvbtn.done{background:#fff1c9}
.bamboo-route-page .lv-sec.prem .lvbtn.prem{position:relative;background:repeating-linear-gradient(135deg,#fff7df 0 10px,#ffefc4 10px 20px);opacity:.92}
.bamboo-route-page .lvbtn .lock{position:absolute;top:6px;inset-inline-end:6px;width:16px;height:16px;fill:#b07d00}
.bamboo-route-page .lvbtn.prem small{color:#8a6100}
.bamboo-route-page .pm-list{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:6px;text-align:start}
.bamboo-route-page .pm-list li{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:#fffaf0;border:2px solid #f0d48a;font-weight:800}
.bamboo-route-page .pm-list b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f2b51e;color:#fff;flex:none}
.bamboo-route-page .m-levels:has(.pm-list){display:block}
.bamboo-route-page .card.lvl.ch2{border-color:#e2b43a;background:linear-gradient(#fffdf4,#fff4d6)}
.bamboo-route-page .sq img.obj.guard{position:absolute;bottom:3%;left:13%;z-index:2;width:74%;height:auto;max-height:none;margin:0;pointer-events:none;filter:drop-shadow(0 4px 3px rgba(0,0,0,.35));-webkit-user-drag:none}
.bamboo-route-page .sq.danger{background-image:repeating-linear-gradient(45deg,rgba(214,58,58,.22) 0 5px,rgba(214,58,58,.07) 5px 11px);box-shadow:inset 0 0 0 2px rgba(200,50,50,.28)}
.bamboo-route-page .sq.danger.ray{background-image:repeating-linear-gradient(45deg,rgba(225,45,45,.5) 0 5px,rgba(225,45,45,.24) 5px 11px);box-shadow:inset 0 0 0 3px rgba(210,40,40,.6);animation:raypulse .9s ease-in-out 2}
@keyframes raypulse{50%{filter:brightness(1.08)}}
.bamboo-route-page .paths .rayline{fill:none;stroke:#e03b3b;stroke-width:8;stroke-linecap:round;stroke-dasharray:3 16;opacity:.9}
@media(max-width:560px){.bamboo-route-page .lv-grid{grid-template-columns:repeat(3,1fr)}}

.bamboo-route-page a.btn{text-decoration:none}

/* November 3: one painted tail covers the seam; no separately transformed borders. */
.bamboo-route-page .bubble::before{display:none}
.bamboo-route-page .bubble::after{content:"";position:absolute;width:18px;height:28px;left:50%;top:auto;bottom:-21px;margin:0 0 0 -9px;border:0;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2228%22%20viewBox%3D%220%200%2018%2028%22%3E%3Cpath%20d%3D%22M18%200L3%2014L18%2028Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M17%201L3%2014L17%2027%22%20fill%3D%22none%22%20stroke%3D%22%232c2b33%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;transform:rotate(-90deg);box-sizing:border-box;z-index:2}
.bamboo-route-page .bubble.say{animation:br-say-highlight .35s ease}
@keyframes br-say-highlight{40%{filter:brightness(1.04)}}
@media(max-width:980px){.bamboo-route-page .bubble::after{left:-15px;top:50%;bottom:auto;margin:-14px 0 0;border:0;transform:none}}


/* November 3: one painted tail covers the seam; no separately transformed borders. */
body.web-phone.bamboo-route-page .bubble::before{display:none}
body.web-phone.bamboo-route-page .bubble::after{content:"";position:absolute;width:18px;height:28px;left:50%;top:auto;bottom:-21px;margin:0 0 0 -9px;border:0;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2228%22%20viewBox%3D%220%200%2018%2028%22%3E%3Cpath%20d%3D%22M18%200L3%2014L18%2028Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M17%201L3%2014L17%2027%22%20fill%3D%22none%22%20stroke%3D%22%232c2b33%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;transform:rotate(-90deg);box-sizing:border-box;z-index:2}
body.web-phone.bamboo-route-page .bubble.say{animation:br-say-highlight .35s ease}
@keyframes br-say-highlight{40%{filter:brightness(1.04)}}
body.web-phone.bamboo-route-page .br-scoring summary{position:relative;width:21px;height:21px;min-width:21px;min-height:21px;padding:0;font-size:14px;line-height:1;box-sizing:border-box}
body.web-phone.bamboo-route-page .br-scoring summary::after{content:"";position:absolute;inset:-8px}
@media(max-width:980px){body.web-phone.bamboo-route-page .bubble::after{left:-15px;top:50%;bottom:auto;margin:-14px 0 0;border:0;transform:none}}
/* November 3 revision 2: compact phone status cards leave room for the actions. */
@media(max-width:700px){
body.bamboo-route-page .hud .card:not(.goal){padding:4px 7px;gap:1px;min-height:0;justify-content:flex-start}
body.bamboo-route-page .hud .card:not(.goal) .k{font-size:10px;line-height:1.15;letter-spacing:.04em}
body.bamboo-route-page .hud .card:not(.goal) b{font-size:17px;line-height:1.1}
body.bamboo-route-page .hud .card:not(.goal) small{font-size:11px;line-height:1.15}
body.bamboo-route-page .hud .pips{gap:3px;margin-top:1px;height:9px;align-items:center}
body.bamboo-route-page .hud .pips i{width:13px;height:8px;border-width:1px;border-radius:3px}
body.bamboo-route-page .hud .card.goal{padding:4px 7px}
body.bamboo-route-page .stage{gap:8px}
body.bamboo-route-page .side{gap:6px 10px;grid-template-columns:80px 1fr}
body.bamboo-route-page .panda{width:80px}
body.bamboo-route-page .side .bubble{font-size:14px;padding:7px 10px}
body.bamboo-route-page .side-tools{gap:6px}
body.bamboo-route-page .side-tools .btn.big{min-height:44px;font-size:14px;padding:0 8px}
}
@media(max-width:420px){
body.bamboo-route-page .top{flex-wrap:nowrap;gap:5px}
body.bamboo-route-page .sign{min-width:0;padding:6px 12px}
body.bamboo-route-page .sign h1{font-size:14px;line-height:1.15}
body.bamboo-route-page .tools{flex-wrap:nowrap;flex-shrink:0;gap:4px}
body.bamboo-route-page .tools .btn{min-height:36px;padding:0 7px}
body.bamboo-route-page .tools .btn svg{width:20px;height:20px}
}
@media(max-width:420px){body.bamboo-route-page .sign::before,body.bamboo-route-page .sign::after{display:none}}
/* November 3 revision 2: compact phone status cards leave room for the actions. */
@media(max-width:700px){
body.web-phone.bamboo-route-page .hud .card:not(.goal){padding:4px 7px;gap:1px;min-height:0;justify-content:flex-start}
body.web-phone.bamboo-route-page .hud .card:not(.goal) .k{font-size:10px;line-height:1.15;letter-spacing:.04em}
body.web-phone.bamboo-route-page .hud .card:not(.goal) b{font-size:17px;line-height:1.1}
body.web-phone.bamboo-route-page .hud .card:not(.goal) small{font-size:11px;line-height:1.15}
body.web-phone.bamboo-route-page .hud .pips{gap:3px;margin-top:1px;height:9px;align-items:center}
body.web-phone.bamboo-route-page .hud .pips i{width:13px;height:8px;border-width:1px;border-radius:3px}
body.web-phone.bamboo-route-page .hud .card.goal{padding:4px 7px}
body.web-phone.bamboo-route-page .stage{gap:8px}
body.web-phone.bamboo-route-page .side{gap:6px 10px;grid-template-columns:80px 1fr}
body.web-phone.bamboo-route-page .panda{width:80px}
body.web-phone.bamboo-route-page .side .bubble{font-size:14px;padding:7px 10px}
body.web-phone.bamboo-route-page .side-tools{gap:6px}
body.web-phone.bamboo-route-page .side-tools .btn.big{min-height:44px;font-size:14px;padding:0 8px}
}
@media(max-width:420px){
body.web-phone.bamboo-route-page .top{flex-wrap:nowrap;gap:5px}
body.web-phone.bamboo-route-page .sign{min-width:0;padding:6px 12px}
body.web-phone.bamboo-route-page .sign h1{font-size:14px;line-height:1.15}
body.web-phone.bamboo-route-page .tools{flex-wrap:nowrap;flex-shrink:0;gap:4px}
body.web-phone.bamboo-route-page .tools .btn{min-height:36px;padding:0 7px}
body.web-phone.bamboo-route-page .tools .btn svg{width:20px;height:20px}
}
@media(max-width:420px){body.web-phone.bamboo-route-page .sign::before,body.web-phone.bamboo-route-page .sign::after{display:none}}
