.imagestamp-page {
    min-height: 100%;
    background: #f6f7fb;
}

.imagestamp-hero-panel {
    min-height: 560px;
}

.imagestamp-hero-title {
    font-size: 56px;
    max-width: 980px;
    margin-top: 36px;
}

.imagestamp-upload-wrap {
    text-align: center;
    margin-top: 26px;
}

.upload-tip-text {
    margin-top: 22px;
    font-size: 18px;
    color: #222222;
}

.imagestamp-preview-panel {
    padding: 16px 18px 8px;
}

.imagestamp-preview-header {
    margin-bottom: 14px;
}

.imagestamp-preview-header__title {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
}

.imagestamp-preview-header__desc {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
}

.imagestamp-preview-shell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagestamp-preview-board {
    width: 100%;
    max-width: 920px;
    min-height: 440px;
    border: 1px solid #dbe4f3;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.imagestamp-settings-panel {
    padding-top: 18px;
    padding-bottom: 18px;
}

.imagestamp-settings-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px 26px;
    margin-bottom: 16px;
}

.imagestamp-form-item input[type="text"] {
    background: #dff0d7;
}

.imagestamp-start-wrap {
    display: flex;
    justify-content: flex-end;
}

.imagestamp-setting-note {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
}

.imagestamp-files-panel {
    padding-top: 18px;
}

.imagestamp-files-head {
    margin-bottom: 14px;
}

.imagestamp-files-head__summary {
    font-size: 18px;
    color: #222222;
}

.imagestamp-files-body {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 28px;
    align-items: start;
}

.imagestamp-table-wrap {
    overflow-x: auto;
}

.imagestamp-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.imagestamp-table th,
.imagestamp-table td {
    padding: 10px 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #222222;
    text-align: center;
    border-bottom: 1px solid #e9edf4;
}

.imagestamp-table__name {
    text-align: left;
    word-break: break-all;
}

.imagestamp-side-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 48px;
}

.imagestamp-side-btn {
    width: 96px;
    height: 40px;
    border: none;
    border-radius: 18px;
    background: #cde8ca;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.imagestamp-side-btn:hover {
    opacity: 0.92;
}

.imagestamp-error {
    margin-bottom: 12px;
    color: #c62828;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
}

.imagestamp-result-panel {
    min-height: 620px;
}

.imagestamp-result-success__title {
    font-size: 68px;
    line-height: 1.2;
    color: #79b54a;
    font-weight: 800;
}

.imagestamp-result-success__desc {
    font-size: 24px;
    line-height: 1.6;
    color: #222222;
}

.imagestamp-result-success__file {
    font-size: 18px;
    line-height: 1.6;
    color: #222222;
}

.imagestamp-result-btns {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

.imagestamp-link-btn {
    text-decoration: none;
}

.tool-loading-text {
    font-size: 16px;
    color: #222222;
}

@media (max-width: 1200px) {
    .imagestamp-settings-grid {
        grid-template-columns: 1fr;
    }

    .imagestamp-files-body {
        grid-template-columns: 1fr;
    }

    .imagestamp-side-actions {
        flex-direction: row;
        padding-top: 0;
    }
}

.image-stamp-preview-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 20px;}
#image-stamp-preview-name {overflow-wrap:anywhere;font-weight:600;}
.image-stamp-preview-pages {display:flex;align-items:center;gap:12px;}
.image-stamp-preview-pages[hidden] {display:none;}
.image-stamp-preview-pages button {padding:6px 12px;min-width:72px;}
.image-stamp-preview-pages button:disabled {opacity:.45;cursor:default;}
.image-stamp-preview-status,.image-stamp-preview-note {margin:8px 20px 16px;line-height:1.7;color:#64748b;font-size:14px;}
.image-stamp-preview-status.is-error {color:#b91c1c;}
.image-stamp-preview-stage {background:#e8edf3;min-height:200px;max-height:660px;overflow:auto;padding:20px;text-align:center;}
#image-stamp-page-image {display:block;width:auto;height:auto;max-width:100%;max-height:620px;margin:0 auto;background:white;box-shadow:0 2px 10px #0002;}
#image-stamp-page-image[hidden] {display:none;}
.file-seal-quota-note {line-height:1.8;color:#64748b;margin:18px 0;}
@media(max-width:600px) {.image-stamp-preview-stage {padding:8px;} .image-stamp-preview-toolbar {padding:12px;} }
