/* 图片工具箱：目录 + 工作台，金色主色对齐 #d4af69 */
:root {
    --gold: #d4af69;
    --gold-light: #f0d78c;
}

.image-tools-page {
    background: #000;
}

/* ---------- 工具箱目录 ---------- */
.tb-catalog {
    min-height: calc(100vh - 60px);
    overflow: auto;
    padding: 28px 28px 56px;
    box-sizing: border-box;
    background:
        radial-gradient(ellipse 70% 40% at 50% -10%, rgba(212, 175, 105, .07), transparent 60%),
        #000;
}
.tb-catalog[hidden] {
    display: none !important;
}
.tb-catalog-inner {
    max-width: 1120px;
    margin: 0 auto;
}
.tb-catalog-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 650;
    color: #f0ece4;
    letter-spacing: .02em;
}
.tb-search-row {
    margin-bottom: 28px;
}
.tb-search {
    width: 100%;
    max-width: 440px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #2c2c2c;
    background: #121212;
    color: #ddd;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.tb-search:focus {
    border-color: rgba(212, 175, 105, .55);
    box-shadow: 0 0 0 3px rgba(212, 175, 105, .08);
}
.tb-section {
    margin-bottom: 36px;
}
.tb-section-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #c4b896;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tb-section-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    flex-shrink: 0;
}
.tb-section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    top: 0;
}
.tb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.tb-card {
    text-align: left;
    border: 1px solid #262626;
    background: #121212;
    border-radius: 12px;
    padding: 18px 16px 16px;
    cursor: pointer;
    color: inherit;
    transition: border-color .18s, background .18s, transform .18s;
    position: relative;
    overflow: hidden;
}
.tb-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 105, .55), transparent);
    opacity: 0;
    transition: opacity .18s;
}
.tb-card:hover {
    border-color: rgba(212, 175, 105, .42);
    transform: translateY(-2px);
    background: #161410;
}
.tb-card:hover::before {
    opacity: 1;
}
.tb-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.tb-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 650;
    color: #1a1408;
    background: linear-gradient(145deg, #e8d5a3, #c9a84c);
    letter-spacing: -.02em;
    overflow: hidden;
    padding: 0;
}
.tb-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.tb-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #f0ece4;
    line-height: 1.35;
    padding-top: 2px;
}
.tb-card-desc {
    font-size: 12.5px;
    color: #7a756c;
    line-height: 1.55;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tb-card-go {
    margin-top: 14px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
    opacity: .75;
    transition: opacity .15s, letter-spacing .15s;
}
.tb-card:hover .tb-card-go {
    opacity: 1;
    letter-spacing: .04em;
}
.tb-empty {
    color: #777;
    padding: 40px 0;
    text-align: center;
}
.tb-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.tb-exif-out {
    margin: 0 21px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #141414;
    border: 1px solid #2a2a2a;
    color: #9a9a9a;
    font-size: 11px;
    line-height: 1.5;
    max-height: 180px;
    overflow: auto;
    white-space: pre-wrap;
}
.tb-seo-note {
    margin: 0;
    font-size: 12px;
    color: #5a564c;
    font-weight: 400;
    letter-spacing: 0;
}

/* ---------- 工作台三栏：左操作 / 中预览 / 右说明 ---------- */
.tb-workspace {
    min-height: calc(100vh - 60px);
}
.tb-workspace[hidden] {
    display: none !important;
}
.image-tools-page .tb-workspace > .home-content {
    height: calc(100vh - 60px);
    padding: 16px 14px 0 24px;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    overflow: hidden;
    box-sizing: border-box;
}
/* 保持与创作页一致的左栏高度，避免内容塌缩错位 */
.image-tools-page .tb-workspace .left-border {
    width: 346px;
    height: calc(100vh - 76px);
    max-height: calc(100vh - 76px);
    flex-shrink: 0;
    align-self: flex-start;
}
.image-tools-page .tb-workspace .left-border .left {
    height: 100%;
}
.image-tools-page .tb-workspace .right {
    flex: 1 1 auto;
    min-width: 0;
    height: calc(100vh - 76px);
    max-height: calc(100vh - 76px);
    padding: 0 4px 0 0;
    box-sizing: border-box;
}
.image-tools-page .tb-workspace .it-right-panel {
    height: 100%;
    margin-top: 0;
}

/* 左栏标题行：标题左、数值右，避免挤成「质量90%」 */
.image-tools-page .tb-workspace .style-box.it-setting-block {
    justify-content: space-between;
    margin-bottom: 8px;
}
.image-tools-page .tb-workspace .style-box .style-name {
    flex: 0 0 auto;
    text-align: right;
    color: var(--gold);
    margin-left: auto;
    padding-left: 10px;
}

/* 右侧说明栏 */
.tb-seo-doc {
    flex: 0 0 300px;
    width: 300px;
    height: calc(100vh - 76px);
    max-height: calc(100vh - 76px);
    box-sizing: border-box;
    border: 1px solid #242424;
    border-radius: 16px 16px 0 0;
    background: #0c0c0c;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}
.tb-seo-doc[hidden] {
    display: none !important;
}
.tb-seo-doc-inner {
    flex: 1;
    overflow: auto;
    padding: 16px 14px 28px;
    max-width: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}
.tb-seo-block {
    margin-bottom: 20px;
}
.tb-seo-heading {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 650;
    color: #e8e2d6;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    background: #0c0c0c;
    padding: 2px 0 6px;
    z-index: 1;
}
.tb-seo-heading::before {
    content: '';
    width: 10px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}
.tb-seo-intro p {
    margin: 0 0 10px;
    color: #8a857a;
    font-size: 12.5px;
    line-height: 1.7;
}
.tb-seo-intro p:last-child {
    margin-bottom: 0;
}
.tb-seo-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tb-seo-steps li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #9a958a;
    font-size: 12px;
    line-height: 1.55;
}
.tb-step-num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 105, .45);
    color: var(--gold);
    font-size: 10px;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.tb-seo-scenes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tb-seo-scenes li {
    padding: 5px 9px;
    border-radius: 7px;
    border: 1px solid #2a2820;
    background: #141310;
    color: #b0a890;
    font-size: 11px;
    line-height: 1.35;
}
.tb-seo-faq-block {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #1e1e1e;
}
.tb-faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tb-faq-item {
    border: 1px solid #242424;
    background: #101010;
    border-radius: 8px;
    padding: 0 12px;
    transition: border-color .15s;
}
.tb-faq-item[open] {
    border-color: rgba(212, 175, 105, .28);
    background: #12100c;
}
.tb-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 11px 0;
    color: #e4dfd4;
    font-size: 12.5px;
    font-weight: 550;
    line-height: 1.4;
}
.tb-faq-item summary::-webkit-details-marker {
    display: none;
}
.tb-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--gold);
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    margin-left: 8px;
}
.tb-faq-item[open] summary::after {
    content: '−';
}
.tb-faq-item p {
    margin: 0 0 12px;
    color: #857f72;
    font-size: 12px;
    line-height: 1.65;
    padding-right: 4px;
    clear: both;
}

