*{box-sizing:border-box}html,body{height:100%;margin:0;background:#0c1411;color:#f3f6f4;font:14px system-ui,-apple-system,Segoe UI,sans-serif}.shell{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.bar{display:flex;align-items:center;gap:18px;padding:9px 14px;background:#14251e;border-bottom:1px solid #2c4238}.brand{white-space:nowrap;font-weight:750}.brand span{font-weight:450;color:#a8c0b3;margin-left:5px}.controls{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.controls button,.type-row button{min-width:38px;height:36px;border:1px solid #496152;border-radius:8px;background:#20362b;color:#fff;font-size:18px;cursor:pointer}.controls form{display:flex;gap:6px;flex:1;min-width:0}.controls input,.type-row input{min-width:0;flex:1;height:36px;border:1px solid #496152;border-radius:8px;background:#0f1a15;color:#fff;padding:0 10px}.controls form button,.type-row button{padding:0 14px;font-size:14px}.type-row{display:flex;gap:6px;min-width:0;width:100%}.stage{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#080b09;touch-action:none}.stage img{display:block;width:100%;height:100%;object-fit:contain;outline:none;touch-action:none}.status{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);max-width:min(90%,480px);padding:13px 17px;border-radius:10px;background:#17251e;color:#fff;text-align:center;box-shadow:0 8px 30px #0008}.status[hidden]{display:none}.shell footer{padding:7px 12px;background:#14251e;color:#bbcabf;text-align:center;font-size:12px}@media(max-width:620px){.bar{align-items:stretch;flex-direction:column;gap:7px;padding:8px}.controls button,.type-row button{min-width:34px}.shell footer{font-size:10px}}
