/* 造景（§6.17，ui/landscape.js）：建設面板上面的「🏠 建築｜🌿 造景」、造景的工具列 */
.bbmode{flex:none;display:flex;gap:2px;background:var(--paper2);border-radius:20px;padding:3px}
.bbmode button{font:inherit;font-size:13px;font-weight:700;min-height:32px;padding:0 10px;white-space:nowrap;border:0;border-radius:17px;background:transparent;color:var(--soft);cursor:pointer}
.bbmode button.on{background:var(--paper);color:var(--ink);box-shadow:var(--sh)}
.lsbar{display:none}
.buildbar.ls .lsbar{display:block}
.buildbar.ls #bbTabs,.buildbar.ls #items{display:none}
.lstools{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:2px}
.lst{flex:1 0 44px;min-height:58px;border:2px solid transparent;border-radius:16px;background:var(--paper2);font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ink);cursor:pointer;padding:4px 1px}
.lst i{font-style:normal;font-size:20px;line-height:1}
.lst span{font-size:12px;font-weight:700;white-space:nowrap}
.lst{position:relative}
.lsn{position:absolute;top:3px;right:4px;font-size:10px;line-height:1;color:var(--soft);font-weight:700}
.lst.on{border-color:var(--blue);background:var(--tint)}
.lst:disabled{opacity:.4;cursor:default}
.lssub{display:none;gap:6px;overflow-x:auto;scrollbar-width:none;padding:0 2px 8px}
.lssub.on{display:flex}
.lsk{flex:none;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:68px;padding:5px 6px;border-radius:14px;border:2px solid transparent;background:var(--paper2);font:inherit;font-size:12px;font-weight:700;color:var(--ink);cursor:pointer}
.lsk i{width:30px;height:15px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.lsk small{font-size:10px;color:var(--soft);font-weight:500;white-space:nowrap}
.lsk.on{border-color:var(--blue);background:var(--tint)}
.lstools,.lssub{touch-action:pan-y;overscroll-behavior-x:contain}
.lstools.drag .lst,.lssub.drag .lsk{pointer-events:none}
/* 造景時畫面只留地圖＋工具：專注、全部收成、工作卡、下一步小卡收起來 */
.game:has(.buildbar.ls) #focusBtn,.game:has(.buildbar.ls) #reapAll,.game:has(.buildbar.ls) #jobs,.game:has(.buildbar.ls) #guide,.game:has(.buildbar.ls) #garrow{display:none!important}

/* ---------- 建設模式本身變好用（§6.17 2026-12-04）：畫面清爽、建築列變矮、可以收成一條 ---------- */
.buildbar{padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;border-radius:22px 22px 0 0!important}
.buildbar .bbtop{gap:6px;padding:0 0 6px;font-size:12px;font-weight:500}
.buildbar #bbHint{flex:1;min-width:0;font-size:12px;line-height:1.3;color:var(--soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.buildbar #bbDone{min-height:34px!important;padding:0 14px;margin-left:0}
.bbfold{flex:none;width:32px;height:32px;border-radius:16px;border:0;background:var(--paper2);font:inherit;font-size:15px;color:var(--soft);cursor:pointer}
.buildbar.fold .bbfold{transform:rotate(180deg)}
.buildbar.fold #bbTabs,.buildbar.fold #items,.buildbar.fold .lsbar,.buildbar.fold #bbFx{display:none!important}
.buildbar .bbtabs{padding:0 2px 5px}
.buildbar .bbtabs button{min-height:30px;font-size:13px;padding:0 11px}
.buildbar .items{gap:5px}
.buildbar .it{width:62px;padding:4px 2px 3px;border-radius:14px;gap:0}
.buildbar .it .pic{height:34px}
.buildbar .it img{max-height:34px;max-width:50px}
.buildbar .it .pathpic{width:34px;height:17px;margin-bottom:6px}
.buildbar .it b{font-size:11px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buildbar .it .c{font-size:10px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buildbar .it.kit{width:84px}.buildbar .it.kit .pic{height:44px}
.buildbar .it .upt{font-size:9px}
.buildbar .lst{min-height:50px}.buildbar .lst i{font-size:18px}
/* 上面只留一小條：金幣＋主要材料；等級卡、天氣、心意、邀請券、倉庫、阿樹泡泡、教學、專注、全部收成、工作卡都收起來 */
.pill.bo{display:none}
.game:has(.buildbar.on) .hud .lv,.game:has(.buildbar.on) .hud .env,.game:has(.buildbar.on) .pill.heartpill,.game:has(.buildbar.on) .pill.tkpill,.game:has(.buildbar.on) .pill.bagpill,.game:has(.buildbar.on) .pills .pbr,
.game:has(.buildbar.on) #bubbles,.game:has(.buildbar.on) #focusBtn,.game:has(.buildbar.on) #reapAll,.game:has(.buildbar.on) #jobs,.game:has(.buildbar.on) #guide,.game:has(.buildbar.on) #garrow,.game:has(.buildbar.on) .focusbar{display:none!important}
.game:has(.buildbar.on) .hud{justify-content:center}
.game:has(.buildbar.on) .hud .res{display:flex;justify-content:center}
.game:has(.buildbar.on) .pills{flex-wrap:nowrap;justify-content:center;gap:4px}
.game:has(.buildbar.on) .pills>.pill:not(.heartpill):not(.tkpill):not(.bagpill){display:flex!important;height:30px;font-size:13px;padding:0 9px 0 6px;gap:3px}
.game:has(.buildbar.on) .pills>.pill svg{width:16px;height:16px}
/* 拿起來的建築旁邊：↻ 轉向、收起 */
.liftbar{position:absolute;display:none;gap:4px;transform:translate(-50%,-100%);z-index:3;pointer-events:auto}
.liftbar.on{display:flex}
.liftbar button{font:inherit;font-size:12px;font-weight:700;min-height:32px;padding:0 10px;border:0;border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:var(--sh);white-space:nowrap;cursor:pointer}
.liftbar button.rm{color:#b0473b}
/* 全部收回（ui/recall.js）：分頁那排最後一顆、小卡 */
.bbtabs .rcb{color:#b0473b;background:var(--paper2);white-space:nowrap}
.rcrows{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.rcrow{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:var(--paper2);cursor:pointer;text-align:left}
.rcrow input{width:20px;height:20px;flex:none;accent-color:var(--blue)}
.rcrow span{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.rcrow small{font-size:11px;color:var(--soft);font-weight:500}
.rcrow i{font-style:normal;font-size:12px;color:var(--soft);white-space:nowrap}
.rcback{text-align:left;margin:6px 0}.rcback b{margin-right:6px}
.rcbusy{text-align:left;margin:0 0 6px}
/* 建設模式：提示（圖鑑、收回…）改到上面，不蓋下面那排 */
.game:has(.buildbar.on) .toast{top:calc(var(--hudB,60px) + 8px);bottom:auto}
.rcmore{text-align:left;font-size:12px;color:var(--soft);margin:4px 2px 0}
.rcrow.sub{padding:6px 10px}
/* 📦 收起來的：分頁排第一、小圖右上角寫 ×n */
.bbtabs .stt{background:var(--tint);color:var(--blue);white-space:nowrap}.bbtabs .stt.on{background:var(--blue);color:#fff}
.bbtabs .stt b{font-weight:800;margin-left:2px}
.it .stn{position:absolute;top:3px;right:4px;font-style:normal;font-size:11px;font-weight:800;color:var(--blue)}
.box .rcrows>.rcrow{margin:0!important;min-height:0}
.box .rcrows>.rcmore{margin:2px 2px -2px!important}
.box .rcback{margin:4px 0 10px}
.it .stn{background:var(--paper);border-radius:8px;padding:0 4px;z-index:1}