.tb-back-row {
    padding: 14px 21px 6px;
}
.tb-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(212, 175, 105, .38);
    background: linear-gradient(180deg, rgba(212, 175, 105, .14), rgba(212, 175, 105, .06));
    color: #f0d78c;
    border-radius: 10px;
    padding: 8px 14px 8px 10px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25) inset;
}
.tb-back-btn .tb-back-ico {
    flex-shrink: 0;
}
.tb-back-btn:hover {
    color: #fff4d4;
    border-color: rgba(240, 215, 140, .7);
    background: linear-gradient(180deg, rgba(212, 175, 105, .24), rgba(212, 175, 105, .1));
    box-shadow: 0 4px 14px rgba(212, 175, 105, .18);
}
.tb-back-btn:active {
    color: #e8d5a3;
    transform: translateY(1px);
}
.tool-settings[hidden] {
    display: none !important;
}

@media (max-width: 1280px) {
    .tb-seo-doc {
        flex-basis: 260px;
        width: 260px;
    }
    .image-tools-page .tb-workspace .left-border {
        width: 320px;
    }
}
@media (max-width: 1100px) {
    .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* 中屏：说明栏收到预览下方，避免挤占按钮 */
    .image-tools-page .tb-workspace > .home-content {
        flex-wrap: wrap;
        height: auto;
        max-height: none;
        overflow: auto;
        padding-bottom: 20px;
    }
    .image-tools-page .tb-workspace .left-border {
        width: 320px;
        height: calc(100vh - 76px);
        max-height: calc(100vh - 76px);
    }
    .image-tools-page .tb-workspace .right {
        flex: 1 1 280px;
        height: calc(100vh - 76px);
        max-height: calc(100vh - 76px);
    }
    .tb-seo-doc {
        flex: 1 1 100%;
        width: 100%;
        height: auto;
        max-height: 420px;
        border-radius: 12px;
        margin-bottom: 8px;
    }
}
@media (max-width: 760px) {
    .tb-catalog { padding: 18px 14px 40px; }
    .tb-catalog-title { font-size: 20px; }
    .tb-grid { grid-template-columns: 1fr; }
}

