.zeb-mark-canvas {
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: 1091;
    pointer-events: none;
}

.mark-float-button {
    display: none;
    position: absolute;
    border: none;
    cursor: pointer;
    right: 30px;
    z-index: var(--zidx-mark-float-btn);
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.40));
}

.mark-float-done-button {
    top: 20px;
    padding: 20px 30px;
    background-color: var(--colr-mkt);
    color: black;
    font-size: 120%;
    border-radius: 5px;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.40);
}

.mark-float-plus-button {
    bottom: 20px;
    width: 80px;
}

.mark-container {
    z-index: 1091;
}

.mark-guide-effect {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 101;
    border: 0px rgba(0, 0, 0, 0) solid;
    pointer-events: none;
}

.mark-info-footer {
    position: absolute;
    display: flex;
    gap: 10px;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 95%;
    cursor: grab;
    font-family: var(--fnt-zeb-bbl-def);
}

.mark-info-footer img {
    width: 21px !important;
    filter: drop-shadow(1px 1px 1px black) drop-shadow(-1px -1px 1px black);
    margin-right: 3px;
}

.mark-info-footer:not(:empty) {
    padding: 5px;
}

.mark-info-div {
    color: var(--colr-feedback);
    font-size: 120%;
    display: flex;
}

.mark-scribble-svg-container {
    display: inline-block;
    background-color: transparent;
    padding: 10px 10px;
    height: 60%;
    top: 10%;
    position: relative;
}

.mark-scribble-detail-div {
    width: 25%;
    padding-right: 10px;
    padding-left: 10px;
}

.thickness-button {
    display: flex;
    width: 120px;
    height: 50px;
    cursor: pointer;
    padding: 2px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.color-picker-button {
    display: inline-block;
    cursor: pointer;
    padding: 0px;
    border-radius: 5px;
    text-align: center;
}

.thickness-button:hover {
    background-color: #dcdcdc;
}

.scribble-overlay {
    width: 660px;
    height: 240px;
    left: 15px;
    bottom: -240px;
    background-color: transparent;
    overflow-y: hidden;
    border: 0px solid white;
    border-radius: 20px 20px 0 0;
}

.scribble-overlay-hole {
    --shape: 2% 10%, 2% 90%, 23% 90%, 23% 10%, 2% 10%;
    background-color: white;
    width: 100%;
    height: 100%
}

.scribble-overlay-open {
    bottom: var(--hgt-nav-nor);
    z-index: 2100;
}

.scribble-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
    text-align: center;
    font-size: 35px;
    margin-top: 15px;
}

.scribble-preview {
    position: absolute;
    left: 2%;
    top: 10%;
    width: 21%;
    height: 80%;
}

.scribble-preview svg {
    margin-top: 40px;
    margin-left: 10px;
}

.scribble-item-selected {
    filter: drop-shadow(2px 2px 2px #000F) drop-shadow(1px 1px 2px #FFFF) drop-shadow(1px 1px 2px #EBDE16FF);
}

.mark-count {
    position: absolute;
    right: 10px;
    top: 50%;
    font-family: var(--fnt-zeb-mkt-def);
    font-size: 24px;
    font-weight: bold;
    z-index: 1099;
}

.mark-count-label {
    transform: translateY(-50%) rotate(270deg);
    color: var(--colr-edt);
    background-color: var(--colr-mkt);
    display: inline-block;
    padding: 15px;
    border-radius: 8px;
    animation: kf-mark-count-rotate-blink 3s ease-in-out forwards;
}

.mark-count-settle {
    color: var(--colr-mkt);
    transform: translateY(-50%) rotate(270deg);
    transition: all 0.5s ease;
    text-shadow:
        -1px 0px var(--colr-edt),
        1px 0px var(--colr-edt),
        0px -1px var(--colr-edt),
        0px 1px var(--colr-edt);
}

@keyframes kf-mark-count-rotate-blink {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) rotate(270deg);
    }

    25% {
        color: var(--colr-mkt);
        background-color: var(--colr-edt);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-50%) rotate(360deg);
    }

    75% {
        color: var(--colr-edt);
        background-color: var(--colr-mkt);
    }
}

@keyframes tip-swipe-left {
    0% {
        left: 90%;
        opacity: 1;
    }

    100% {
        left: 45%;
        opacity: 0;
    }
}

.tip-swipe-left-animation {
    animation: tip-swipe-left 1s ease-in-out 3;
    pointer-events: none;
}

.user-tip {
    position: absolute;
    width: 10%;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: none;
}