:root{font:14px system-ui,sans-serif;color:#172a42;background:#edf2f7}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}.topbar{height:54px;display:flex;align-items:center;gap:7px;padding:8px 12px;white-space:nowrap;overflow-x:auto;background:#fff;border-bottom:1px solid #cbd5e1}.topbar strong{font-size:15px;max-width:190px;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.topbar>*{flex-shrink:0}input,select,button{font:inherit;border:1px solid #bdcbd9;border-radius:6px;padding:7px 9px;min-height:34px}button{background:#195f9f;color:white;cursor:pointer;font-weight:600}button:disabled{opacity:.45;cursor:default}#stop,#back,#reload,#keyboard,#details,#fullscreen{background:#f0f4f8;color:#203b55}#sites{width:220px}#mode{width:110px}#location{width:128px}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #509de1;outline-offset:-2px}.viewport{height:calc(100dvh - 54px);position:relative}canvas{display:block;width:100%;height:100%;background:#f0f3f7;touch-action:none}#welcome{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;text-align:center;padding:30px;pointer-events:none}#welcome[hidden]{display:none}h1{font-size:26px;margin:0 0 12px}#status{font-size:16px;max-width:600px;line-height:1.6}aside{position:fixed;right:12px;top:60px;width:min(390px,calc(100vw - 24px));padding:20px;background:white;border:1px solid #ccd8e5;border-radius:10px;box-shadow:0 10px 40px #182d4030;z-index:3;max-height:calc(100dvh - 75px);overflow:auto}aside p{line-height:1.5;overflow-wrap:anywhere}aside h2{margin-top:0;font-size:19px}#typing input{width:100%;margin:10px 0}#typing div{display:flex;flex-wrap:wrap;gap:6px}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);max-width:90vw;background:#142c43;color:white;border-radius:8px;padding:12px 18px;z-index:4;box-shadow:0 4px 20px #0003;font-size:14px}@media(max-width:650px){.topbar{padding:8px;gap:6px}.topbar strong{max-width:130px}#sites{width:180px}}