.image-tools-page .type-item {
    gap: 0;
}
.image-tools-page .type-item img {
    display: none;
}
.image-tools-page .type-item div {
    padding-left: 0;
}

.image-tools-page .upload-simple.dragover {
    border-color: var(--gold);
    background: rgba(212, 175, 105, .08);
}

.image-tools-page .advice-relative {
    margin-top: 12px;
    justify-content: flex-start;
    width: 100%;
}
.image-tools-page .advice {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    color: #848484;
    font-size: 12px;
    line-height: 1.5;
    cursor: default;
}
.image-tools-page .advice img {
    width: 13px;
    height: 13px;
    margin-top: 2px;
    margin-right: 0;
    flex-shrink: 0;
}
.image-tools-page .advice .tips {
    flex: 1;
    text-align: left;
    text-decoration: none;
    color: #848484;
}

.image-tools-page .it-quota-tip {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(212, 175, 105, .08);
    border: 1px solid rgba(212, 175, 105, .28);
    color: #c9b07a;
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
}
.image-tools-page .it-quota-tip.warn {
    background: rgba(180, 60, 60, .12);
    border-color: rgba(200, 90, 90, .35);
    color: #d98888;
}

.it-setting-block {
    margin-top: 8px;
}
.background-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 21px 8px;
}
.bg-choice {
    border: 1px solid #303030;
    background: #181818;
    color: #8a8a8a;
    border-radius: 10px;
    padding: 10px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
}
.bg-choice.active {
    color: var(--gold);
    border-color: rgba(212, 175, 105, .55);
    background: rgba(212, 175, 105, .1);
}
.bg-choice i {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid #555;
    display: inline-block;
}
.mini-checker {
    background-color: #ccc !important;
    background-image:
        linear-gradient(45deg, #777 25%, transparent 25%),
        linear-gradient(-45deg, #777 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #777 75%),
        linear-gradient(-45deg, transparent 75%, #777 75%) !important;
    background-size: 6px 6px !important;
}
.hint-box {
    margin: 0 21px 12px;
    color: #767676;
    background: #181818;
    border-radius: 10px;
    padding: 10px 12px;
    line-height: 1.6;
    font-size: 12px;
}
.it-select,
.tool-settings input[type="range"],
#quality,
#convertQuality,
#wmOpacity,
#adjustValue,
#roundRadius,
#pixelSize,
#mosaicSize {
    display: block;
    width: calc(100% - 42px);
    margin: 0 21px 12px;
    box-sizing: border-box;
}
.it-select {
    height: 40px;
    border: 1px solid #303030;
    border-radius: 10px;
    background: #181818;
    color: #d8d8d8;
    padding: 0 12px;
}
.tool-settings input[type="range"],
#quality,
#convertQuality,
#wmOpacity,
#adjustValue,
#roundRadius,
#pixelSize,
#mosaicSize {
    accent-color: var(--gold);
    height: 22px;
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: center;
    margin: 8px 21px 0;
    padding: 12px 0 0;
    border-top: 1px solid #292929;
}
.result-stats small,
.result-stats strong {
    display: block;
}
.result-stats small {
    color: #666;
    font-size: 11px;
    margin-bottom: 4px;
}
.result-stats strong {
    font-size: 13px;
    color: #fff;
}
.save-rate {
    color: var(--gold);
    background: rgba(212, 175, 105, .12);
    padding: 8px;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
}

.image-tools-page .generation-btn,
.image-tools-page .generation-btn.download-btn {
    display: block;
    width: 275px;
    max-width: calc(100% - 42px);
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    margin: 16px auto 12px;
    padding: 0 16px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 54px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.image-tools-page .download-btn {
    margin-top: 0;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #f0d78c 0%, #d4af69 100%);
}
.image-tools-page .generation-btn[hidden],
.image-tools-page .download-btn[hidden],
.image-tools-page .result-stats[hidden] {
    display: none !important;
}

/* 右侧预览区 */
.image-tools-page .right {
    flex: 1;
    min-width: 0;
    height: calc(100vh - 60px);
    padding: 0 20px 0 13px;
    box-sizing: border-box;
}
.it-right-panel {
    height: calc(100% - 20px);
    margin-top: 0;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, 0));
    padding: 1px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.it-right-panel > .it-right-head,
.it-right-panel > .it-preview-stage {
    background: #000;
}
.it-right-head {
    border-radius: 20px 20px 0 0;
    padding: 18px 22px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #1f1f1f;
}
.it-right-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.it-right-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #787878;
}
.segmented {
    background: #181818;
    padding: 4px;
    border-radius: 10px;
    display: flex;
}
.segmented button {
    border: 0;
    color: #8a8a8a;
    background: transparent;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}
