*{box-sizing:border-box}html,body{height:100%;margin:0;background:#08090d;color:#e4d5ba;font:13px system-ui}body{display:flex;flex-direction:column;overflow:hidden}header{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;background:#171619;flex-wrap:wrap}header strong{margin-right:auto;font-size:15px;letter-spacing:.08em}button,a{touch-action:manipulation}button{border:1px solid #80715b;background:#29231e;color:#f3dfbb;border-radius:7px;padding:7px 10px;font:600 12px system-ui;cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #f3b044;outline-offset:2px}#ur-arena{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}#c{display:block;width:100%;height:auto;max-width:calc((100dvh - 92px)*16/9);max-height:calc(100dvh - 92px);image-rendering:pixelated;cursor:crosshair;touch-action:none}#a{pointer-events:none;position:absolute;top:4px;left:2%;font:bold clamp(9px,1.5vw,18px) monospace;color:#ec9d32;max-width:96%;white-space:nowrap;overflow:hidden;text-shadow:0 0 5px #d60;transition:opacity .5s}#a div:last-child{color:#ec9d32}#a b{animation:ur-blink 1s infinite}@keyframes ur-blink{50%{opacity:0}}footer{display:flex;justify-content:space-between;gap:8px;padding:5px 10px;min-height:26px;font-size:11px}footer a{color:#d4b886}#ur-pad{display:none;position:absolute;bottom:8px;left:8px;grid-template-columns:repeat(3,40px);gap:3px}#ur-pad button{padding:0;width:40px;height:38px;background:#171619d9;touch-action:none;user-select:none}#ur-pad button:first-child{grid-column:2}#ur-pad button:nth-child(2){grid-column:1}#ur-pad button:active{background:#71512b}@media(pointer:coarse){#ur-pad{display:grid}header{gap:4px;padding:4px 6px}header strong{font-size:12px}button{padding:7px}#ur-hint{display:none}}@media(max-width:440px){header strong{width:100%;margin:0}footer{font-size:10px;padding:4px 6px}#c{max-width:calc((100dvh - 122px)*16/9);max-height:calc(100dvh - 122px)}}
