:root{--shot-k: max(var(--ui-scale), 0.8)}#shotbtn{position:fixed;z-index:5;top:calc(205px * var(--ui-scale) - 36px * var(--shot-k));right:calc(174px * var(--ui-scale) + 6px);width:36px;height:36px;padding:0;border:0;background:none;cursor:var(--game-cursor, pointer);transform:scale(var(--shot-k));transform-origin:100% 0}#minimap[hidden]+#shotbtn{display:none}html[data-uil] #minimap:not([data-mode=large])+#shotbtn{top:max(calc(205px * var(--ui-scale) - 36px * var(--shot-k)),calc(20px * var(--ui-scale) + 4px + 40px * var(--shot-k)))}#minimap[data-mode=large]+#shotbtn{top:calc(559px * var(--ui-scale) - 36px * var(--shot-k));right:calc(526px * var(--ui-scale) + 6px);z-index:7}body.mg-open #shotbtn{right:calc(478px * var(--ui-scale) + 6px)}body.mg-open:has(#minimap[data-mode=large]) #shotbtn{right:calc(830px * var(--ui-scale) + 6px)}#shotbtn .face{position:absolute;inset:2px;border-radius:50%;display:grid;place-items:center;box-sizing:border-box;border:2px solid #6a1a0c;background:radial-gradient(circle at 50% 35%,#fff4d0,#ffd23a 55%,#f08a1c);box-shadow:0 0 0 1px #e9cf8f,0 0 0 2px #000,0 2px 4px rgba(0,0,0,0.55),inset 0 1px #fff4d0}#shotbtn svg{width:22px;height:22px}#shotbtn:hover .face{filter:brightness(1.1)}#shotbtn:active .face{transform:translate(1px,1px)}#shotbtn.busy .face,.m-shot.busy .face{animation:ysw-busy 0.6s ease-in-out infinite alternate}@keyframes ysw-busy{to{opacity:0.55}}:is(#shotbtn,.m-shot).sent .face{box-shadow:0 0 0 2px #2f8a1f,0 0 0 3px #000,0 0 10px 2px #8fe07a}:is(#shotbtn,.m-shot).sent::after{content:"";position:absolute;right:-2px;top:-2px;width:16px;height:16px;border-radius:50%;background:#2f8a1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;box-shadow:0 0 0 1.5px #fff4d0,0 0 0 2.5px #000}.m-shot.sent::after{right:2px;top:-2px}html.mobile #shotbtn{top:calc(var(--m-t) + 205px * var(--m-mm, 0.698) - 34px);right:calc(var(--m-r) + 172px * var(--m-mm, 0.698) + 4px);width:34px;height:34px;transform:none;z-index:6}html.mobile #shotbtn::before{content:"";position:absolute;inset:-5px}html.mobile #shotbtn svg{width:20px;height:20px}html.mobile.m-lefty #shotbtn{right:auto;left:calc(var(--m-l) + 172px * var(--m-mm, 0.698) + 4px)}.ysw .ysw-body{flex:1;min-height:0;display:flex;gap:10px;padding:8px 2px 4px}.ysw .ysw-pic{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px}.ysw .ysw-stage{position:relative;flex:none;align-self:center;background:#2a1d10;border:1px solid #7a4925;box-shadow:0 0 0 2px #e9cf8f,0 0 0 3px #7a4925}.ysw .ysw-stage canvas{position:absolute;left:0;top:0;width:100%;height:100%}.ysw .ysw-ink{cursor:crosshair;touch-action:none}.ysw .ysw-tools{flex:none;display:flex;align-items:center;gap:6px}.ysw .ysw-tl{color:var(--lab);font-size:11px;font-weight:700;white-space:nowrap}.ysw .ysw-tool{height:34px;padding:0 9px;gap:4px}.ysw .ysw-tool svg{width:18px;height:18px;flex:none}.ysw .ysw-tool:disabled{opacity:0.5}.ysw .ysw-via{white-space:nowrap}.ysw .ysw-form{flex:0 0 236px;min-height:0;display:flex;flex-direction:column;gap:8px}.ysw .ysw-cats{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:5px}.ysw .ysw-cats .yg-btn{height:34px;padding:0 4px;font-size:13px;line-height:15px;white-space:normal;text-align:center}.ysw .ysw-tbox{flex:none;display:flex;align-items:center;gap:4px;height:38px;padding:0 8px;border:1px solid #9c7446;border-radius:4px;background:#fffaf0;box-shadow:inset 1px 1px 2px #be7a4044}.ysw .ysw-text{flex:1;min-width:0;height:34px;border:0;background:transparent;font:inherit;font-size:13px;color:var(--ink);outline:none}.ysw .ysw-count{flex:none;font-size:11px;color:var(--lab);font-variant-numeric:tabular-nums}.ysw .ysw-auto{flex:1;min-height:0;overflow-y:auto;border:1px solid #bd905e;border-radius:3px;background:#fff4d0aa}.ysw .ysw-ah{height:22px;padding:0 8px;line-height:22px;font-weight:700;color:#fff;-webkit-text-stroke:2px #000;paint-order:stroke fill;background:linear-gradient(#dac097,#d59c58);border-bottom:1px solid #b88a3e}.ysw .ysw-kv{padding:3px 8px 4px}.ysw .ysw-kv div{display:flex;gap:6px;align-items:baseline;min-height:19px}.ysw .ysw-kv span{flex:none;width:62px;color:var(--lab);font-size:11px}.ysw .ysw-kv b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:17px}.ysw .ysw-foot{flex:none;display:flex;align-items:center;gap:8px;min-height:44px;padding-top:6px;border-top:1px solid #bd905e}.ysw .ysw-foot .yg-btn{height:38px;min-width:78px}.ysw .ysw-res{min-width:0;display:flex;align-items:center;gap:6px;font-weight:700}.ysw .ysw-res span{min-width:0}.ysw .ysw-res.err{color:#a3261b}.ysw .ysw-res.ok{color:#2f6b1f}.ysw .ysw-res .yg-ck{width:18px;height:18px;flex:none}.ysw .ysw-bar{flex:none;display:block;width:150px;height:10px;border:1px solid #7a4925;border-radius:5px;background:#fffaf0;overflow:hidden}.ysw .ysw-bar i{display:block;height:100%;background:linear-gradient(90deg,#f08a1c,#ffd23a);transition:width 0.15s linear}.ysw .ysw-res.prog{color:var(--ink);font-variant-numeric:tabular-nums}html.mobile body.ysw-open :is(#quest-tracker,#mg-walk){display:none!important}html.mobile .ysw .ysw-body{gap:8px;padding:6px 0 2px}html.mobile .ysw .ysw-form{flex-basis:250px;gap:6px}html.mobile .ysw .ysw-cats .yg-btn{height:32px;font-size:12px}html.mobile .ysw .ysw-text{font-size:16px}html.mobile .ysw .ysw-tbox{height:40px}html.mobile .ysw .ysw-tool{height:36px}html.mobile .ysw .ysw-foot{padding-top:4px}html.mobile .ysw .ysw-foot .yg-btn{height:40px}html.mobile .ysw.narrow .ysw-form{flex-basis:214px}html.mobile .ysw.narrow .ysw-tl,html.mobile .ysw.narrow .ysw-via{display:none}html.mobile .ysw.narrow .ysw-tool span{display:none}@media(prefers-reduced-motion:reduce){#shotbtn.busy .face,.m-shot.busy .face{animation:none}}body:has(#mhud .m-evtray.open) #shotbtn{visibility:hidden}
