#image-translate-page .gp-login-tip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 4px;
    font-size: 13px;
    color: #64748b;
}
#image-translate-page .gp-login-tip a {
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #1a73e8;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    transition: all .15s;
}
#image-translate-page .gp-login-tip a:hover {
    background: #1a73e8;
    color: #fff;
}
#image-translate-page .gp-login-tip--free {
    color: #0d9488;
}
#image-translate-page .gp-login-tip--free a {
    color: #0d9488;
    border-color: #0d9488;
}
#image-translate-page .gp-login-tip--free a:hover {
    background: #0d9488;
    color: #fff;
}
#image-translate-page .img-body {
    padding: 0 18px 18px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 10px;
}
#image-translate-page .img-upload-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#image-translate-page .img-dropzone {
    border: 2px dashed #bdd4fb;
    background: #f7fbff;
    border-radius: 14px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    padding: 20px;
    transition: border-color .25s, background .25s;
}
#image-translate-page .img-dropzone.is-dragover {
    border-color: #3b82f6;
    background: #eef5ff;
}
#image-translate-page .img-drop-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
#image-translate-page .img-drop-main {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
}
#image-translate-page .img-drop-hint {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}
#image-translate-page .img-result-section {
    border: 1px solid #e6edf8;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
#image-translate-page .img-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f2f7;
    flex-wrap: wrap;
}
#image-translate-page .img-view-toggle {
    display: inline-flex;
    gap: 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}
#image-translate-page .img-view-btn {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: all .15s;
}
#image-translate-page .img-view-btn.is-active {
    background: #1a73e8;
    color: #fff;
}
#image-translate-page .img-view-btn:not(.is-active):hover {
    background: #eef2ff;
}
#image-translate-page .img-result-actions {
    display: flex;
    gap: 8px;
}
#image-translate-page .btn-img-retranslate,
#image-translate-page .btn-img-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    transition: all .15s;
}
#image-translate-page .btn-img-retranslate:hover,
#image-translate-page .btn-img-download:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
#image-translate-page .img-preview-box {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 520px;
    min-height: 320px;
    overflow: auto;
    background: #fbfdff;
    border-radius: 0 0 14px 14px;
    cursor: grab;
    position: relative;
}
#image-translate-page .img-preview-box:active {
    cursor: grabbing;
}
#image-translate-page .img-preview-box canvas {
    display: block;
}
#image-translate-page .img-preview-box svg {
    position: absolute;
    top: 0;
    left: 0;
}
#image-translate-page .img-preview-box::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
#image-translate-page .img-preview-box::-webkit-scrollbar-track {
    background: #f8fafd;
    border-radius: 999px;
}
#image-translate-page .img-preview-box::-webkit-scrollbar-thumb {
    background: #cbd5e4;
    border-radius: 999px;
    border: 1px solid #f8fafd;
}
#image-translate-page .img-preview-box::-webkit-scrollbar-thumb:hover {
    background: #c1cfe1;
}
#image-translate-page .img-preview-box {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e4 #f8fafd;
}
#image-translate-page .img-result-empty {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}
#image-translate-page .img-compare-toggle {
    padding: 8px 18px;
    border-top: 1px solid #f0f2f7;
    font-size: 13px;
}
#image-translate-page .img-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #f8fafd;
    border: 1px solid #e6edf8;
    border-radius: 12px;
}
#image-translate-page .img-status-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #e6edf8;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: img-spin .7s linear infinite;
}
@keyframes img-spin {
    to { transform: rotate(360deg); }
}
#image-translate-page .img-status-text {
    font-size: 14px;
    color: #475569;
}
#image-translate-page .img-tips {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #475569;
    font-size: 13px;
    line-height: 1.8;
}
@media (max-width: 640px) {
    #image-translate-page .img-body {
        padding: 0 12px 12px;
    }
    #image-translate-page .img-result-header {
        flex-direction: column;
        align-items: flex-start;
    }
}