.tabbar {
    padding-bottom: calc(constant(safe-area-inset-bottom));
    padding-bottom: calc(env(safe-area-inset-bottom));
}

.e-img-w {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    -webkit-user-drag: none;
    user-drag: none;
}

.e-img-h {
    display: block;
    width: auto;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-drag: none;
}

.e-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-drag: none;
}

.e-img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-drag: none;
}


.ed-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.ed-modal-mask.ed-modal-mask-show {
    opacity: 1;
    pointer-events: auto;
}

.ed-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    width: 80%;
    max-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

.ed-modal-container.ed-modal-container-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.ed-modal-container .ed-modal-content {
    text-align: center;
}

.ed-modal-container .ed-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding: 16px;
}

.ed-modal-container .ed-modal-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    padding: 0 12px;
    line-height: 1.5;
    word-break: break-word;
}

.ed-modal-container .ed-modal-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 15px;
    box-sizing: border-box;
}

.ed-modal-container .ed-modal-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #e5e5e5;
}

.ed-modal-container .ed-modal-buttons .ed-modal-button {
    padding: 10px 0;
    font-size: 16px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
}

.ed-modal-container .ed-modal-buttons .ed-modal-button:active {
    opacity: 0.7;
}

.ed-modal-container .ed-modal-buttons .ed-modal-button-cancel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #e5e5e5;
}

.ed-modal-container .ed-modal-buttons .ed-modal-button-confirm {
    font-weight: bold;
}

.ed-toast-container {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.ed-toast-container.ed-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.ed-toast-container.ed-toast-top {
    top: 20%;
}

.ed-toast-container.ed-toast-bottom {
    bottom: 20%;
}

.ed-toast-container.ed-toast-center {
    top: 50%;
    transform: translateY(calc(-50% + 20px));
}

.ed-toast-container.ed-toast-center.ed-toast-show {
    transform: translateY(-50%);
}

.ed-toast-container .ed-toast-content {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    max-width: 80%;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ed-toast-container .ed-toast-content .ed-toast-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ed-toast-container .ed-toast-content .ed-toast-icon-success {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.ed-toast-container .ed-toast-content .ed-toast-icon-error {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

.ed-toast-container .ed-toast-content .ed-toast-icon-loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z'/%3E%3C/svg%3E");
    animation: toastLoading 1s linear infinite;
}

@keyframes toastLoading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ed-toast-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
}