/* Native UI resources with an optional shared Web display adapter.
   Fallback styles remain usable without the optional native layers. */
.bd2-native-ui { position:fixed; z-index:2147483647; transform-origin:top left; user-select:none; touch-action:none; color:white; font-family:Arial,"Microsoft YaHei",sans-serif; box-sizing:border-box; }
.bd2-native-ui * { box-sizing:border-box; }
.bd2-interaction-native-tools-active #dating-tool-mode-toolbar { display:none !important; }
.bd2-native-gauge { width:50px; height:400px; }
.bd2-native-gauge-percent { position:absolute; top:0; width:50px; height:32px; text-align:center; font-size:18px; font-weight:700; line-height:25px; text-shadow:0 1px 3px #000; }
.bd2-native-gauge-track { position:absolute; top:38px; left:7px; width:36px; height:332px; border:3px solid #874578; border-radius:20px; background:#202329; box-shadow:0 0 1px 1px rgba(23,11,21,.8); overflow:hidden; }
.bd2-native-gauge-fill { position:absolute; left:0; right:0; bottom:0; height:0; background:linear-gradient(to top,#c728a4,#fa56d2); border-radius:18px; }
.bd2-native-gauge-handle { position:absolute; left:25px; top:370px; width:58px; height:54px; transform:translate(-50%,-50%); pointer-events:none; filter:drop-shadow(0 0 5px #ff39cf); }
.bd2-native-gauge-disk { position:absolute; left:13px; top:11px; width:32px; height:32px; background:#fff; border-radius:50%; box-shadow:0 0 5px 2px #ff77dc; }
.bd2-native-gauge-ring,.bd2-native-gauge-inner,.bd2-native-gauge-up { position:absolute; inset:0; width:58px; height:54px; }
.bd2-native-gauge-inner { opacity:.7; }
.bd2-native-gauge-up { opacity:0; }
.bd2-native-gauge-handle.score-up .bd2-native-gauge-up { animation:bd2-native-up 1s ease-out; }
.bd2-native-gauge-handle.score-down { animation:bd2-native-down 1s ease; }
@keyframes bd2-native-up { 0%{opacity:1;transform:scale(1)} 33%{opacity:1} 100%{opacity:0;transform:scale(3)} }
@keyframes bd2-native-down { 0%,100%{filter:drop-shadow(0 0 5px #ff39cf)} 17%,67%{filter:brightness(.6) sepia(.3) drop-shadow(0 0 3px #8f437b)} }
.bd2-native-layout-json { box-sizing:border-box; width:100%; height:160px; resize:vertical; color:#ecf8ff; background:#142532; border:1px solid #759eb3; font:11px/1.4 Consolas,monospace; user-select:text; }

/* Native GUI1 atlas layers replace CSS frame/track approximations. */
.bd2-native-sprite { position:absolute; left:0; top:0; pointer-events:none; }
.bd2-native-atlas-tools { background:none; border:1px solid transparent; border-radius:0; }
.bd2-native-panel-background { z-index:-1; }
.bd2-native-atlas-tools .bd2-native-focus { display:none; left:-6px; top:-6px; mix-blend-mode:plus-lighter; }
.bd2-native-atlas-gauge .bd2-native-gauge-track { border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
.bd2-native-atlas-gauge .bd2-native-gauge-fill { top:7px; bottom:auto; width:36px; height:319px; background:none; border-radius:0; }
.bd2-native-atlas-gauge .bd2-native-gauge-fill .bd2-native-sprite { width:36px; height:319px; }
.bd2-native-original-handle { filter:none; }
.bd2-native-gauge-original-handle { display:block; width:58px; height:54px; pointer-events:none; }
.bd2-interaction-supplement-ready .bd2-native-gauge-percent { font-family:"BD2InteractionPercent",sans-serif; font-size:18px; font-style:normal; font-weight:400; text-shadow:none; }
.bd2-native-gauge-particles { position:absolute; left:-103px; top:-60px; width:256px; height:560px; pointer-events:none; mix-blend-mode:plus-lighter; }
.bd2-native-animated-tool { outline:none; }
