.compression-tool {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.tool-insight-panel {
    padding: 1.25rem;
    background:
        linear-gradient(155deg, rgba(199, 155, 85, 0.16), transparent 38%),
        var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.tool-insight-panel h3 {
    margin: 0.45rem 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1.08;
}

.tool-insight-panel > p {
    color: var(--muted);
}

.scenario-grid {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.scenario-card {
    min-height: 96px;
    padding: 0.85rem;
    box-shadow: none;
}

.scenario-card h4 {
    color: var(--ink);
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}

.scenario-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.privacy-note {
    margin-top: 1rem;
    padding: 0.85rem;
    color: var(--emerald) !important;
    background: rgba(15, 76, 58, 0.1);
    border: 1px solid rgba(15, 76, 58, 0.2);
    border-radius: var(--radius);
    font-weight: 800;
}

.compression-workspace {
    min-width: 0;
    display: grid;
}

.upload-section {
    min-height: 100%;
}

.upload-area {
    min-height: 440px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.65rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background:
        linear-gradient(135deg, rgba(17, 47, 89, 0.08), transparent),
        var(--surface-solid);
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--ruby);
    background: rgba(143, 23, 23, 0.08);
    transform: translateY(-1px);
}

.upload-icon {
    width: 72px;
    height: 72px;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.upload-area p:first-of-type {
    max-width: 420px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.15;
}

.support-text {
    color: var(--muted);
    font-size: 0.95rem;
}

.upload-hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    max-width: 520px;
}

.upload-hints span {
    padding: 0.34rem 0.68rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.upload-cta {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    margin-top: 0.2rem;
    padding: 0 1.2rem;
    color: #fff8ec;
    background: var(--ruby);
    border: 1px solid rgba(255, 248, 236, 0.3);
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(143, 23, 23, 0.24);
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.preview-box {
    min-width: 0;
    padding: 1rem;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.preview-box h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(45deg, rgba(199, 155, 85, 0.12), transparent),
        rgba(255, 255, 255, 0.5);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.compression-controls {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(199, 155, 85, 0.1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.compression-result-hero {
    display: grid;
    gap: 0.72rem;
    padding: 1.1rem;
    color: #fff7e8;
    background:
        radial-gradient(circle at 18% 8%, rgba(240, 201, 120, 0.24), transparent 9rem),
        linear-gradient(145deg, rgba(9, 10, 14, 0.96), rgba(60, 18, 22, 0.9));
    border: 1px solid rgba(199, 155, 85, 0.38);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(6, 8, 14, 0.2);
}

.compression-result-eyebrow {
    margin: 0;
    color: rgba(248, 234, 213, 0.68);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compression-result-main {
    display: grid;
    gap: 0.2rem;
}

.compression-result-main strong {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 4.9rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.compression-result-main span {
    color: rgba(248, 234, 213, 0.78);
    font-weight: 900;
}

.compression-result-hero h3 {
    max-width: 520px;
    margin: 0;
    color: #fff7e8;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.06;
}

.compression-result-hero > p:not(.compression-result-eyebrow) {
    max-width: 520px;
    margin: 0;
    color: rgba(248, 234, 213, 0.72);
    line-height: 1.65;
}

.compression-result-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.compression-result-stats span {
    min-width: 0;
    display: grid;
    gap: 0.22rem;
    padding: 0.78rem;
    background: rgba(255, 248, 232, 0.07);
    border: 1px solid rgba(199, 155, 85, 0.24);
    border-radius: 8px;
}

.compression-result-stats small {
    color: rgba(248, 234, 213, 0.62);
    font-size: 0.72rem;
    font-weight: 900;
}

.compression-result-stats strong {
    overflow-wrap: anywhere;
    font-size: 1rem;
}

.quality-control {
    display: grid;
    gap: 0.6rem;
}

.quality-control label {
    color: var(--ink);
    font-weight: 900;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--emerald), var(--gold), var(--ruby));
    border-radius: 999px;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    background: var(--surface-solid);
    border: 3px solid var(--ruby);
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
}

@media (max-width: 1080px) {
    .compression-tool {
        grid-template-columns: 1fr;
    }

    .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .compression-tool {
        padding: 0.75rem;
    }

    .preview-container,
    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .upload-area {
        min-height: 320px;
        padding: 1.25rem;
    }
}

/* Reference fidelity: image compressor should feel like a premium tool workspace, not a plain upload box. */
[data-theme="theme-luxury-atlas"] #tool-001 .main-header {
    max-width: 1180px;
    min-height: clamp(180px, 21vh, 255px);
    display: grid;
    align-content: center;
    padding: clamp(1.35rem, 4vw, 3.8rem);
    text-align: left;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0 44%, rgba(255, 250, 240, 0.76) 58%, rgba(255, 250, 240, 0.26) 100%),
        var(--atlas-bg-image, none) right center / min(62vw, 900px) auto no-repeat;
}

[data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
    content: "";
    position: absolute;
    right: clamp(1.2rem, 4vw, 3.4rem);
    bottom: clamp(0.9rem, 3vw, 2.2rem);
    width: clamp(92px, 12vw, 168px);
    aspect-ratio: 1;
    opacity: 0.42;
    pointer-events: none;
    background: url("/资源/visuals/tool-card-camera-luxury.webp") center / cover no-repeat;
    border: 1px solid rgba(199, 155, 85, 0.32);
    border-radius: 50%;
    box-shadow: 0 22px 48px rgba(70, 47, 22, 0.13);
}

[data-theme="theme-luxury-atlas"] #tool-001 .page-title {
    max-width: 680px;
    margin-top: 0.25rem;
}

[data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
    max-width: 600px;
    color: rgba(36, 25, 19, 0.72);
}

[data-theme="theme-luxury-atlas"] .compression-tool {
    position: relative;
    grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.55rem);
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.88), rgba(255, 250, 240, 0.72)),
        var(--atlas-bg-image, none) right top / min(48vw, 680px) auto no-repeat;
}

[data-theme="theme-luxury-atlas"] .compression-tool::before {
    content: "";
    position: absolute;
    inset: 0.7rem;
    border: 1px solid rgba(199, 155, 85, 0.26);
    border-radius: 6px;
    pointer-events: none;
}

[data-theme="theme-luxury-atlas"] .tool-insight-panel,
[data-theme="theme-luxury-atlas"] .upload-area,
[data-theme="theme-luxury-atlas"] .preview-box,
[data-theme="theme-luxury-atlas"] .compression-result-hero,
[data-theme="theme-luxury-atlas"] .compression-controls {
    position: relative;
    z-index: 1;
}

[data-theme="theme-luxury-atlas"] .tool-insight-panel {
    align-self: start;
    color: #f8ead5;
    background:
        radial-gradient(circle at 18% 10%, rgba(199, 155, 85, 0.18), transparent 10rem),
        linear-gradient(180deg, rgba(8, 9, 13, 0.96), rgba(12, 17, 30, 0.94));
    border-color: rgba(199, 155, 85, 0.36);
    box-shadow: 0 22px 54px rgba(6, 8, 14, 0.24);
}

[data-theme="theme-luxury-atlas"] .tool-insight-panel h3 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

[data-theme="theme-luxury-atlas"] .tool-insight-panel > p,
[data-theme="theme-luxury-atlas"] .scenario-card p {
    color: rgba(248, 234, 213, 0.72);
}

[data-theme="theme-luxury-atlas"] .scenario-grid {
    grid-template-columns: 1fr;
}

[data-theme="theme-luxury-atlas"] .scenario-card {
    min-height: 84px;
    background: rgba(255, 248, 232, 0.06);
    border-color: rgba(199, 155, 85, 0.28);
}

[data-theme="theme-luxury-atlas"] .scenario-card h4 {
    color: #f8ead5;
}

[data-theme="theme-luxury-atlas"] .privacy-note {
    color: #f5e0b9 !important;
    background: rgba(14, 77, 62, 0.22);
    border-color: rgba(199, 155, 85, 0.28);
}

[data-theme="theme-luxury-atlas"] .compression-workspace {
    align-content: start;
}

[data-theme="theme-luxury-atlas"] .upload-area {
    min-height: clamp(520px, 58vh, 680px);
    position: relative;
    overflow: hidden;
    place-items: start;
    align-content: center;
    justify-items: start;
    padding: clamp(2rem, 5vw, 4.5rem);
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0 46%, rgba(255, 250, 240, 0.9) 66%, rgba(255, 250, 240, 0.78) 100%),
        radial-gradient(circle at 10% 12%, rgba(125, 23, 24, 0.13), transparent 16rem),
        linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(247, 231, 202, 0.88));
    border: 1px solid rgba(199, 155, 85, 0.5);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        0 22px 54px rgba(70, 47, 22, 0.12);
}

[data-theme="theme-luxury-atlas"] .upload-area::before,
[data-theme="theme-luxury-atlas"] .upload-area::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

[data-theme="theme-luxury-atlas"] .upload-area::before {
    inset: 0.8rem;
    border: 1px dashed rgba(125, 23, 24, 0.28);
    border-radius: 6px;
}

[data-theme="theme-luxury-atlas"] .upload-area::after {
    right: clamp(0.6rem, 2vw, 1.5rem);
    bottom: clamp(0.6rem, 2vw, 1.5rem);
    width: min(30vw, 390px);
    height: min(24vw, 310px);
    opacity: 0.26;
    background: url("/资源/visuals/tool-card-camera-luxury.webp") center / contain no-repeat;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0 42%, rgba(0, 0, 0, 0.56) 56%, transparent 78%);
    mask-image: radial-gradient(ellipse at center, #000 0 42%, rgba(0, 0, 0, 0.56) 56%, transparent 78%);
}

[data-theme="theme-luxury-atlas"] .upload-icon {
    width: clamp(76px, 7vw, 96px);
    height: clamp(76px, 7vw, 96px);
    background: #090a0f;
    border-color: rgba(199, 155, 85, 0.42);
    box-shadow: 0 18px 38px rgba(6, 8, 14, 0.22);
}

[data-theme="theme-luxury-atlas"] .upload-area p:first-of-type {
    max-width: 500px;
    color: #241913;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
}

[data-theme="theme-luxury-atlas"] .support-text {
    max-width: 420px;
}

[data-theme="theme-luxury-atlas"] .upload-hints {
    justify-content: flex-start;
}

[data-theme="theme-luxury-atlas"] .upload-hints span {
    color: #5e4938;
    background: rgba(255, 248, 232, 0.7);
    border-color: rgba(199, 155, 85, 0.3);
}

[data-theme="theme-luxury-atlas"] .upload-cta {
    color: #f8ead5;
    background: #090a0f;
    border-color: rgba(199, 155, 85, 0.45);
    box-shadow: 0 18px 36px rgba(6, 8, 14, 0.18);
}