.segmented button.active {
    color: var(--gold);
    background: #303030;
}
.segmented[hidden] {
    display: none !important;
}

.it-preview-stage {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
}
.it-preview-stage.checkerboard {
    background-color: #161616;
    background-image:
        linear-gradient(45deg, #202020 25%, transparent 25%),
        linear-gradient(-45deg, #202020 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #202020 75%),
        linear-gradient(-45deg, transparent 75%, #202020 75%);
    background-size: 28px 28px;
    background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}
.it-preview-stage img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 14px 25px rgba(0, 0, 0, .32));
}
.it-preview-stage img[hidden] {
    display: none !important;
}

/* 空态：绝对铺满预览区，内容垂直水平居中 */
.image-tools-page .it-preview-idle {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 55% 40% at 50% 42%, rgba(212, 175, 105, 0.08), transparent 70%);
}
.image-tools-page .it-preview-idle[hidden] {
    display: none !important;
}
.it-idle-frame {
    position: absolute;
    inset: 42px;
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(245, 232, 184, 0.14), rgba(212, 175, 105, 0.05) 48%, rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(212, 175, 105, 0.32);
    box-shadow:
        inset 0 0 24px rgba(212, 175, 105, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    animation: idleFloat 3.6s ease-in-out infinite;
}
.it-idle-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: itIdleShine 3.8s ease-in-out infinite;
}
.it-idle-sun {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    right: 22%;
    top: 22%;
    background: radial-gradient(circle at 35% 35%, #f5e6b8, #d4af69 70%);
    box-shadow: 0 0 16px rgba(212, 175, 105, 0.55);
}
.it-idle-mountain {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 18%;
    height: 38%;
    background:
        linear-gradient(135deg, transparent 48%, rgba(212, 175, 105, 0.28) 48%, rgba(212, 175, 105, 0.28) 62%, transparent 62%),
        linear-gradient(45deg, transparent 42%, rgba(240, 215, 140, 0.22) 42%, rgba(240, 215, 140, 0.22) 58%, transparent 58%);
}
.it-idle-badge {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: #c4b896;
    background: rgba(212, 175, 105, 0.08);
    border: 1px solid rgba(212, 175, 105, 0.22);
    letter-spacing: 0.04em;
}
@keyframes itIdleShine {
    0%, 35% { transform: translateX(-120%); }
    65%, 100% { transform: translateX(120%); }
}

.image-tools-page .it-preview-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(2px);
}
.image-tools-page .it-preview-loading[hidden] {
    display: none !important;
}
.image-tools-page .it-preview-loading .gen-progress-bar {
    width: 5%;
    transition: width .2s ease;
    animation: none;
}

/* 兼容旧类名（若别处引用） */
.it-empty {
    text-align: center;
    color: #8a8a8a;
    padding: 40px 24px;
}
.it-empty-title {
    font-size: 20px;
    color: #d8d8d8;
    margin-bottom: 18px;
}
.it-empty-desc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #767676;
}
.it-privacy {
    margin-top: 28px;
    font-size: 12px;
    color: #5a5a5a;
}

.processing {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.processing[hidden] {
    display: none !important;
}
.spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #292929;
    border-top-color: var(--gold);
    animation: it-spin .8s linear infinite;
    margin-bottom: 17px;
}
.processing strong {
    font-size: 14px;
    color: #fff;
}
.processing small {
    color: #777;
    margin-top: 8px;
}
.progress {
    width: 220px;
    height: 4px;
    background: #292929;
    border-radius: 4px;
    margin-top: 18px;
    overflow: hidden;
}
.progress i {
    display: block;
    width: 5%;
    height: 100%;
    background: linear-gradient(90deg, #d4af69, #f0d78c);
    transition: width .2s;
}
@keyframes it-spin {
    to { transform: rotate(360deg); }
}

.tools-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 99;
    color: #eee;
    background: #1a1a1a;
    border: 1px solid #303030;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 13px;
}
.tools-toast[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .image-tools-page .tb-workspace > .home-content,
    .image-tools-page .home-content {
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
        overflow: auto;
        padding: 12px;
        gap: 12px;
    }
    .image-tools-page .tb-workspace .left-border,
    .image-tools-page .left-border {
        width: 100%;
        height: auto;
        max-height: none;
        min-height: 0;
    }
    .image-tools-page .tb-workspace .right,
    .image-tools-page .right {
        height: auto;
        max-height: none;
        padding: 0;
        min-height: 360px;
    }
    .it-right-panel {
        height: min(52vw, 420px);
        min-height: 280px;
    }
    .tb-seo-doc {
        flex: none;
        width: 100%;
        max-height: 480px;
        border-radius: 12px;
    }
}
