
/* V9.7.1 UI / mobile visibility / labels */
#world-label-layer{position:fixed;inset:0;z-index:74;pointer-events:none;overflow:hidden}
.world-dom-label{position:absolute;display:none;white-space:nowrap;padding:3px 8px;border:1px solid rgba(221,202,139,.32);border-radius:7px;background:rgba(5,10,7,.78);color:var(--label-color,#f0e1b1);font:800 13px/1.15 "Microsoft YaHei","Noto Sans SC",sans-serif;letter-spacing:.03em;text-shadow:0 1px 2px #000,0 0 5px #000;box-shadow:0 3px 10px rgba(0,0,0,.28);transform-origin:center center}
#skill-quick-dock{position:fixed;right:calc(env(safe-area-inset-right,0px) + 126px);bottom:calc(env(safe-area-inset-bottom,0px) + 150px);z-index:150;display:flex;gap:9px;pointer-events:auto}
#skill-quick-dock .action-btn.skill{position:relative!important;inset:auto!important;right:auto!important;bottom:auto!important;left:auto!important;top:auto!important;width:58px!important;height:58px!important;min-width:58px!important;border-radius:18px!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;overflow:hidden;color:#fff7df!important;font-size:11px!important;font-weight:800!important;text-shadow:0 1px 3px #000,0 0 6px #000!important}
#skill-quick-dock .action-btn.skill::after{content:attr(data-cd);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:inherit;background:rgba(3,7,5,.68);font-size:15px;font-weight:900;color:#f6e7b8;opacity:0;pointer-events:none}
#skill-quick-dock .action-btn.skill[data-cd]:not([data-cd=""])::after{opacity:1}
#skill-1[data-skill="huoyan_qiu"]{background-image:linear-gradient(rgba(23,10,5,.12),rgba(23,10,5,.34)),url('../icons/skills/huoyan_qiu.png')!important}
#skill-2[data-skill="huoyan_qiu"]{background-image:linear-gradient(rgba(23,10,5,.12),rgba(23,10,5,.34)),url('../icons/skills/huoyan_qiu.png')!important}
#skill-1[data-skill="ningqi_zhen"],#skill-2[data-skill="ningqi_zhen"]{background-image:linear-gradient(rgba(6,13,15,.1),rgba(6,13,15,.35)),url('../icons/skills/ningqi_zhen.png')!important}
#skill-1[data-skill="yinli_shu"],#skill-2[data-skill="yinli_shu"]{background-image:linear-gradient(rgba(5,12,15,.1),rgba(5,12,15,.35)),url('../icons/skills/yinli_shu.png')!important}
#skill-1[data-skill="qingfeng_ren"],#skill-2[data-skill="qingfeng_ren"]{background-image:linear-gradient(rgba(5,12,15,.1),rgba(5,12,15,.35)),url('../icons/skills/qingfeng_ren.png')!important}

#player-panel{transition:width .2s,height .2s,opacity .2s,transform .2s;overflow:visible}
#player-panel .hud-collapse-btn{position:absolute;right:-25px;top:5px;width:23px;height:34px;border:1px solid rgba(213,194,125,.32);border-radius:0 9px 9px 0;background:rgba(6,12,8,.88);color:#e6d49a;font-size:13px;z-index:5}
#player-panel.hud-collapsed{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:12px!important}
#player-panel.hud-collapsed>*:not(.hud-collapse-btn){display:none!important}
#player-panel.hud-collapsed .hud-collapse-btn{right:-25px;top:4px}

#cultivation-quick-dock{z-index:154!important;max-width:min(290px,46vw)!important}
#cultivation-quick-dock.collapsed{width:30px!important;height:40px!important;min-width:30px!important}
#cultivation-quick-dock.collapsed #cultivation-dock-drag{display:none!important}
#cultivation-dock-toggle{display:flex!important;align-items:center;justify-content:center;z-index:3!important}
#cultivation-dock-drag{height:13px!important}
#cultivation-dock-drag::before{content:'长按拖动'!important}

#flight-height-controls{position:fixed;right:calc(env(safe-area-inset-right,0px) + 20px);bottom:calc(env(safe-area-inset-bottom,0px) + 292px);z-index:158;display:none;align-items:center;gap:5px;padding:5px;border:1px solid rgba(212,192,124,.25);border-radius:14px;background:rgba(5,10,7,.82);backdrop-filter:blur(8px)}
#flight-height-controls.show{display:flex}
#flight-height-controls button{width:40px;height:40px;border-radius:10px;border:1px solid rgba(215,196,127,.28);background:rgba(38,48,35,.92);color:#ead79c;font-size:14px;font-weight:800}
#flight-height-controls div{display:flex;flex-direction:column;align-items:center;min-width:52px;color:#cdbf91;font-size:8px;line-height:1.15}
#flight-height-controls span{font-size:11px;color:#f1dfaa;margin-top:2px}

@media(max-width:900px),(max-height:520px){
  #skill-quick-dock{right:120px;bottom:132px;gap:6px}
  #skill-quick-dock .action-btn.skill{width:50px!important;height:50px!important;min-width:50px!important;border-radius:15px!important;font-size:10px!important}
  #player-panel{transform:scale(.92);transform-origin:top left}
  #cultivation-quick-dock{transform:scale(.9);transform-origin:top right}
  #flight-height-controls{right:12px;bottom:255px;transform:scale(.9);transform-origin:bottom right}
}
