body.feature-mode-animated {
    background: #f5f7fa;
    color: #172033;
    letter-spacing: 0;
}

.animated-editor-intro .ppt-editor-eyebrow {
    color: #0f766e;
}

.animated-simple-shell {
    grid-template-columns: 340px minmax(0, 1fr);
}

.animated-simple-controls .ppt-simple-control-group {
    padding: 10px 0;
}

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

.animated-mode-options .ppt-simple-option {
    min-height: 48px;
}

.animated-target-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 8px;
}

.animated-duration-slider {
    width: 100%;
    accent-color: #0f766e;
}

.animated-duration-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    color: #7a8390;
    font-size: 11px;
}

.animated-duration-row strong {
    color: #0f766e;
    font-size: 13px;
}

.animated-target-input:disabled {
    background: #f3f5f8;
    color: #8b95a5;
}

.animated-editor-play {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.animated-editor-play:hover {
    background: #0b665f;
}

body.feature-mode-animated .ppt-simple-stage {
    min-width: 0;
    min-height: 0;
    background: #edf0f4;
}

body.feature-mode-animated .ppt-simple-stage .main-container {
    width: 100% !important;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.feature-mode-animated .content-container {
    height: 100%;
    min-height: 0;
    margin-top: 0;
    gap: 0;
}

body.feature-mode-animated .sidebar-nav,
body.feature-mode-animated .edit-area {
    display: none !important;
}

body.feature-mode-animated .canvas-area {
    flex: 1;
    width: 100%;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
}

body.feature-mode-animated .ppt-simple-stage .visualization-container,
body.feature-mode-animated .ppt-simple-stage .visualization-area {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0;
    background: #edf0f4;
}

body.feature-mode-animated .ppt-simple-stage #wordcloud-container {
    width: min(82%, 960px);
    height: auto !important;
    min-height: 0 !important;
    max-width: none;
    aspect-ratio: 3 / 2;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    align-items: stretch;
    background: #fff !important;
    border: 1px solid #d5dbe4 !important;
    box-shadow: 0 14px 34px rgba(23, 32, 51, 0.14) !important;
}

body.feature-mode-animated .ppt-simple-stage #wordcloud-container > div {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.feature-mode-animated .ppt-simple-stage #wordcloud-image,
body.feature-mode-animated .ppt-simple-stage #wordcloud-svg {
    width: auto !important;
    height: 86% !important;
    max-width: 88% !important;
    max-height: 86% !important;
    margin: 0;
    overflow: visible !important;
    border-radius: 0;
    box-shadow: none !important;
    object-fit: contain;
    transform-origin: center center !important;
}

body.feature-mode-animated .ppt-simple-stage .canvas-control-panel,
body.feature-mode-animated .generate-wordcloud-section,
body.feature-mode-animated #animate-btn,
body.feature-mode-animated #edit-mode-btn,
body.feature-mode-animated #move-btn,
body.feature-mode-animated #zoom-in-btn,
body.feature-mode-animated #zoom-out-btn,
body.feature-mode-animated #fit-btn {
    display: none !important;
}

body.feature-mode-animated .footer {
    margin-top: 0;
}

@media (max-width: 980px) {
    .animated-simple-shell {
        grid-template-columns: 300px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    body.feature-mode-animated {
        overflow-x: hidden;
    }

    body.feature-mode-animated .header .header-nav-link,
    body.feature-mode-animated .header .header-more-menu,
    body.feature-mode-animated .header .subscription-btn {
        display: none;
    }

    .animated-simple-shell {
        grid-template-columns: 1fr;
    }

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

    body.feature-mode-animated .ppt-simple-stage {
        height: 430px;
        margin-top: 12px;
        overflow: hidden;
        border: 1px solid #dfe4eb;
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(23, 32, 51, 0.09);
    }

    body.feature-mode-animated .ppt-simple-stage .main-container,
    body.feature-mode-animated .canvas-area {
        height: 430px;
    }

    body.feature-mode-animated .ppt-simple-stage #wordcloud-container {
        width: calc(100% - 28px);
    }
}
