.rz-zoom-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 8px;
}

.rz-field-zoom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    order: 100;
    margin-left: auto;
    color: #ededed;
    white-space: nowrap;
}

.rz-field-zoom__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: inherit;
    background: #13491d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    cursor: pointer;
    touch-action: manipulation;
}

.rz-field-zoom__button svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.rz-field-zoom__button:hover { color: #fffde2; }
.rz-field-zoom__button:focus-visible { outline: 2px solid #fffde2; outline-offset: 2px; }
.rz-field-zoom__button:disabled { opacity: .4; cursor: default; }
.rz-field-zoom__label { margin-left: 3px; }
.rz-field-zoom__value { min-width: 4ch; text-align: right; font: inherit; font-variant-numeric: tabular-nums; }
.rz-field-zoom__reset { padding: 0; border: 0; color: inherit; font: inherit; background: transparent; cursor: pointer; }
.rz-zoom-field { overflow: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.rz-zoom-field.rz-zoom-field--fits-x { overflow-x: hidden !important; }
.rz-zoom-field.rz-zoom-field--fits-y { overflow-y: hidden !important; }

.rz-game-mobile-layout .rz-zoom-toolbar {
    position: relative;
    box-sizing: border-box;
    min-height: 56px;
    padding-right: 158px;
    flex-wrap: nowrap;
    row-gap: 0;
}

.rz-game-mobile-layout .rz-zoom-action-label,
.rz-game-mobile-layout .rz-field-zoom__label { display: none; }

.rz-game-mobile-layout .rz-field-zoom {
    position: absolute;
    top: 6px;
    right: 8px;
    margin-left: 0;
}

.rz-game-mobile-layout .rz-field-zoom__button {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
}

.rz-game-mobile-layout .rz-field-zoom__reset {
    min-width: 42px;
    height: 44px;
    font-size: 14px;
    touch-action: manipulation;
}

@media (max-width: 680px) {
    .rz-field-zoom__label { display: none; }
    .rz-zoom-toolbar .rz-zoom-action { margin-right: 8px; }
    .rz-zoom-toolbar .rz-zoom-action-label { display: none; }
}

@media (max-width: 360px) {
    .rz-game-mobile-layout .rz-zoom-toolbar { padding-right: 108px; }
    .rz-game-mobile-layout .rz-field-zoom__reset { display: none; }
}
