/* 4 × 2 心情画廊：完全沿用原稿，唯一变化是去掉最外层组件阴影。 */
.desktop-widget-widget-gallery-motivation {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.desktop-widget-widget-gallery-motivation .gallery-widget {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 2 / 1;
    padding: 13px 14px;
    border-radius: 24px;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.desktop-widget-widget-gallery-motivation .gallery-widget .image-row {
    display: flex;
    gap: 8px;
    height: 68%;
}

.desktop-widget-widget-gallery-motivation .gallery-widget .image-box {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f0f0f0;
    background-position: center;
    background-size: cover;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease;
}

.desktop-widget-widget-gallery-motivation .gallery-widget .image-box:active {
    transform: scale(.97);
    filter: brightness(.94);
}

.desktop-widget-widget-gallery-motivation .gallery-widget .bottom-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 4px;
}

.desktop-widget-widget-gallery-motivation .gallery-widget .text-content { display: flex; flex-direction: column; gap: 2px; }
.desktop-widget-widget-gallery-motivation .gallery-widget .text-content h3 { margin: 0; color: #222; font-size: 11px; font-weight: 700; letter-spacing: .2px; }
.desktop-widget-widget-gallery-motivation .gallery-widget .text-content p { margin: 0; color: #888; font-size: 7px; font-weight: 600; }

.desktop-widget-widget-gallery-motivation .gallery-widget .action-icon {
    position: relative;
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    color: #222;
}

.desktop-widget-widget-gallery-motivation .gallery-widget .action-icon::after {
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    border: 2px solid #222;
    border-right-color: #222;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    content: '';
    transform: rotate(45deg);
}

.desktop-widget-widget-gallery-motivation .gallery-widget .action-icon svg { width: 14px; height: 14px; }
.desktop-widget-widget-gallery-motivation .gallery-widget .gallery-photo-picker { display: none; }
