
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #222;
}

#viewer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #222;
    scrollbar-width: none;
    touch-action: pan-y;
}

#viewer::-webkit-scrollbar {
    display: none;
}

#image {
    display: block;
    max-width: none;
    height: auto;
}

#toolbar {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10;
}

#directorySelect {
    padding: 9px 30px 9px 12px;
    border: 1px solid #666;
    border-radius: 5px;
    color: white;
    background: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    cursor: pointer;
}

#directorySelect option {
    color: white;
    background: #333;
}

#counter {
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 5px;
    color: white;
    background: rgba(0, 0, 0, 0.65);
    font-family: Arial, sans-serif;
    font-size: 13px;
    pointer-events: none;
}
