/* ลูกบิดรหัสจริงบนตู้เดิม: เลขอยู่บนขอบนิ่ง หมุนเฉพาะชิ้นลูกบิด */
.dial-workspace .lock-dashboard{height:28px;margin-bottom:4px}.dial-workspace .lock-clock{line-height:28px}.dial-workspace .lock-stages{height:18px;margin-bottom:8px}
.dial-mechanism{position:absolute;width:142px;height:142px;left:calc(49.5% - 71px);top:calc(63.2% - 71px)}
.dial-engraving{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.dial-engraving text{font-family:'Chakra Petch',sans-serif;font-weight:600;font-size:13px;fill:#bda479;paint-order:stroke;stroke:#110c0b;stroke-width:1.4px;filter:drop-shadow(0 1px 0 #000)}
.dial-knob{position:absolute;width:60%;height:60%;left:20%;top:20%;padding:0;border:0!important;border-radius:50%;background:transparent!important;box-shadow:0 4px 6px #0009;transition:transform .12s cubic-bezier(.2,.7,.3,1);transform-origin:50% 50%;touch-action:none;cursor:grab;user-select:none}.dial-knob:active:not(:disabled){cursor:grabbing}.dial-knob:disabled{opacity:1;cursor:default}.dial-knob img{display:block;width:100%;height:100%;pointer-events:none;filter:brightness(.78) saturate(.68)}
.dial-knob:focus-visible{outline:1px solid #b49364;outline-offset:4px}.dial-detent{position:absolute;left:calc(50% - 2px);top:11%;width:4px;height:7px;border-radius:1px;background:linear-gradient(90deg,#29231c,#9c8664,#33291f);box-shadow:0 1px 2px #000;pointer-events:none}
.dial-workspace .lock-pin-bank{left:7%;right:7%;top:10%;gap:5px;align-items:center}.dial-workspace .lock-pin-bank i{width:14px;height:18px;flex-shrink:0;display:grid;place-items:center;font-style:normal;font-size:10px;line-height:1;color:#514637;border-radius:3px;background:linear-gradient(90deg,#181513,#30291f,#171412);box-shadow:inset 0 1px 2px #000,0 1px 0 #8c745122}.dial-workspace .lock-pin-bank i.pin-set{color:#c9ad7e;transform:translateY(-2px);background:linear-gradient(90deg,#2c2117,#53402a,#241b14)}
.dial-readout{height:22px;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:24px;font-size:12px}.dial-position{font-variant-numeric:tabular-nums;min-width:45px;color:#ead7d2}.dial-direction{color:#b49364;font-weight:500;min-width:90px;text-align:center}
.dial-workspace .lock-feedback{height:20px;margin-top:4px;margin-bottom:0;font-size:11px}.dial-controls{height:36px;display:flex;align-items:stretch;gap:7px;justify-content:center;width:100%;margin:0}.dial-controls button{min-width:108px;font-size:11px;padding:6px 14px;border-radius:23px;border:1px solid #b4936430;background:#171215;color:#cbbdb6;white-space:nowrap}.dial-controls .dial-confirm{min-width:153px;background:linear-gradient(110deg,#6b1728,#37141d);border-color:#8b2435;color:#ead7d2}.dial-controls button kbd{font:inherit;color:#b49364;margin:0 5px}.dial-controls button:disabled{opacity:.36}.dial-help{height:14px;margin-top:6px;color:#8c7c7e;font-size:9px;line-height:14px}
.ritual-hall[data-mode="lock"]:has(.dial-workspace) .ceremony{height:530px}.ritual-hall[data-mode="lock"]:has(.dial-workspace) .stage{height:480px}
.dial-feel-contact .dial-detent{box-shadow:0 1px 2px #000,inset 0 0 1px #d4b88d}.dial-feel-near .dial-detent{filter:brightness(1.08)}
@media(max-height:800px){.dial-workspace .lock-dashboard{height:26px}.dial-workspace .lock-clock{font-size:20px;line-height:26px}.dial-workspace .lock-stages{margin-bottom:6px}.dial-readout{margin-top:6px;height:20px;font-size:11px}.dial-workspace .lock-feedback{height:18px;font-size:10px}.dial-controls{height:34px;gap:5px}.dial-controls button{font-size:10px;min-width:94px;padding:5px 11px}.dial-controls .dial-confirm{min-width:136px}.dial-help{display:none}.dial-mechanism{width:124px;height:124px;left:calc(49.5% - 62px);top:calc(63.2% - 62px)}.dial-workspace .lock-pin-bank{gap:4px}.dial-workspace .lock-pin-bank i{width:10px;height:15px;font-size:8px}.ritual-hall[data-mode="lock"]:has(.dial-workspace) .ceremony{height:418px}.ritual-hall[data-mode="lock"]:has(.dial-workspace) .stage{height:390px}}
@media(prefers-reduced-motion:reduce){.dial-knob{transition:none}.dial-feel-contact .dial-detent,.dial-feel-near .dial-detent{filter:none}}