[data-theme="theme-luxury-atlas"] .preview-section {
    position: relative;
    z-index: 1;
}

[data-theme="theme-luxury-atlas"] #previewSection-001[style*="block"] {
    display: grid !important;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    gap: 1rem;
    align-content: start;
    scroll-margin-top: 120px;
}

[data-theme="theme-luxury-atlas"] .compression-result-hero {
    grid-row: 1 / span 2;
    min-height: 100%;
    align-content: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8, 9, 13, 0.94), rgba(50, 15, 18, 0.9)),
        var(--atlas-bg-image, none) center / 44rem auto no-repeat;
}

[data-theme="theme-luxury-atlas"] .compression-result-hero::after {
    content: "";
    position: absolute;
    right: -3.2rem;
    bottom: -3.8rem;
    width: 13rem;
    aspect-ratio: 1;
    opacity: 0.18;
    pointer-events: none;
    background: url("/资源/visuals/tool-card-camera-luxury.webp") center / contain no-repeat;
}

[data-theme="theme-luxury-atlas"] .compression-result-main strong {
    color: #f4cd7d;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

[data-theme="theme-luxury-atlas"] .compression-result-hero h3,
[data-theme="theme-luxury-atlas"] .compression-result-hero > p,
[data-theme="theme-luxury-atlas"] .compression-result-stats {
    position: relative;
    z-index: 1;
}

[data-theme="theme-luxury-atlas"] .preview-container {
    grid-column: 2;
    gap: 1rem;
    align-items: start;
}

[data-theme="theme-luxury-atlas"] .compression-controls {
    grid-column: 2;
    margin-top: 0;
}

[data-theme="theme-luxury-atlas"] .preview-box {
    min-height: auto;
    background: rgba(255, 250, 240, 0.86);
    border-color: rgba(199, 155, 85, 0.38);
    box-shadow: 0 18px 42px rgba(70, 47, 22, 0.1);
}

[data-theme="theme-luxury-atlas"] .preview-box h3 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

[data-theme="theme-luxury-atlas"] .image-container {
    min-height: 250px;
    background:
        linear-gradient(135deg, rgba(125, 23, 24, 0.08), transparent 50%),
        rgba(255, 255, 255, 0.54);
}

[data-theme="theme-luxury-atlas"] .image-info {
    padding: 0.85rem 0.15rem 0;
    color: rgba(36, 25, 19, 0.68);
    font-weight: 700;
}

[data-theme="theme-luxury-atlas"] .compression-controls {
    display: grid;
    gap: 1rem;
    align-content: start;
    background: rgba(9, 10, 14, 0.9);
    border-color: rgba(199, 155, 85, 0.35);
    box-shadow: 0 18px 42px rgba(6, 8, 14, 0.2);
}

[data-theme="theme-luxury-atlas"] .quality-control {
    gap: 0.75rem;
}

[data-theme="theme-luxury-atlas"] .quality-control label {
    color: #f8ead5;
}

[data-theme="theme-luxury-atlas"] .tool-button-row {
    gap: 0.8rem;
    margin-top: 0;
    align-items: center;
}

[data-theme="theme-luxury-atlas"] .download-btn,
[data-theme="theme-luxury-atlas"] .reset-btn {
    min-height: 52px;
    border-radius: 8px;
}

@media (max-width: 1080px) {
    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        min-height: 180px;
        padding: 1.4rem;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
        width: 104px;
        opacity: 0.3;
    }

    [data-theme="theme-luxury-atlas"] .compression-tool {
        grid-template-columns: 1fr;
    }

    [data-theme="theme-luxury-atlas"] .compression-workspace {
        order: 1;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel {
        order: 2;
    }

    [data-theme="theme-luxury-atlas"] .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        min-height: 156px;
        padding: 1rem;
        background:
            linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0 56%, rgba(255, 250, 240, 0.74) 100%),
            var(--atlas-bg-image, none) right bottom / 34rem auto no-repeat;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
        right: 0.85rem;
        bottom: 0.7rem;
        width: 74px;
        opacity: 0.22;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 320px;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
        max-width: 300px;
    }

    [data-theme="theme-luxury-atlas"] .compression-tool {
        padding: 0.7rem 0.7rem calc(5.6rem + env(safe-area-inset-bottom));
        background:
            linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(251, 241, 223, 0.94)),
            var(--atlas-bg-image, none) center top / 48rem auto no-repeat;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel {
        padding: 1rem;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel h3 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel > p {
        font-size: 0.95rem;
    }

    [data-theme="theme-luxury-atlas"] .scenario-grid {
        grid-template-columns: 1fr;
        max-height: 420px;
        overflow: auto;
    }

    [data-theme="theme-luxury-atlas"] .upload-area {
        min-height: min(500px, 58svh);
        place-items: center;
        justify-items: center;
        padding: 1.45rem;
        text-align: center;
        color: #f8ead5;
        background:
            linear-gradient(180deg, rgba(8, 9, 13, 0.92), rgba(43, 13, 17, 0.84)),
            var(--atlas-bg-image, none) center / 52rem auto no-repeat;
        border-color: rgba(199, 155, 85, 0.44);
        box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.05), 0 20px 52px rgba(6, 8, 14, 0.24);
    }

    [data-theme="theme-luxury-atlas"] .upload-section {
        margin-bottom: calc(4.8rem + env(safe-area-inset-bottom));
    }

    [data-theme="theme-luxury-atlas"] .upload-area::before {
        border-color: rgba(199, 155, 85, 0.3);
    }

    [data-theme="theme-luxury-atlas"] .upload-area::after {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 58%;
        opacity: 0.34;
        background-position: center bottom;
        background-size: 28rem auto;
        -webkit-mask-image: radial-gradient(ellipse at 50% 74%, #000 0 38%, rgba(0, 0, 0, 0.56) 54%, transparent 82%);
        mask-image: radial-gradient(ellipse at 50% 74%, #000 0 38%, rgba(0, 0, 0, 0.56) 54%, transparent 82%);
    }

    [data-theme="theme-luxury-atlas"] .upload-area p:first-of-type {
        max-width: 280px;
        color: #fff6de;
        font-size: clamp(1.6rem, 8vw, 2.25rem);
    }

    [data-theme="theme-luxury-atlas"] .support-text {
        color: rgba(248, 234, 213, 0.68);
    }

    [data-theme="theme-luxury-atlas"] .upload-hints span {
        color: rgba(248, 234, 213, 0.78);
        background: rgba(255, 248, 232, 0.055);
        border-color: rgba(199, 155, 85, 0.25);
    }

    [data-theme="theme-luxury-atlas"] .upload-hints {
        justify-content: center;
    }

    [data-theme="theme-luxury-atlas"] .upload-cta {
        color: #12090a;
        background: #f1c978;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    }

    [data-theme="theme-luxury-atlas"] #previewSection-001[style*="block"] {
        display: flex !important;
        flex-direction: column;
        gap: 0.9rem;
        padding-bottom: 0;
        scroll-margin-top: 94px;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero {
        order: 1;
        min-height: 252px;
        padding: 1.05rem;
        align-content: end;
        scroll-margin-top: 94px;
        background:
            linear-gradient(180deg, rgba(8, 9, 13, 0.76), rgba(52, 12, 18, 0.94)),
            var(--atlas-bg-image, none) center / 48rem auto no-repeat;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-main strong {
        font-size: clamp(3.4rem, 18vw, 5.1rem);
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero h3 {
        font-size: clamp(1.38rem, 7vw, 1.9rem);
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero > p:not(.compression-result-eyebrow) {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-stats {
        gap: 0.5rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-stats span {
        padding: 0.65rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-stats strong {
        font-size: 0.92rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-controls {
        order: 2;
        margin-top: 0;
        margin-bottom: 0.85rem;
        padding: 1rem;
    }

    [data-theme="theme-luxury-atlas"] .preview-container {
        order: 3;
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    [data-theme="theme-luxury-atlas"] .preview-box {
        padding: 0.85rem;
    }

    [data-theme="theme-luxury-atlas"] .preview-box h3 {
        margin-bottom: 0.6rem;
        font-size: 1.22rem;
    }

    [data-theme="theme-luxury-atlas"] .image-container {
        min-height: 156px;
        aspect-ratio: 16 / 10;
    }

    [data-theme="theme-luxury-atlas"] .image-info {
        gap: 0.18rem;
        padding-top: 0.58rem;
        font-size: 0.82rem;
    }

    [data-theme="theme-luxury-atlas"] .tool-button-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    [data-theme="theme-luxury-atlas"] .download-btn,
    [data-theme="theme-luxury-atlas"] .reset-btn {
        width: 100%;
    }
}

/* Stage 34: default mobile image compressor moves closer to the black-gold giftbook tool reference. */
@media (max-width: 720px) {
    body[data-theme="theme-luxury-atlas"][data-current-route="tool-001"] {
        background:
            linear-gradient(180deg, #08090d 0 72px, #07080c 72px 100%);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 {
        position: relative;
        isolation: isolate;
        margin: -0.15rem -0.1rem 0;
        padding: 0.55rem 0.45rem calc(6rem + env(safe-area-inset-bottom));
        color: #f8ead5;
        overflow: hidden;
        background:
            linear-gradient(180deg, rgba(7, 8, 12, 0.96), rgba(16, 9, 11, 0.98)),
            url("/资源/visuals/luxury-atlas-hero.webp") center top / 54rem auto no-repeat;
        border: 1px solid rgba(199, 155, 85, 0.28);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
    }

    [data-theme="theme-luxury-atlas"] #tool-001::before {
        content: "";
        position: absolute;
        inset: 0.55rem;
        z-index: -1;
        pointer-events: none;
        border: 1px solid rgba(199, 155, 85, 0.28);
        border-radius: 14px 14px 0 0;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        position: relative;
        min-height: 188px;
        margin: 0 0 0.75rem;
        padding: 1.2rem 1.05rem;
        overflow: hidden;
        color: #f8ead5;
        background:
            linear-gradient(100deg, rgba(7, 8, 12, 0.9) 0 54%, rgba(80, 18, 20, 0.42) 100%),
            url("/资源/visuals/luxury-atlas-hero.webp") 61% 42% / 46rem auto no-repeat;
        border: 1px solid rgba(199, 155, 85, 0.34);
        border-radius: 14px;
        box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.04);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
        right: -0.8rem;
        bottom: -0.6rem;
        width: 8.4rem;
        opacity: 0.22;
        border-radius: 24px;
        filter: sepia(0.2) saturate(0.94) brightness(0.92);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .tool-eyebrow {
        color: #f4d28a;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 15rem;
        color: #fff3d7;
        font-size: 2.35rem;
        line-height: 0.98;
        text-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
        max-width: 18.5rem;
        color: rgba(248, 234, 213, 0.72);
    }

    [data-theme="theme-luxury-atlas"] .compression-tool {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    [data-theme="theme-luxury-atlas"] .compression-tool::before {
        display: none;
    }

    [data-theme="theme-luxury-atlas"] .compression-workspace,
    [data-theme="theme-luxury-atlas"] .upload-section {
        min-width: 0;
    }

    [data-theme="theme-luxury-atlas"] .upload-section {
        margin: 0 0 0.85rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-area {
        min-height: 440px;
        padding: 1.15rem;
        align-content: end;
        justify-items: stretch;
        text-align: left;
        color: #f8ead5;
        background:
            linear-gradient(180deg, rgba(8, 9, 13, 0.28) 0%, rgba(8, 9, 13, 0.66) 44%, rgba(9, 8, 10, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 35% / 21rem auto no-repeat,
            linear-gradient(145deg, rgba(91, 19, 20, 0.78), rgba(8, 9, 13, 0.98));
        border: 1px solid rgba(199, 155, 85, 0.46);
        border-radius: 18px;
        box-shadow:
            inset 0 0 0 1px rgba(255, 248, 232, 0.06),
            0 24px 66px rgba(0, 0, 0, 0.34);
    }

    [data-theme="theme-luxury-atlas"] .upload-area::before {
        inset: 0.72rem;
        border-style: solid;
        border-color: rgba(199, 155, 85, 0.3);
        border-radius: 13px;
    }

    [data-theme="theme-luxury-atlas"] .upload-area::after {
        display: none;
    }

    [data-theme="theme-luxury-atlas"] .upload-icon {
        width: 58px;
        height: 58px;
        padding: 0.78rem;
        margin-bottom: 0.7rem;
        background: rgba(7, 8, 12, 0.92);
        border-color: rgba(244, 210, 138, 0.42);
    }

    [data-theme="theme-luxury-atlas"] .upload-area p:first-of-type {
        max-width: 17rem;
        color: #fff4da;
        font-size: 2rem;
        line-height: 1.04;
    }

    [data-theme="theme-luxury-atlas"] .support-text {
        max-width: 18rem;
        color: rgba(248, 234, 213, 0.72);
        font-size: 0.9rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-hints {
        justify-content: flex-start;
        gap: 0.42rem;
        margin-top: 0.2rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-hints span {
        color: rgba(248, 234, 213, 0.82);
        background: rgba(255, 248, 232, 0.06);
        border-color: rgba(244, 210, 138, 0.26);
    }

    [data-theme="theme-luxury-atlas"] .upload-cta {
        width: max-content;
        min-height: 44px;
        margin-top: 0.45rem;
        color: #21140d;
        background: linear-gradient(180deg, #f4d28a, #c79b55);
        border-color: rgba(255, 238, 190, 0.62);
        border-radius: 999px;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel {
        padding: 1rem;
        color: #f8ead5;
        background:
            linear-gradient(180deg, rgba(12, 13, 18, 0.94), rgba(8, 9, 13, 0.98)),
            url("/资源/visuals/luxury-atlas-hero.webp") center / 42rem auto no-repeat;
        border-color: rgba(199, 155, 85, 0.34);
        border-radius: 16px;
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-eyebrow {
        color: #f4d28a;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel h3 {
        color: #fff4da;
        font-size: 1.55rem;
        line-height: 1.08;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel > p {
        color: rgba(248, 234, 213, 0.72);
    }

    [data-theme="theme-luxury-atlas"] .scenario-grid {
        max-height: none;
        overflow: visible;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card {
        min-height: 92px;
        padding: 0.85rem;
        background: rgba(255, 248, 232, 0.055);
        border-color: rgba(199, 155, 85, 0.24);
        border-radius: 12px;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card h4 {
        color: #fff4da;
    }

    [data-theme="theme-luxury-atlas"] .privacy-note {
        color: #f4d28a !important;
        background: rgba(31, 109, 85, 0.14);
        border-color: rgba(244, 210, 138, 0.22);
    }

    [data-theme="theme-luxury-atlas"] #previewSection-001[style*="block"] {
        gap: 0.72rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero {
        min-height: 430px;
        padding: 1.05rem;
        align-content: end;
        text-align: left;
        background:
            linear-gradient(180deg, rgba(8, 9, 13, 0.22) 0%, rgba(8, 9, 13, 0.58) 48%, rgba(8, 9, 13, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 28% / 22rem auto no-repeat,
            linear-gradient(145deg, rgba(95, 18, 20, 0.76), rgba(8, 9, 13, 0.98));
        border-color: rgba(244, 210, 138, 0.46);
        border-radius: 18px;
        box-shadow: 0 24px 66px rgba(0, 0, 0, 0.32);
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero::before {
        content: "";
        position: absolute;
        inset: 0.72rem;
        pointer-events: none;
        border: 1px solid rgba(244, 210, 138, 0.28);
        border-radius: 13px;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero::after {
        display: none;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-eyebrow {
        color: rgba(244, 210, 138, 0.88);
    }

    [data-theme="theme-luxury-atlas"] .compression-result-main strong {
        color: #f4d28a;
        font-size: 4.6rem;
        line-height: 0.84;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-main span {
        color: rgba(248, 234, 213, 0.8);
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero h3 {
        max-width: 18rem;
        color: #fff4da;
        font-size: 1.68rem;
        line-height: 1.06;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero > p:not(.compression-result-eyebrow) {
        max-width: 18rem;
        color: rgba(248, 234, 213, 0.72);
        font-size: 0.92rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-stats span {
        padding: 0.7rem;
        background: rgba(255, 248, 232, 0.07);
        border-color: rgba(244, 210, 138, 0.22);
        border-radius: 10px;
    }

    [data-theme="theme-luxury-atlas"] .compression-controls {
        padding: 0.95rem;
        background: rgba(8, 9, 13, 0.96);
        border-color: rgba(199, 155, 85, 0.34);
        border-radius: 16px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    }

    [data-theme="theme-luxury-atlas"] .download-btn {
        color: #21140d;
        background: linear-gradient(180deg, #f4d28a, #c79b55);
        border-color: rgba(255, 238, 190, 0.62);
    }

    [data-theme="theme-luxury-atlas"] .reset-btn {
        color: #f8ead5;
        background: rgba(255, 248, 232, 0.08);
        border-color: rgba(199, 155, 85, 0.34);
    }

    [data-theme="theme-luxury-atlas"] .preview-box {
        color: #f8ead5;
        background: rgba(8, 9, 13, 0.92);
        border-color: rgba(199, 155, 85, 0.28);
        border-radius: 16px;
    }

    [data-theme="theme-luxury-atlas"] .preview-box h3 {
        color: #fff4da;
    }

    [data-theme="theme-luxury-atlas"] .image-container {
        min-height: 170px;
        background: rgba(255, 248, 232, 0.06);
        border-color: rgba(199, 155, 85, 0.22);
        border-radius: 12px;
    }

    [data-theme="theme-luxury-atlas"] .image-info {
        color: rgba(248, 234, 213, 0.68);
    }
}

/* Stage 39: tighten the default image-compressor mobile workspace without changing the compressor flow. */
@media (min-width: 1081px) {
    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        min-height: 206px;
        padding: 2.15rem 3.2rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-tool {
        gap: 1.05rem;
        padding: 1rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-workspace {
        min-height: 0;
    }

    [data-theme="theme-luxury-atlas"] .upload-area {
        min-height: 492px;
    }
}

@media (max-width: 720px) {
    [data-theme="theme-luxury-atlas"] #tool-001 {
        padding-top: 0.42rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-tool,
    [data-theme="theme-luxury-atlas"] .compression-workspace,
    [data-theme="theme-luxury-atlas"] .upload-section,
    [data-theme="theme-luxury-atlas"] .preview-section,
    [data-theme="theme-luxury-atlas"] .tool-insight-panel {
        min-width: 0;
        max-width: 100%;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        min-height: 148px;
        margin-bottom: 0.62rem;
        padding: 0.95rem 1rem;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 14rem;
        font-size: clamp(1.98rem, 10.4vw, 2.28rem);
        line-height: 0.98;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
        max-width: 16.5rem;
        font-size: 0.92rem;
        line-height: 1.48;
    }

    [data-theme="theme-luxury-atlas"] .upload-section {
        margin-bottom: 0.68rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-area {
        min-height: min(344px, 42svh);
        padding: 1rem;
        background:
            linear-gradient(180deg, rgba(8, 9, 13, 0.24) 0%, rgba(8, 9, 13, 0.62) 44%, rgba(9, 8, 10, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 30% / 19rem auto no-repeat,
            linear-gradient(145deg, rgba(91, 19, 20, 0.78), rgba(8, 9, 13, 0.98));
    }

    [data-theme="theme-luxury-atlas"] .upload-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-area p:first-of-type {
        max-width: 15.5rem;
        font-size: clamp(1.55rem, 7.2vw, 1.92rem);
    }

    [data-theme="theme-luxury-atlas"] .support-text {
        max-width: 16.5rem;
        font-size: 0.86rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-hints {
        gap: 0.34rem;
        margin-top: 0.12rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-hints span {
        padding: 0.32rem 0.58rem;
        font-size: 0.72rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-cta {
        min-height: 42px;
        margin-top: 0.34rem;
        padding-inline: 1.15rem;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel {
        padding: 0.88rem;
        overflow: hidden;
        border-radius: 15px;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel h3 {
        font-size: clamp(1.28rem, 6.2vw, 1.62rem);
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel > p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    [data-theme="theme-luxury-atlas"] .scenario-grid {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-auto-flow: column;
        grid-auto-columns: minmax(12.5rem, 78%);
        grid-template-columns: none;
        max-height: none;
        margin: 0.78rem -0.18rem 0;
        padding: 0 0.18rem 0.24rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card {
        min-height: 104px;
        padding: 0.75rem;
        scroll-snap-align: start;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card h4 {
        font-size: 0.9rem;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card p {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    [data-theme="theme-luxury-atlas"] .privacy-note {
        margin-top: 0.72rem;
        font-size: 0.82rem;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-hero {
        min-height: 390px;
    }

    [data-theme="theme-luxury-atlas"] .compression-result-main strong {
        font-size: clamp(3.6rem, 17vw, 4.8rem);
    }
}

/* Stage 4: tool-001 theme structure layer. */
@media (min-width: 1081px) {
    [data-theme="theme-black-salon"] .compression-tool {
        grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
        gap: 1rem;
        padding: 1rem;
        background:
            radial-gradient(circle at 92% 8%, rgba(178, 43, 43, 0.18), transparent 18rem),
            linear-gradient(135deg, rgba(8, 5, 5, 0.96), rgba(18, 11, 12, 0.9));
        border-color: rgba(209, 166, 94, 0.34);
    }

    [data-theme="theme-black-salon"] .tool-insight-panel {
        color: #f7ebdc;
        background:
            radial-gradient(circle at 20% 12%, rgba(209, 166, 94, 0.12), transparent 11rem),
            rgba(13, 9, 10, 0.96);
        border-color: rgba(209, 166, 94, 0.34);
    }

    [data-theme="theme-black-salon"] .tool-insight-panel > p,
    [data-theme="theme-black-salon"] .scenario-card p {
        color: rgba(247, 235, 220, 0.72);
    }

    [data-theme="theme-black-salon"] .scenario-grid {
        grid-template-columns: 1fr;
    }

    [data-theme="theme-black-salon"] .scenario-card {
        background: rgba(255, 248, 232, 0.045);
        border-color: rgba(209, 166, 94, 0.24);
    }

    [data-theme="theme-black-salon"] .scenario-card h4 {
        color: #f7ebdc;
    }

    [data-theme="theme-black-salon"] .privacy-note {
        color: #f3d79e !important;
        background: rgba(31, 109, 85, 0.16);
        border-color: rgba(209, 166, 94, 0.24);
    }

    [data-theme="theme-black-salon"] .upload-area {
        min-height: 560px;
        color: #f7ebdc;
        background:
            radial-gradient(circle at 50% 42%, rgba(178, 43, 43, 0.22), transparent 16rem),
            linear-gradient(180deg, rgba(20, 16, 16, 0.95), rgba(8, 5, 5, 0.96));
        border: 1px solid rgba(209, 166, 94, 0.38);
        box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.04), 0 28px 70px rgba(0, 0, 0, 0.32);
    }

    [data-theme="theme-black-salon"] .upload-area p:first-of-type {
        color: #f7ebdc;
    }

    [data-theme="theme-black-salon"] .support-text {
        color: rgba(247, 235, 220, 0.65);
    }

    [data-theme="theme-black-salon"] .upload-icon {
        background: rgba(178, 43, 43, 0.94);
        border-color: rgba(209, 166, 94, 0.5);
    }

    [data-theme="theme-silk-gift"] .compression-tool {
        position: relative;
        padding: 1.2rem;
        background:
            linear-gradient(135deg, rgba(255, 248, 232, 0.94), rgba(247, 221, 184, 0.72)),
            repeating-linear-gradient(135deg, rgba(177, 43, 36, 0.05) 0 1px, transparent 1px 18px);
        border: 4px double rgba(194, 119, 52, 0.4);
    }

    [data-theme="theme-silk-gift"] .tool-insight-panel,
    [data-theme="theme-silk-gift"] .upload-area,
    [data-theme="theme-silk-gift"] .preview-box,
    [data-theme="theme-silk-gift"] .compression-controls {
        border-radius: 0 18px 0 18px;
        border-style: double;
        border-width: 3px;
    }

    [data-theme="theme-silk-gift"] .tool-insight-panel {
        background:
            linear-gradient(155deg, rgba(255, 248, 232, 0.98), rgba(255, 238, 204, 0.82));
    }

    [data-theme="theme-silk-gift"] .scenario-card {
        background: rgba(255, 248, 232, 0.58);
        border-color: rgba(194, 119, 52, 0.34);
    }

    [data-theme="theme-silk-gift"] .upload-area {
        min-height: 540px;
        background:
            linear-gradient(145deg, rgba(255, 250, 240, 0.95), rgba(255, 232, 196, 0.82)),
            radial-gradient(circle at 86% 12%, rgba(177, 43, 36, 0.1), transparent 12rem);
        border-color: rgba(194, 119, 52, 0.46);
    }

    [data-theme="theme-modern-atelier"] .compression-tool {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
        gap: 1.1rem;
        padding: 1rem;
        background:
            linear-gradient(135deg, rgba(251, 248, 240, 0.94), rgba(232, 226, 214, 0.9)),
            linear-gradient(90deg, rgba(17, 18, 20, 0.06) 0 1px, transparent 1px 72px);
        box-shadow: none;
    }

    [data-theme="theme-modern-atelier"] .compression-workspace {
        order: 1;
    }

    [data-theme="theme-modern-atelier"] .tool-insight-panel {
        order: 2;
        align-self: start;
        background: rgba(251, 248, 240, 0.84);
        border-color: rgba(35, 35, 35, 0.18);
        border-radius: 0;
        box-shadow: none;
    }

    [data-theme="theme-modern-atelier"] .scenario-grid {
        grid-template-columns: 1fr;
    }

    [data-theme="theme-modern-atelier"] .scenario-card,
    [data-theme="theme-modern-atelier"] .upload-area,
    [data-theme="theme-modern-atelier"] .preview-box,
    [data-theme="theme-modern-atelier"] .compression-controls {
        border-radius: 0;
        box-shadow: none;
    }

    [data-theme="theme-modern-atelier"] .upload-area {
        min-height: 560px;
        background:
            linear-gradient(135deg, rgba(251, 248, 240, 0.96), rgba(232, 226, 214, 0.82));
        border: 1px dashed rgba(35, 35, 35, 0.28);
    }

    [data-theme="theme-modern-atelier"] .upload-area p:first-of-type {
        font-family: var(--font-sans);
        font-weight: 900;
    }

    [data-theme="theme-classic-atlas"] .compression-tool {
        position: relative;
        background:
            linear-gradient(90deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 25%),
            linear-gradient(180deg, rgba(18, 59, 105, 0.06) 0 1px, transparent 1px 160px),
            rgba(255, 249, 236, 0.82);
        border-color: rgba(18, 59, 105, 0.34);
    }

    [data-theme="theme-classic-atlas"] .tool-insight-panel,
    [data-theme="theme-classic-atlas"] .scenario-card,
    [data-theme="theme-classic-atlas"] .upload-area,
    [data-theme="theme-classic-atlas"] .preview-box {
        border-radius: 2px;
        border-left: 4px solid var(--cobalt);
    }

    [data-theme="theme-classic-atlas"] .tool-insight-panel {
        background: rgba(255, 249, 236, 0.9);
    }

    [data-theme="theme-classic-atlas"] .scenario-grid {
        grid-template-columns: 1fr;
    }

    [data-theme="theme-classic-atlas"] .upload-area {
        min-height: 540px;
        background:
            linear-gradient(135deg, rgba(255, 249, 236, 0.94), rgba(223, 231, 237, 0.62));
        border-style: solid;
    }
}

@media (max-width: 1080px) {
    [data-theme="theme-black-salon"] .compression-tool,
    [data-theme="theme-silk-gift"] .compression-tool,
    [data-theme="theme-modern-atelier"] .compression-tool,
    [data-theme="theme-classic-atlas"] .compression-tool {
        grid-template-columns: 1fr;
    }

    [data-theme="theme-black-salon"] .compression-workspace,
    [data-theme="theme-silk-gift"] .compression-workspace,
    [data-theme="theme-modern-atelier"] .compression-workspace,
    [data-theme="theme-classic-atlas"] .compression-workspace {
        order: 1;
    }

    [data-theme="theme-black-salon"] .tool-insight-panel,
    [data-theme="theme-silk-gift"] .tool-insight-panel,
    [data-theme="theme-modern-atelier"] .tool-insight-panel,
    [data-theme="theme-classic-atlas"] .tool-insight-panel {
        order: 2;
    }
}

/* Stage 23: non-default themes own the image-compression result state. */
[data-theme="theme-black-salon"] .compression-result-hero,
[data-theme="theme-silk-gift"] .compression-result-hero,
[data-theme="theme-modern-atelier"] .compression-result-hero,
[data-theme="theme-classic-atlas"] .compression-result-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

[data-theme="theme-black-salon"] .compression-result-hero::after,
[data-theme="theme-silk-gift"] .compression-result-hero::after,
[data-theme="theme-classic-atlas"] .compression-result-hero::after {
    content: "";
    position: absolute;
    right: -2.8rem;
    bottom: -3.6rem;
    width: 12.5rem;
    aspect-ratio: 1;
    pointer-events: none;
    z-index: -1;
    background: url("/资源/visuals/tool-card-camera-luxury.webp") center / contain no-repeat;
}

[data-theme="theme-black-salon"] .compression-result-hero {
    color: #f8ead5;
    background:
        linear-gradient(145deg, rgba(8, 5, 5, 0.94), rgba(67, 15, 17, 0.9)),
        url("/资源/visuals/luxury-atlas-hero.webp") center / cover no-repeat;
    border-color: rgba(209, 166, 94, 0.46);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

[data-theme="theme-black-salon"] .compression-result-hero::after {
    opacity: 0.18;
    filter: sepia(0.34) saturate(0.86) hue-rotate(-12deg);
}

[data-theme="theme-black-salon"] .compression-result-main strong {
    color: #f5d08d;
}

[data-theme="theme-black-salon"] .compression-result-stats span,
[data-theme="theme-black-salon"] .compression-controls {
    background: rgba(255, 248, 232, 0.055);
    border-color: rgba(209, 166, 94, 0.28);
}

[data-theme="theme-black-salon"] .compression-controls,
[data-theme="theme-black-salon"] .preview-box {
    color: #f8ead5;
    background:
        linear-gradient(180deg, rgba(16, 10, 10, 0.96), rgba(9, 6, 6, 0.94));
    border-color: rgba(209, 166, 94, 0.28);
}

[data-theme="theme-black-salon"] .quality-control label,
[data-theme="theme-black-salon"] .preview-box h3 {
    color: #f8ead5;
}

[data-theme="theme-silk-gift"] .compression-result-hero {
    color: #30150f;
    background:
        linear-gradient(145deg, rgba(255, 248, 232, 0.96), rgba(246, 215, 177, 0.86)),
        url("/资源/visuals/ui-atlas-reference-bg.png") right bottom / 44rem auto no-repeat;
    border: 4px double rgba(177, 43, 36, 0.34);
    box-shadow: 0 20px 52px rgba(119, 59, 20, 0.12);
}

[data-theme="theme-silk-gift"] .compression-result-hero::after {
    opacity: 0.2;
    filter: sepia(0.38) hue-rotate(-18deg) saturate(0.9);
}

[data-theme="theme-silk-gift"] .compression-result-eyebrow,
[data-theme="theme-silk-gift"] .compression-result-main span,
[data-theme="theme-silk-gift"] .compression-result-hero > p:not(.compression-result-eyebrow),
[data-theme="theme-silk-gift"] .compression-result-stats small {
    color: rgba(73, 36, 20, 0.72);
}

[data-theme="theme-silk-gift"] .compression-result-main strong {
    color: #9c1718;
}

[data-theme="theme-silk-gift"] .compression-result-hero h3,
[data-theme="theme-silk-gift"] .compression-result-stats strong {
    color: #27120e;
}

[data-theme="theme-silk-gift"] .compression-result-stats span {
    background: rgba(255, 250, 240, 0.62);
    border-color: rgba(177, 43, 36, 0.22);
}

[data-theme="theme-silk-gift"] .quality-control label {
    color: #30150f;
}

[data-theme="theme-modern-atelier"] .compression-result-hero {
    color: #141414;
    background:
        linear-gradient(135deg, rgba(251, 248, 240, 0.98), rgba(230, 224, 212, 0.92)),
        linear-gradient(90deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 72px);
    border: 1px solid rgba(20, 20, 20, 0.38);
    border-radius: 0;
    box-shadow: none;
}

[data-theme="theme-modern-atelier"] .compression-result-eyebrow,
[data-theme="theme-modern-atelier"] .compression-result-main span,
[data-theme="theme-modern-atelier"] .compression-result-hero > p:not(.compression-result-eyebrow),
[data-theme="theme-modern-atelier"] .compression-result-stats small {
    color: rgba(20, 20, 20, 0.62);
}

[data-theme="theme-modern-atelier"] .compression-result-main strong,
[data-theme="theme-modern-atelier"] .compression-result-hero h3,
[data-theme="theme-modern-atelier"] .compression-result-stats strong {
    color: #141414;
    font-family: var(--font-sans);
}

[data-theme="theme-modern-atelier"] .compression-result-stats span {
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(20, 20, 20, 0.18);
    border-radius: 0;
}

[data-theme="theme-modern-atelier"] .download-btn,
[data-theme="theme-modern-atelier"] .reset-btn {
    border-radius: 0;
}

[data-theme="theme-modern-atelier"] .download-btn {
    background: #141414;
    border-color: #141414;
}

[data-theme="theme-classic-atlas"] .compression-result-hero {
    color: #071224;
    background:
        linear-gradient(135deg, rgba(255, 249, 236, 0.92), rgba(255, 249, 236, 0.78)),
        linear-gradient(90deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 25%),
        linear-gradient(180deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 96px),
        url("/资源/visuals/ui-atlas-reference-bg.png") right bottom / 48rem auto no-repeat,
        rgba(255, 249, 236, 0.94);
    border-color: rgba(18, 59, 105, 0.42);
    border-left: 5px solid #123b69;
    border-radius: 2px;
    box-shadow: 0 18px 42px rgba(18, 59, 105, 0.12);
}

[data-theme="theme-classic-atlas"] .compression-result-hero::after {
    opacity: 0.16;
    filter: sepia(0.2) hue-rotate(8deg) saturate(0.75);
}

[data-theme="theme-classic-atlas"] .compression-result-eyebrow,
[data-theme="theme-classic-atlas"] .compression-result-main span,
[data-theme="theme-classic-atlas"] .compression-result-hero > p:not(.compression-result-eyebrow),
[data-theme="theme-classic-atlas"] .compression-result-stats small {
    color: rgba(7, 18, 36, 0.64);
}

[data-theme="theme-classic-atlas"] .compression-result-main strong,
[data-theme="theme-classic-atlas"] .compression-result-hero h3,
[data-theme="theme-classic-atlas"] .compression-result-stats strong {
    color: #071224;
}

[data-theme="theme-classic-atlas"] .compression-result-stats span,
[data-theme="theme-classic-atlas"] .compression-controls {
    background: rgba(255, 249, 236, 0.72);
    border-color: rgba(18, 59, 105, 0.24);
    border-radius: 2px;
}

[data-theme="theme-classic-atlas"] .quality-control label {
    color: #071224;
}

[data-theme="theme-classic-atlas"] .download-btn {
    background: #123b69;
    border-color: #123b69;
}

@media (min-width: 1081px) {
    [data-theme="theme-black-salon"] #previewSection-001[style*="block"],
    [data-theme="theme-silk-gift"] #previewSection-001[style*="block"],
    [data-theme="theme-modern-atelier"] #previewSection-001[style*="block"],
    [data-theme="theme-classic-atlas"] #previewSection-001[style*="block"] {
        display: grid !important;
        grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
        gap: 1rem;
        align-content: start;
        scroll-margin-top: 120px;
    }

    [data-theme="theme-black-salon"] .compression-result-hero,
    [data-theme="theme-silk-gift"] .compression-result-hero,
    [data-theme="theme-modern-atelier"] .compression-result-hero,
    [data-theme="theme-classic-atlas"] .compression-result-hero {
        grid-row: 1 / span 2;
        min-height: 100%;
        align-content: center;
    }

    [data-theme="theme-black-salon"] .preview-container,
    [data-theme="theme-silk-gift"] .preview-container,
    [data-theme="theme-modern-atelier"] .preview-container,
    [data-theme="theme-classic-atlas"] .preview-container {
        grid-column: 2;
        gap: 1rem;
        align-items: start;
    }

    [data-theme="theme-black-salon"] .compression-controls,
    [data-theme="theme-silk-gift"] .compression-controls,
    [data-theme="theme-modern-atelier"] .compression-controls,
    [data-theme="theme-classic-atlas"] .compression-controls {
        grid-column: 2;
        margin-top: 0;
    }

    [data-theme="theme-black-salon"] .image-container,
    [data-theme="theme-silk-gift"] .image-container,
    [data-theme="theme-modern-atelier"] .image-container,
    [data-theme="theme-classic-atlas"] .image-container {
        min-height: 250px;
    }
}

@media (max-width: 1080px) {
    [data-theme="theme-black-salon"] #previewSection-001[style*="block"],
    [data-theme="theme-silk-gift"] #previewSection-001[style*="block"],
    [data-theme="theme-modern-atelier"] #previewSection-001[style*="block"],
    [data-theme="theme-classic-atlas"] #previewSection-001[style*="block"] {
        display: flex !important;
        flex-direction: column;
        gap: 0.9rem;
        scroll-margin-top: 94px;
    }

    [data-theme="theme-black-salon"] .compression-result-hero,
    [data-theme="theme-silk-gift"] .compression-result-hero,
    [data-theme="theme-modern-atelier"] .compression-result-hero,
    [data-theme="theme-classic-atlas"] .compression-result-hero {
        order: 1;
    }

    [data-theme="theme-black-salon"] .compression-controls,
    [data-theme="theme-silk-gift"] .compression-controls,
    [data-theme="theme-modern-atelier"] .compression-controls,
    [data-theme="theme-classic-atlas"] .compression-controls {
        order: 2;
        margin-top: 0;
    }

    [data-theme="theme-black-salon"] .preview-container,
    [data-theme="theme-silk-gift"] .preview-container,
    [data-theme="theme-modern-atelier"] .preview-container,
    [data-theme="theme-classic-atlas"] .preview-container {
        order: 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 720px) {
    [data-theme="theme-black-salon"] .compression-result-hero,
    [data-theme="theme-silk-gift"] .compression-result-hero,
    [data-theme="theme-modern-atelier"] .compression-result-hero,
    [data-theme="theme-classic-atlas"] .compression-result-hero {
        min-height: 248px;
        padding: 1.05rem;
        align-content: end;
    }

    [data-theme="theme-black-salon"] .compression-result-main strong,
    [data-theme="theme-silk-gift"] .compression-result-main strong,
    [data-theme="theme-classic-atlas"] .compression-result-main strong {
        font-size: clamp(3.3rem, 18vw, 5rem);
    }

    [data-theme="theme-modern-atelier"] .compression-result-main strong {
        font-size: clamp(2.8rem, 16vw, 4.2rem);
    }

    [data-theme="theme-black-salon"] .compression-result-hero h3,
    [data-theme="theme-silk-gift"] .compression-result-hero h3,
    [data-theme="theme-modern-atelier"] .compression-result-hero h3,
    [data-theme="theme-classic-atlas"] .compression-result-hero h3 {
        font-size: clamp(1.34rem, 6.8vw, 1.86rem);
    }

    [data-theme="theme-black-salon"] .compression-result-hero > p:not(.compression-result-eyebrow),
    [data-theme="theme-silk-gift"] .compression-result-hero > p:not(.compression-result-eyebrow),
    [data-theme="theme-modern-atelier"] .compression-result-hero > p:not(.compression-result-eyebrow),
    [data-theme="theme-classic-atlas"] .compression-result-hero > p:not(.compression-result-eyebrow) {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    [data-theme="theme-black-salon"] .compression-result-stats,
    [data-theme="theme-silk-gift"] .compression-result-stats,
    [data-theme="theme-modern-atelier"] .compression-result-stats,
    [data-theme="theme-classic-atlas"] .compression-result-stats {
        gap: 0.5rem;
    }

    [data-theme="theme-black-salon"] .compression-result-stats span,
    [data-theme="theme-silk-gift"] .compression-result-stats span,
    [data-theme="theme-modern-atelier"] .compression-result-stats span,
    [data-theme="theme-classic-atlas"] .compression-result-stats span {
        padding: 0.65rem;
    }

    [data-theme="theme-black-salon"] .preview-container,
    [data-theme="theme-silk-gift"] .preview-container,
    [data-theme="theme-modern-atelier"] .preview-container,
    [data-theme="theme-classic-atlas"] .preview-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    [data-theme="theme-black-salon"] .preview-box,
    [data-theme="theme-silk-gift"] .preview-box,
    [data-theme="theme-modern-atelier"] .preview-box,
    [data-theme="theme-classic-atlas"] .preview-box {
        padding: 0.85rem;
    }

    [data-theme="theme-black-salon"] .preview-box h3,
    [data-theme="theme-silk-gift"] .preview-box h3,
    [data-theme="theme-modern-atelier"] .preview-box h3,
    [data-theme="theme-classic-atlas"] .preview-box h3 {
        margin-bottom: 0.6rem;
        font-size: 1.22rem;
    }

    [data-theme="theme-black-salon"] .image-container,
    [data-theme="theme-silk-gift"] .image-container,
    [data-theme="theme-modern-atelier"] .image-container,
    [data-theme="theme-classic-atlas"] .image-container {
        min-height: 156px;
        aspect-ratio: 16 / 10;
    }

    [data-theme="theme-black-salon"] .tool-button-row,
    [data-theme="theme-silk-gift"] .tool-button-row,
    [data-theme="theme-modern-atelier"] .tool-button-row,
    [data-theme="theme-classic-atlas"] .tool-button-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    [data-theme="theme-black-salon"] .download-btn,
    [data-theme="theme-black-salon"] .reset-btn,
    [data-theme="theme-silk-gift"] .download-btn,
    [data-theme="theme-silk-gift"] .reset-btn,
    [data-theme="theme-modern-atelier"] .download-btn,
    [data-theme="theme-modern-atelier"] .reset-btn,
    [data-theme="theme-classic-atlas"] .download-btn,
    [data-theme="theme-classic-atlas"] .reset-btn {
        width: 100%;
    }
}

/* Stage 55: phone-first upload-tool template, guided by the Image 2 flagship reference. */
@media (max-width: 720px) {
    body[data-theme="theme-luxury-atlas"][data-current-route="tool-001"] {
        background:
            linear-gradient(180deg, #08090d 0 72px, #f7eddc 72px 100%);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 {
        margin: -0.12rem -0.1rem 0;
        padding: 0.54rem 0.46rem calc(6.65rem + env(safe-area-inset-bottom));
        color: #26170f;
        background:
            radial-gradient(circle at 85% 6%, rgba(199, 155, 85, 0.23), transparent 12rem),
            linear-gradient(180deg, rgba(255, 251, 241, 0.96), rgba(247, 234, 210, 0.96)),
            url("/资源/visuals/luxury-atlas-hero.webp") center top / 52rem auto no-repeat;
        border: 1px solid rgba(199, 155, 85, 0.42);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 20px 60px rgba(65, 41, 20, 0.22);
    }

    [data-theme="theme-luxury-atlas"] #tool-001::before {
        inset: 0.55rem;
        border-color: rgba(199, 155, 85, 0.34);
        border-radius: 14px 14px 0 0;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        min-height: 204px;
        margin: 0 0 0.72rem;
        padding: 1.08rem 1.05rem;
        color: #2a170f;
        background:
            linear-gradient(90deg, rgba(255, 250, 239, 0.98) 0 57%, rgba(255, 250, 239, 0.66) 100%),
            url("/资源/visuals/luxury-atlas-hero.webp") right -3.5rem bottom -1.5rem / 31rem auto no-repeat;
        border: 1px solid rgba(199, 155, 85, 0.44);
        border-radius: 14px;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.55),
            0 18px 44px rgba(107, 70, 27, 0.13);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
        right: -0.95rem;
        bottom: -0.75rem;
        width: 9.8rem;
        opacity: 0.62;
        border-radius: 26px;
        filter: sepia(0.18) saturate(0.94) brightness(1.02);
        mix-blend-mode: multiply;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .tool-eyebrow {
        color: #8e1717;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 16rem;
        color: #631617;
        font-size: clamp(2.24rem, 10.8vw, 2.78rem);
        line-height: 0.96;
        text-shadow: none;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
        max-width: 16.8rem;
        color: rgba(39, 28, 20, 0.78);
        font-size: 0.95rem;
        line-height: 1.48;
    }

    [data-theme="theme-luxury-atlas"] .compression-tool {
        padding: 0;
        color: #26170f;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    [data-theme="theme-luxury-atlas"] .upload-section {
        margin: 0 0 0.72rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-area {
        min-height: min(336px, 41svh);
        padding: 1.05rem;
        align-content: end;
        justify-items: center;
        text-align: center;
        color: #fff4da;
        background:
            linear-gradient(180deg, rgba(83, 12, 15, 0.1) 0%, rgba(73, 13, 16, 0.68) 46%, rgba(25, 8, 10, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 21% / 18.6rem auto no-repeat,
            radial-gradient(circle at 86% 22%, rgba(244, 210, 138, 0.2), transparent 9rem),
            linear-gradient(145deg, #831b1c, #16080a 72%);
        border: 1px solid rgba(244, 210, 138, 0.5);
        border-radius: 18px;
        box-shadow:
            inset 0 0 0 1px rgba(255, 248, 232, 0.07),
            0 24px 58px rgba(61, 24, 16, 0.28);
    }

    [data-theme="theme-luxury-atlas"] .upload-area::before {
        inset: 0.72rem;
        border-color: rgba(244, 210, 138, 0.34);
        border-radius: 13px;
    }

    [data-theme="theme-luxury-atlas"] .upload-area::after {
        display: none;
    }

    [data-theme="theme-luxury-atlas"] .upload-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.46rem;
        background: rgba(6, 8, 13, 0.94);
        border-color: rgba(244, 210, 138, 0.5);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    }

    [data-theme="theme-luxury-atlas"] .upload-area p:first-of-type {
        max-width: 16.2rem;
        color: #fff4da;
        font-size: clamp(1.54rem, 7.2vw, 1.9rem);
        line-height: 1.06;
    }

    [data-theme="theme-luxury-atlas"] .support-text {
        max-width: 17rem;
        color: rgba(248, 234, 213, 0.76);
        font-size: 0.82rem;
        line-height: 1.45;
    }

    [data-theme="theme-luxury-atlas"] .upload-hints {
        justify-content: center;
        gap: 0.34rem;
        margin-top: 0.1rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-hints span {
        padding: 0.31rem 0.56rem;
        color: rgba(248, 234, 213, 0.84);
        background: rgba(255, 248, 232, 0.075);
        border-color: rgba(244, 210, 138, 0.28);
        font-size: 0.71rem;
    }

    [data-theme="theme-luxury-atlas"] .upload-cta {
        width: min(100%, 13rem);
        min-height: 44px;
        margin-top: 0.32rem;
        color: #23140b;
        background: linear-gradient(180deg, #f8dd9d, #d6aa5f);
        border-color: rgba(255, 238, 190, 0.68);
        border-radius: 999px;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel {
        padding: 1rem;
        color: #26170f;
        background:
            radial-gradient(circle at 90% 0%, rgba(199, 155, 85, 0.2), transparent 9rem),
            linear-gradient(180deg, rgba(255, 251, 241, 0.94), rgba(247, 234, 210, 0.92));
        border-color: rgba(199, 155, 85, 0.38);
        border-radius: 16px;
        box-shadow: 0 18px 44px rgba(107, 70, 27, 0.12);
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-eyebrow {
        color: #8e1717;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel h3 {
        max-width: 16rem;
        color: #2a170f;
        font-size: clamp(1.36rem, 6.5vw, 1.7rem);
        line-height: 1.08;
    }

    [data-theme="theme-luxury-atlas"] .tool-insight-panel > p {
        color: rgba(39, 28, 20, 0.68);
        font-size: 0.88rem;
        line-height: 1.56;
    }

    [data-theme="theme-luxury-atlas"] .scenario-grid {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.62rem;
        margin: 0.82rem 0 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card {
        min-height: 118px;
        padding: 0.74rem;
        overflow: hidden;
        color: #fff4da;
        background:
            linear-gradient(135deg, rgba(255, 248, 232, 0.08), transparent 52%),
            linear-gradient(145deg, #0d563f, #063326);
        border-color: rgba(244, 210, 138, 0.32);
        border-radius: 13px;
        box-shadow: 0 14px 30px rgba(20, 47, 38, 0.16);
        scroll-snap-align: none;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card:nth-child(even) {
        background:
            linear-gradient(135deg, rgba(255, 248, 232, 0.08), transparent 52%),
            linear-gradient(145deg, #112f59, #07172c);
        box-shadow: 0 14px 30px rgba(18, 47, 89, 0.16);
    }

    [data-theme="theme-luxury-atlas"] .scenario-card:nth-child(3n) {
        background:
            linear-gradient(135deg, rgba(255, 248, 232, 0.08), transparent 52%),
            linear-gradient(145deg, #8d191a, #4c0d0f);
    }

    [data-theme="theme-luxury-atlas"] .scenario-card h4 {
        color: #fff4da;
        font-size: 0.9rem;
        line-height: 1.16;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card p {
        color: rgba(248, 234, 213, 0.74);
        font-size: 0.76rem;
        line-height: 1.42;
    }

    [data-theme="theme-luxury-atlas"] .privacy-note {
        color: #385d4d !important;
        background: rgba(15, 76, 58, 0.08);
        border-color: rgba(15, 76, 58, 0.22);
        font-size: 0.82rem;
    }
}

@media (max-width: 374px) {
    [data-theme="theme-luxury-atlas"] #tool-001 .main-header {
        min-height: 188px;
        padding: 0.95rem;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 14.4rem;
        font-size: clamp(2rem, 10.4vw, 2.28rem);
    }

    [data-theme="theme-luxury-atlas"] .upload-area {
        min-height: min(318px, 40svh);
        background-size: auto, 16.8rem auto, auto, auto;
    }

    [data-theme="theme-luxury-atlas"] .scenario-grid {
        grid-template-columns: 1fr;
    }

    [data-theme="theme-luxury-atlas"] .scenario-card {
        min-height: 96px;
    }
}

/* Stage 49: make non-default image-compressor entrances feel like separate themed tool rooms. */
@media (min-width: 1081px) {
    [data-theme="theme-black-salon"] #tool-001 .main-header,
    [data-theme="theme-silk-gift"] #tool-001 .main-header,
    [data-theme="theme-modern-atelier"] #tool-001 .main-header,
    [data-theme="theme-classic-atlas"] #tool-001 .main-header {
        overflow: hidden;
        text-align: left;
    }

    [data-theme="theme-black-salon"] #tool-001 .main-header {
        min-height: 220px;
        color: #f8ead5;
        background:
            linear-gradient(90deg, rgba(8, 5, 5, 0.95) 0 46%, rgba(44, 12, 13, 0.72) 100%),
            url("/资源/visuals/luxury-atlas-hero.webp") right center / min(58vw, 780px) auto no-repeat;
        border-color: rgba(209, 166, 94, 0.4);
    }

    [data-theme="theme-black-salon"] #tool-001 .page-title,
    [data-theme="theme-black-salon"] #tool-001 .page-subtitle {
        color: #f8ead5;
    }

    [data-theme="theme-black-salon"] .upload-area {
        align-content: end;
        justify-items: start;
        text-align: left;
        background:
            linear-gradient(180deg, rgba(8, 5, 5, 0.18) 0%, rgba(8, 5, 5, 0.64) 48%, rgba(8, 5, 5, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 34% / 24rem auto no-repeat,
            radial-gradient(circle at 72% 18%, rgba(178, 43, 43, 0.28), transparent 18rem),
            linear-gradient(145deg, rgba(18, 10, 10, 0.98), rgba(8, 5, 5, 0.98));
    }

    [data-theme="theme-black-salon"] .upload-area p:first-of-type,
    [data-theme="theme-silk-gift"] .upload-area p:first-of-type,
    [data-theme="theme-classic-atlas"] .upload-area p:first-of-type {
        max-width: 26rem;
    }

    [data-theme="theme-silk-gift"] #tool-001 .main-header {
        min-height: 220px;
        padding-inline: 3rem;
        background:
            linear-gradient(90deg, rgba(255, 248, 232, 0.98) 0 48%, rgba(255, 232, 196, 0.6) 100%),
            url("/资源/visuals/luxury-atlas-hero.webp") right center / min(58vw, 860px) auto no-repeat,
            repeating-linear-gradient(135deg, rgba(177, 43, 36, 0.06) 0 1px, transparent 1px 22px);
        border: 4px double rgba(194, 119, 52, 0.46);
        border-radius: 0 28px 0 28px;
    }

    [data-theme="theme-silk-gift"] .compression-tool {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
    }

    [data-theme="theme-silk-gift"] .compression-workspace {
        order: 1;
    }

    [data-theme="theme-silk-gift"] .tool-insight-panel {
        order: 2;
    }

    [data-theme="theme-silk-gift"] .upload-area {
        align-content: end;
        justify-items: start;
        text-align: left;
        background:
            linear-gradient(180deg, rgba(255, 250, 240, 0.2) 0%, rgba(255, 238, 204, 0.5) 42%, rgba(255, 248, 232, 0.96) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 32% / 25rem auto no-repeat,
            url("/资源/visuals/ui-atlas-reference-bg.png") right bottom / 48rem auto no-repeat,
            linear-gradient(145deg, rgba(255, 250, 240, 0.98), rgba(246, 215, 177, 0.88));
    }

    [data-theme="theme-modern-atelier"] #tool-001 .main-header {
        min-height: 206px;
        padding-inline: 3rem;
        background:
            linear-gradient(90deg, rgba(251, 248, 240, 0.98) 0 58%, rgba(232, 226, 214, 0.7) 100%),
            linear-gradient(90deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 72px);
        border-left: 10px solid #141414;
        border-radius: 0;
        box-shadow: none;
    }

    [data-theme="theme-modern-atelier"] #tool-001 .page-title,
    [data-theme="theme-modern-atelier"] .upload-area p:first-of-type,
    [data-theme="theme-modern-atelier"] .tool-insight-panel h3 {
        font-family: var(--font-sans);
        font-weight: 900;
    }

    [data-theme="theme-modern-atelier"] .upload-area {
        align-content: center;
        justify-items: start;
        text-align: left;
        padding: 2.3rem;
        background:
            linear-gradient(90deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 72px),
            linear-gradient(135deg, rgba(251, 248, 240, 0.98), rgba(232, 226, 214, 0.9));
        border: 1px solid rgba(20, 20, 20, 0.3);
    }

    [data-theme="theme-modern-atelier"] .upload-cta,
    [data-theme="theme-modern-atelier"] .download-btn {
        background: #141414;
        border-color: #141414;
    }

    [data-theme="theme-classic-atlas"] #tool-001 .main-header {
        min-height: 220px;
        padding-inline: 3rem;
        background:
            linear-gradient(90deg, rgba(255, 249, 236, 0.98) 0 52%, rgba(223, 231, 237, 0.58) 100%),
            url("/资源/visuals/ui-atlas-reference-bg.png") right bottom / 54rem auto no-repeat,
            linear-gradient(90deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 25%);
        border-left: 8px solid #123b69;
        border-radius: 2px;
    }

    [data-theme="theme-classic-atlas"] .upload-area {
        align-content: end;
        justify-items: start;
        text-align: left;
        background:
            linear-gradient(180deg, rgba(255, 249, 236, 0.2) 0%, rgba(255, 249, 236, 0.72) 48%, rgba(255, 249, 236, 0.96) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") right 28% / 24rem auto no-repeat,
            linear-gradient(90deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 25%),
            linear-gradient(135deg, rgba(255, 249, 236, 0.98), rgba(223, 231, 237, 0.72));
    }
}

@media (max-width: 720px) {
    body[data-current-route="tool-001"][data-theme="theme-black-salon"],
    body[data-current-route="tool-001"][data-theme="theme-silk-gift"],
    body[data-current-route="tool-001"][data-theme="theme-modern-atelier"],
    body[data-current-route="tool-001"][data-theme="theme-classic-atlas"] {
        background: var(--bg);
    }

    [data-theme="theme-black-salon"] #tool-001,
    [data-theme="theme-silk-gift"] #tool-001,
    [data-theme="theme-modern-atelier"] #tool-001,
    [data-theme="theme-classic-atlas"] #tool-001 {
        margin: -0.15rem -0.1rem 0;
        padding: 0.55rem 0.55rem calc(6.1rem + env(safe-area-inset-bottom));
        overflow: hidden;
    }

    [data-theme="theme-black-salon"] #tool-001 .main-header,
    [data-theme="theme-silk-gift"] #tool-001 .main-header,
    [data-theme="theme-modern-atelier"] #tool-001 .main-header,
    [data-theme="theme-classic-atlas"] #tool-001 .main-header {
        min-height: 148px;
        margin: 0 0 0.68rem;
        padding: 0.95rem 1rem;
        overflow: hidden;
        text-align: left;
    }

    [data-theme="theme-black-salon"] #tool-001 .page-title,
    [data-theme="theme-silk-gift"] #tool-001 .page-title,
    [data-theme="theme-classic-atlas"] #tool-001 .page-title {
        max-width: 16rem;
        font-size: clamp(1.98rem, 10.4vw, 2.28rem);
        line-height: 0.98;
    }

    [data-theme="theme-black-salon"] #tool-001 .page-subtitle,
    [data-theme="theme-silk-gift"] #tool-001 .page-subtitle,
    [data-theme="theme-modern-atelier"] #tool-001 .page-subtitle,
    [data-theme="theme-classic-atlas"] #tool-001 .page-subtitle {
        max-width: 17.5rem;
        font-size: 0.9rem;
        line-height: 1.48;
    }

    [data-theme="theme-black-salon"] .compression-tool,
    [data-theme="theme-silk-gift"] .compression-tool,
    [data-theme="theme-modern-atelier"] .compression-tool,
    [data-theme="theme-classic-atlas"] .compression-tool {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    [data-theme="theme-black-salon"] .upload-section,
    [data-theme="theme-silk-gift"] .upload-section,
    [data-theme="theme-modern-atelier"] .upload-section,
    [data-theme="theme-classic-atlas"] .upload-section {
        margin-bottom: 0.68rem;
    }

    [data-theme="theme-black-salon"] .upload-area,
    [data-theme="theme-silk-gift"] .upload-area,
    [data-theme="theme-classic-atlas"] .upload-area {
        min-height: min(344px, 42svh);
        padding: 1rem;
        align-content: end;
        justify-items: start;
        text-align: left;
    }

    [data-theme="theme-black-salon"] .upload-area {
        color: #f8ead5;
        background:
            linear-gradient(180deg, rgba(8, 5, 5, 0.18) 0%, rgba(8, 5, 5, 0.64) 45%, rgba(8, 5, 5, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 28% / 19rem auto no-repeat,
            linear-gradient(145deg, rgba(75, 18, 18, 0.82), rgba(8, 5, 5, 0.98));
        border-color: rgba(209, 166, 94, 0.42);
        border-radius: 16px;
    }

    [data-theme="theme-black-salon"] #tool-001 .main-header {
        color: #f8ead5;
        background:
            linear-gradient(90deg, rgba(8, 5, 5, 0.92) 0 58%, rgba(63, 15, 17, 0.58) 100%),
            url("/资源/visuals/luxury-atlas-hero.webp") 65% center / 42rem auto no-repeat;
        border-color: rgba(209, 166, 94, 0.34);
    }

    [data-theme="theme-black-salon"] #tool-001 .page-title,
    [data-theme="theme-black-salon"] #tool-001 .page-subtitle,
    [data-theme="theme-black-salon"] .upload-area p:first-of-type {
        color: #f8ead5;
    }

    [data-theme="theme-black-salon"] .upload-icon {
        background: rgba(8, 5, 5, 0.92);
        border-color: rgba(209, 166, 94, 0.44);
    }

    [data-theme="theme-silk-gift"] #tool-001 {
        background:
            url("/资源/visuals/ui-atlas-reference-bg.png") center top / 42rem auto no-repeat,
            repeating-linear-gradient(135deg, rgba(177, 43, 36, 0.06) 0 1px, transparent 1px 18px),
            linear-gradient(180deg, #fff3df 0%, #f7dfbc 100%);
    }

    [data-theme="theme-silk-gift"] #tool-001 .main-header {
        color: #2b150f;
        background:
            linear-gradient(90deg, rgba(255, 248, 232, 0.96) 0 58%, rgba(255, 232, 196, 0.48) 100%),
            url("/资源/visuals/luxury-atlas-hero.webp") 63% center / 40rem auto no-repeat;
        border: 3px double rgba(194, 119, 52, 0.46);
        border-radius: 0 22px 0 22px;
    }

    [data-theme="theme-silk-gift"] .upload-area {
        color: #2b150f;
        background:
            linear-gradient(180deg, rgba(255, 248, 232, 0.14) 0%, rgba(255, 239, 208, 0.54) 44%, rgba(255, 248, 232, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 26% / 19rem auto no-repeat,
            linear-gradient(145deg, rgba(255, 250, 240, 0.98), rgba(246, 215, 177, 0.88));
        border: 3px double rgba(194, 119, 52, 0.52);
        border-radius: 0 22px 0 22px;
    }

    [data-theme="theme-silk-gift"] .upload-icon {
        background: rgba(255, 248, 232, 0.86);
        border-color: rgba(194, 119, 52, 0.44);
    }

    [data-theme="theme-silk-gift"] .upload-area p:first-of-type {
        color: #2b150f;
    }

    [data-theme="theme-modern-atelier"] #tool-001 {
        background:
            linear-gradient(90deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 64px),
            linear-gradient(180deg, #f2eee5 0%, #ded8cc 100%);
    }

    [data-theme="theme-modern-atelier"] #tool-001 .main-header {
        min-height: 138px;
        color: #141414;
        background:
            linear-gradient(90deg, rgba(251, 248, 240, 0.98) 0 64%, rgba(232, 226, 214, 0.76) 100%),
            linear-gradient(90deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 64px);
        border-left: 6px solid #141414;
        border-radius: 0;
        box-shadow: none;
    }

    [data-theme="theme-modern-atelier"] #tool-001 .page-title {
        max-width: 17rem;
        color: #141414;
        font-family: var(--font-sans);
        font-size: clamp(1.82rem, 9vw, 2.08rem);
        font-weight: 900;
        line-height: 1.02;
    }

    [data-theme="theme-modern-atelier"] .upload-area {
        min-height: min(318px, 40svh);
        padding: 1.12rem;
        align-content: center;
        justify-items: start;
        text-align: left;
        color: #141414;
        background:
            linear-gradient(90deg, rgba(20, 20, 20, 0.08) 0 1px, transparent 1px 64px),
            linear-gradient(135deg, rgba(251, 248, 240, 0.98), rgba(232, 226, 214, 0.9));
        border: 1px solid rgba(20, 20, 20, 0.3);
        border-radius: 0;
        box-shadow: none;
    }

    [data-theme="theme-modern-atelier"] .upload-area p:first-of-type {
        color: #141414;
        font-family: var(--font-sans);
        font-size: clamp(1.38rem, 6.4vw, 1.72rem);
        font-weight: 900;
        line-height: 1.12;
    }

    [data-theme="theme-modern-atelier"] .upload-icon {
        border-radius: 0;
    }

    [data-theme="theme-modern-atelier"] .upload-hints span,
    [data-theme="theme-modern-atelier"] .upload-cta {
        border-radius: 0;
    }

    [data-theme="theme-modern-atelier"] .upload-cta {
        background: #141414;
        border-color: #141414;
        color: #fffaf0;
    }

    [data-theme="theme-classic-atlas"] #tool-001 {
        background:
            url("/资源/visuals/ui-atlas-reference-bg.png") center top / 46rem auto no-repeat,
            linear-gradient(90deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 25%),
            linear-gradient(180deg, #f6ead6 0%, #dfe7ed 100%);
    }

    [data-theme="theme-classic-atlas"] #tool-001 .main-header {
        color: #071224;
        background:
            linear-gradient(90deg, rgba(255, 249, 236, 0.98) 0 58%, rgba(223, 231, 237, 0.56) 100%),
            url("/资源/visuals/ui-atlas-reference-bg.png") right bottom / 42rem auto no-repeat;
        border-left: 5px solid #123b69;
        border-radius: 2px;
    }

    [data-theme="theme-classic-atlas"] .upload-area {
        color: #071224;
        background:
            linear-gradient(180deg, rgba(255, 249, 236, 0.12) 0%, rgba(255, 249, 236, 0.68) 45%, rgba(255, 249, 236, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") right 24% / 18rem auto no-repeat,
            linear-gradient(90deg, rgba(18, 59, 105, 0.08) 0 1px, transparent 1px 25%),
            linear-gradient(135deg, rgba(255, 249, 236, 0.98), rgba(223, 231, 237, 0.72));
        border-style: solid;
        border-left: 5px solid #123b69;
        border-radius: 2px;
    }

    [data-theme="theme-classic-atlas"] .upload-area p:first-of-type {
        color: #071224;
    }

    [data-theme="theme-black-salon"] .support-text,
    [data-theme="theme-black-salon"] .upload-hints span {
        color: rgba(248, 234, 213, 0.72);
    }

    [data-theme="theme-silk-gift"] .support-text,
    [data-theme="theme-silk-gift"] .upload-hints span,
    [data-theme="theme-classic-atlas"] .support-text,
    [data-theme="theme-classic-atlas"] .upload-hints span {
        color: rgba(35, 22, 15, 0.68);
    }

    [data-theme="theme-black-salon"] .upload-hints,
    [data-theme="theme-silk-gift"] .upload-hints,
    [data-theme="theme-modern-atelier"] .upload-hints,
    [data-theme="theme-classic-atlas"] .upload-hints {
        justify-content: flex-start;
        gap: 0.34rem;
    }

    [data-theme="theme-black-salon"] .upload-hints span,
    [data-theme="theme-silk-gift"] .upload-hints span,
    [data-theme="theme-classic-atlas"] .upload-hints span {
        padding: 0.32rem 0.58rem;
        font-size: 0.72rem;
    }

    [data-theme="theme-black-salon"] .upload-cta,
    [data-theme="theme-silk-gift"] .upload-cta,
    [data-theme="theme-classic-atlas"] .upload-cta {
        width: max-content;
        min-height: 42px;
        margin-top: 0.34rem;
        padding-inline: 1.15rem;
    }

    [data-theme="theme-black-salon"] .tool-insight-panel,
    [data-theme="theme-silk-gift"] .tool-insight-panel,
    [data-theme="theme-modern-atelier"] .tool-insight-panel,
    [data-theme="theme-classic-atlas"] .tool-insight-panel {
        padding: 0.9rem;
        overflow: hidden;
    }

    [data-theme="theme-black-salon"] .scenario-grid,
    [data-theme="theme-silk-gift"] .scenario-grid,
    [data-theme="theme-modern-atelier"] .scenario-grid,
    [data-theme="theme-classic-atlas"] .scenario-grid {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-auto-flow: column;
        grid-auto-columns: minmax(12.5rem, 78%);
        grid-template-columns: none;
        max-height: none;
        margin: 0.78rem -0.18rem 0;
        padding: 0 0.18rem 0.24rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
    }

    [data-theme="theme-black-salon"] .scenario-card,
    [data-theme="theme-silk-gift"] .scenario-card,
    [data-theme="theme-modern-atelier"] .scenario-card,
    [data-theme="theme-classic-atlas"] .scenario-card {
        min-height: 104px;
        padding: 0.75rem;
        scroll-snap-align: start;
    }
}

/* Stage 55 polish: keep the mobile cover art out of the Chinese title area. */
@media (max-width: 720px) {
    [data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
        right: -0.72rem;
        bottom: 0.12rem;
        width: 8.25rem;
        opacity: 0.52;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 9.9rem;
        font-size: clamp(2.12rem, 10.2vw, 2.42rem);
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
        max-width: 14.2rem;
    }

    html[lang="en-US"] [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: min(100%, 17.8rem);
        overflow-wrap: anywhere;
        font-size: clamp(1.95rem, 8.6vw, 2.35rem);
    }

    html[lang="en-US"] [data-theme="theme-luxury-atlas"] #tool-001 .page-subtitle {
        max-width: min(100%, 18rem);
    }
}

@media (max-width: 374px) {
    [data-theme="theme-luxury-atlas"] #tool-001 .main-header::after {
        width: 7.35rem;
        opacity: 0.46;
    }

    [data-theme="theme-luxury-atlas"] #tool-001 .page-title {
        max-width: 9.25rem;
        font-size: clamp(1.96rem, 9.8vw, 2.16rem);
    }
}

/* Stage 62: make the phone compression result feel like one compact tool state. */
@media (max-width: 720px) {
    body[data-current-route="tool-001"].tool001-result-active {
        background:
            linear-gradient(180deg, #08090d 0 72px, #f4e8d5 72px 100%);
    }

    #tool-001.is-result-mode {
        padding-top: 0.5rem;
    }

    #tool-001.is-result-mode .main-header,
    #tool-001.is-result-mode .tool-insight-panel {
        display: none;
    }

    #tool-001.is-result-mode .compression-tool,
    #tool-001.is-result-mode .compression-workspace {
        display: block;
        min-width: 0;
    }

    #tool-001.is-result-mode .preview-section {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.68rem;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom));
        scroll-margin-top: 84px;
    }

    #tool-001.is-result-mode .compression-result-hero {
        grid-column: auto;
        grid-row: auto;
        min-height: min(252px, 31svh);
        padding: 0.86rem;
        gap: 0.36rem;
        align-content: end;
        border-radius: 16px;
        scroll-margin-top: 84px;
    }

    #tool-001.is-result-mode .compression-result-main {
        gap: 0.08rem;
    }

    #tool-001.is-result-mode .compression-result-main strong {
        font-size: clamp(3.12rem, 15.4vw, 4.2rem);
    }

    #tool-001.is-result-mode .compression-result-hero h3 {
        max-width: 16.5rem;
        font-size: clamp(1.24rem, 5.8vw, 1.56rem);
        line-height: 1.06;
    }

    #tool-001.is-result-mode .compression-result-hero > p:not(.compression-result-eyebrow) {
        display: none;
    }

    #tool-001.is-result-mode .compression-result-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem;
        margin-top: 0.12rem;
    }

    #tool-001.is-result-mode .compression-result-stats span {
        padding: 0.58rem;
        min-width: 0;
    }

    #tool-001.is-result-mode .compression-result-stats strong {
        font-size: 0.82rem;
        overflow-wrap: anywhere;
    }

    #tool-001.is-result-mode .compression-controls {
        grid-column: auto !important;
        order: 2;
        margin: 0;
        padding: 0.76rem;
        border-radius: 16px;
    }

    #tool-001.is-result-mode .quality-control {
        gap: 0.42rem;
    }

    #tool-001.is-result-mode .quality-control label {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    #tool-001.is-result-mode .tool-button-row {
        grid-template-columns: minmax(0, 1.45fr) minmax(94px, 0.55fr);
        gap: 0.58rem;
        margin-top: 0.64rem;
    }

    #tool-001.is-result-mode .download-btn,
    #tool-001.is-result-mode .reset-btn {
        min-height: 46px;
        padding-inline: 0.62rem;
        font-size: 0.9rem;
        line-height: 1.12;
    }

    #tool-001.is-result-mode .preview-container {
        grid-column: auto !important;
        order: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    #tool-001.is-result-mode .preview-box {
        padding: 0.62rem;
        border-radius: 14px;
    }

    #tool-001.is-result-mode .preview-box h3 {
        margin-bottom: 0.42rem;
        font-size: 0.98rem;
        line-height: 1.12;
    }

    #tool-001.is-result-mode .image-container {
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    #tool-001.is-result-mode .image-container img {
        max-height: 100%;
    }

    #tool-001.is-result-mode .image-info {
        gap: 0.12rem;
        margin-top: 0.5rem;
        font-size: 0.68rem;
        line-height: 1.32;
        overflow-wrap: anywhere;
    }

    [data-theme="theme-luxury-atlas"] #tool-001.is-result-mode {
        margin-top: -0.08rem;
        background:
            radial-gradient(circle at 82% 2%, rgba(199, 155, 85, 0.2), transparent 11rem),
            linear-gradient(180deg, rgba(255, 251, 241, 0.97), rgba(247, 234, 210, 0.98)),
            url("/资源/visuals/luxury-atlas-hero.webp") center top / 44rem auto no-repeat;
    }

    [data-theme="theme-luxury-atlas"] #tool-001.is-result-mode .compression-result-hero {
        background:
            linear-gradient(180deg, rgba(8, 9, 13, 0.16) 0%, rgba(8, 9, 13, 0.58) 45%, rgba(8, 9, 13, 0.98) 100%),
            url("/资源/visuals/tool-card-camera-luxury.webp") center 30% / 16.4rem auto no-repeat,
            linear-gradient(145deg, rgba(95, 18, 20, 0.76), rgba(8, 9, 13, 0.98));
    }

    [data-theme="theme-luxury-atlas"] #tool-001.is-result-mode .compression-controls,
    [data-theme="theme-luxury-atlas"] #tool-001.is-result-mode .preview-box {
        background: rgba(8, 9, 13, 0.94);
        border-color: rgba(199, 155, 85, 0.3);
        box-shadow: 0 14px 34px rgba(61, 24, 16, 0.22);
    }
}

@media (max-width: 374px) {
    #tool-001.is-result-mode .compression-result-hero {
        min-height: min(232px, 31svh);
        padding: 0.76rem;
    }

    #tool-001.is-result-mode .compression-result-main strong {
        font-size: clamp(2.76rem, 15vw, 3.35rem);
    }

    #tool-001.is-result-mode .compression-result-hero h3 {
        max-width: 15.5rem;
        font-size: clamp(1.1rem, 5.4vw, 1.32rem);
    }

    #tool-001.is-result-mode .preview-container {
        gap: 0.46rem;
    }

    #tool-001.is-result-mode .preview-box {
        padding: 0.54rem;
    }

    #tool-001.is-result-mode .image-info {
        font-size: 0.64rem;
    }
}
