.modal-content.modal-lg {width: min(1800px, 96vw);max-width: 90%;padding: 25px;overflow-y: auto;max-height: 98vh;border-radius: 16px;background: #0e1219;}
.modal-layout-single {display: flex;flex-direction: column;gap: 25px;width: 100%;}
.modal-image-section {width: 100%;min-width: 0;}
.modal-image-section .modal-main-image {width: 100%;height: auto;border-radius: 12px;display: block;}
.modal-info-section {width: 100%;max-width: 100%;}
.modal-left,.modal-right,.modal-layout {display: none !important;}
.modal-main-image {width: 100%;height: auto;border-radius: 12px;display: block;}
.preview-intro {font-size: 18px;font-weight: 500;color: #e0e0e0;margin-bottom: 15px;text-align: center;padding: 10px 0;letter-spacing: 0.3px;}
.preview-modes {display: flex;flex-wrap: wrap;gap: 8px;margin-bottom: 15px;justify-content: center;}
.preview-btn {
    padding: 6px 14px;
    background: #1a1f28;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.preview-btn:hover {
    background: #2b3644;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}
.preview-btn.active {
    background: #4fa3ff;
    color: #fff;
    border-color: #4fa3ff;
}
.modal-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0 15px;
    flex-wrap: wrap;
    width: 100%;
}
.modal-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 28px;
    color: #cba;
}
.modal-stat i {
    color: #4fa3ff;
}
.btn-like-wallpaper-enhanced {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 18px 8px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 200px;
}
.btn-like-wallpaper-enhanced:hover {
    background: rgba(79, 163, 255, 0.08);
    border-color: rgba(79, 163, 255, 0.3);
    transform: scale(1.02);
}
.btn-like-wallpaper-enhanced .like-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 12px;
}
.btn-like-wallpaper-enhanced .like-icon {
    font-size: 32px;
    margin-left: 1px;
    color: #666;
    transition: all 0.3s ease;
}
.btn-like-wallpaper-enhanced .like-icon-pulse {
    position: absolute;
    font-size: 24px;
    color: #d83512;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}
.btn-like-wallpaper-enhanced.liked .like-icon {
    color: #820502;
    animation: likePop 0.4s ease;
}
.btn-like-wallpaper-enhanced.liked .like-icon-pulse {
    opacity: 1;
    transform: scale(1);
    animation: likePulse 1s ease infinite;
}
.btn-like-wallpaper-enhanced .like-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}
.btn-like-wallpaper-enhanced .like-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.btn-like-wallpaper-enhanced .like-subtitle {
    font-size: 18px;
    color: #aaa;
    line-height: 1.3;
}
.btn-like-wallpaper-enhanced .like-count-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 245, 235, 0.1);
    border-radius: 20px;
    padding: 8px 24px;
    min-width: 40px;
}
.btn-like-wallpaper-enhanced .like-count {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.btn-like-wallpaper-enhanced .like-count-box small {
    font-size: 11px;margi-bottom:6px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-like-wallpaper-enhanced .like-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.btn-like-wallpaper-enhanced .like-particle {
    position: absolute;
    font-size: 14px;
    animation: burst 0.8s ease-out forwards;
    opacity: 0;
}
.recommend-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(23, 28, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    width: 100%;
    backdrop-filter: blur(5px);
}
.recommend-title {
    margin: 0 0 18px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}
.recommend-group {
    margin-top: 20px;
}
.recommend-group:first-child {
    margin-top: 0;
}
.recommend-group h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #d6d6d6;
    letter-spacing: -0.3px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}
.recommend-item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #11161d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}
.recommend-item:hover {
    transform: translateY(-4px);
    border-color: #4fa3ff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.recommend-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: #0a0a0f;
}
.recommend-caption {
    padding: 10px 12px 12px;
    text-align: center;
}
.recommend-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recommend-score {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #2b3644;
    color: #ffd75a;
    font-size: 12px;
    font-weight: 700;
}

.recommend-mini {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 11px;
    color: #888;
}
.recommend-mini span {
    display: flex;
    align-items: center;
    gap: 3px;
}
.recommend-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    min-width: 200px;
    background: #1a1f28;
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.recommend-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1f28;
}
.recommend-item:hover .recommend-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}
.recommend-tooltip div {
    display: flex;
    justify-content: space-between;
    margin: 3px 0;
    font-size: 12px;
    color: #ccc;
    gap: 20px;
}
.recommend-tooltip div strong {
    color: #888;
    font-weight: 500;
}
.recommend-tooltip div span {
    color: #fff;
    font-weight: 600;
}
.recommend-empty {
    text-align: center;
    padding: 25px 15px;
    color: #666;
    font-size: 14px;
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}
.download-grid-modal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 12px 0 18px;
    width: 100%;
}
.download-grid-modal .download-btn2 {
    flex: 1 1 auto;
    min-width: 80px;
    max-width: 160px;
    padding: 12px 16px;
    min-height: 44px;
    background: #2b3644;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.download-grid-modal .download-btn2.display-new-feature {
    background: linear-gradient(135deg, #4fa3ff, #7c5cbf);
    border-color: transparent;
}
.download-grid-modal .download-btn2:hover {
    background: #4fa3ff;
    border-color: #4fa3ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 163, 255, 0.2);
}
.download-grid-modal .download-btn2.display-new-feature:hover {
    background: linear-gradient(135deg, #5aafff, #8c6ccf);
}
.display-optimizer-panel {
    margin: 15px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.display-optimizer-panel h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #2f8;
}
.display-optimizer-select {
    width: 100%;
    padding: 10px 14px;
    background: #1a1f28;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 14px; font-weight:600;
    cursor: pointer;
    margin-bottom: 12px;
}

.display-optimizer-select:focus {outline: none;border-color: #4fa3ff;}
.display-preview-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    width: 100%;
}
.display-preview {
    position: relative;
    width: 100%;
    border: 2px solid #444;
    border-radius: 8px;
    background: #0a0a0f;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.display-preview-standard {aspect-ratio: 16/9;max-width: 500px;}
.display-preview-wide {aspect-ratio: 21/9;max-width: 700px;}
.display-preview-vertical {aspect-ratio: 9/16;max-width: 300px;}
.display-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: block;
}
.display-preview-image.fit {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.display-preview-image.fill {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.display-preview-image.none {
    object-fit: none;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.display-preview-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}
.display-preview-zone {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
}
#previewCropLeft {
    top: 0;
    left: 0;
    width: var(--crop-left, 0%);
    height: 100%;
}
#previewCropRight {
    top: 0;
    right: 0;
    width: var(--crop-right, 0%);
    height: 100%;
}
#previewCropTop {
    top: 0;
    left: 0;
    width: 100%;
    height: var(--crop-top, 0%);
}
#previewCropBottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--crop-bottom, 0%);
}
.display-preview-band {
    position: absolute;
    background: #000;
}
#previewBandLeft {
    top: 0;
    left: 0;
    width: var(--band-left, 0%);
    height: 100%;
}
#previewBandRight {
    top: 0;
    right: 0;
    width: var(--band-right, 0%);
    height: 100%;
}
#previewBandTop {
    top: 0;
    left: 0;
    width: 100%;
    height: var(--band-top, 0%);
}
#previewBandBottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--band-bottom, 0%);
}
.display-preview.perfect {
    border-color: #2ecc71;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
}
.display-preview.adjust {
    border-color: #ff9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.2);
}
.display-preview.fillmode {
    border-color: #2196f3;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.2);
}
.display-preview.fit {
    border-color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.2);
}
.display-optimizer-infos {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 13px;
    color: #ccc;
}
.display-optimizer-infos div {
    margin: 4px 0;
}
.display-optimizer-infos hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.display-optimizer-infos strong {
    color: #888;
    font-weight: 500;
}
.display-format-selector {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}
.display-format-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    font-size: 13px;
}
.display-format-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 13px;
    color: #ccc;
}
.display-format-option:hover {
    color: #fff;
}
.display-format-option input[type="radio"] {
    accent-color: #4fa3ff;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.display-format-option strong {
    color: #4fa3ff;
}
.display-explanation {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(79, 163, 255, 0.08);
    border-radius: 8px;
    border-left: 3px solid #4fa3ff;
    font-size: 13px;
    color: #ccc;
    line-height: 1.5;
}
#displayCompatibility {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}
#displayCompatibility.perfect {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.2);
}
#displayCompatibility.crop {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.2);
}
#displayCompatibility.fit {
    background: rgba(79, 163, 255, 0.15);
    color: #4fa3ff;
    border: 1px solid rgba(79, 163, 255, 0.2);
}
#displayCompatibility.different {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.2);
}
.wallforge-block {
    margin: 15px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.wallforge-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.wallforge-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: #888;
}
.wallforge-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.wallforge-select {
    flex: 1;
    padding: 8px 12px;
    background: #1a1f28;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}
.wallforge-select:focus {
    outline: none;
    border-color: #4fa3ff;
}
.wallforge-btn-modal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.wallforge-btn-modal:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
}
.modal-custom-size {
    margin: 15px 0;
}
.custom-size-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.custom-size-title i {
    color: #4fa3ff;
    margin-right: 8px;
}
.custom-size-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.custom-size-inputs input {
    width: 70px;
    padding: 8px 10px;
    background: #1a1f28;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}
.custom-size-inputs input:focus {outline: none;border-color: #4fa3ff;}
.custom-size-inputs input::-webkit-inner-spin-button,.custom-size-inputs input::-webkit-outer-spin-button {-webkit-appearance: none;margin: 0;}
.custom-size-inputs input[type="number"] {-moz-appearance: textfield;}
.custom-size-inputs span {color: #888;font-weight: 600;}
.btn-custom-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #4fa3ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-custom-download:hover {
    background: #5aafff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 163, 255, 0.3);
}
.modal-palette {
    margin: 15px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.palette-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.palette-title i {
    color: #ff6b6b;
    margin-right: 8px;
}
.palette-colors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.palette-colors .palette-color {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    cursor: pointer;
}
.palette-colors .palette-color:hover {
    transform: scale(1.1);
    border-color: #fff;
}
.palette-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 13px;
    padding: 10px 0;
}
.palette-loading i {
    color: #4fa3ff;
}
.palette-download {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-palette {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #2b3644;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-palette:hover {
    background: #4fa3ff;
    border-color: #4fa3ff;
}
.palette-format-select {
    padding: 6px 12px;
    background: #1a1f28;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}
.palette-format-select:focus {
    outline: none;
    border-color: #4fa3ff;
}
.modal-share {
    margin: 15px 0;
}
.share-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.share-title i {
    color: #4fa3ff;
    margin-right: 8px;
}
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1f28;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 16px;
    cursor: pointer;
}
.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.share-btn.pinterest:hover {background: #E60023;border-color: #E60023;}
.share-btn.facebook:hover {background: #1877F2;border-color: #1877F2;}
.share-btn.twitter:hover {background: #000000;border-color: #000000;}
.share-btn.whatsapp:hover {background: #25D366;border-color: #25D366;}
.share-btn.email:hover {background: #ea4335;border-color: #ea4335;}
.share-btn.copy-link:hover {background: #4fa3ff;border-color: #4fa3ff;}
.standard-immersion-container,.wide-immersion-container {position: relative;width: 100%;height: auto;border-radius: 12px;overflow: hidden;background: #000;}
.standard-immersion-wallpaper,.wide_immersion-wallpaper {width: 100%;height: auto;display: block;}
.immersion-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(79, 163, 255, 0.3), transparent 70%);
    animation: glowPulse 3s ease-in-out infinite alternate;
}
.immersion-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
}
.immersion-panel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13px;
    z-index: 3;
    text-align: center;
    min-width: 200px;
}
.immersion-title {
    font-weight: 700;
    font-size: 15px;
    color: #4fa3ff;
    margin-bottom: 4px;
}
.immersion-panel div {
    color: #aaa;
    font-size: 12px;
}
.desktop-preview {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0f;
}
.desktop-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0a0a0f;
}
.desktop-wallpaper {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.desktop-icons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}
.desktop-icons.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}
.desktop-icons.creative-layout {
    top: 80px;
    left: auto;
    right: 30px;
    align-items: flex-end;
}
.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 11px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}
.desktop-icon:hover {
    transform: scale(1.05);
}
.desktop-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.desktop-icon span {
    max-width: 60px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 1px 6px;
    border-radius: 4px;
}
.desktop-widget {
    position: absolute;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 200px;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.desktop-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.widget-controls {
    display: flex;
    gap: 6px;
}
.widget-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}
.widget-control.widget-minimize {background: #ffd93d;}
.widget-control.widget-maximize {background: #6bcf7f;}
.widget-control.widget-close {background: #ff6b6b;}
.widget-control:hover {transform: scale(1.2);}
.desktop-widget-body {
    padding: 10px 12px;
    font-size: 12px;
    color: #ccc;
    line-height: 1.5;
}
.render-progress {
    margin-top: 6px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}
.render-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4fa3ff, #7c5cbf);
    border-radius: 2px;
    animation: renderProgress 3s ease-in-out infinite;
}
.widget-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 6px 0;
}
.desktop-taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 4;
}
.taskbar-left,.taskbar-center,.taskbar-right {display: flex;align-items: center;gap: 6px;}
.taskbar-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.taskbar-icon:hover {background: rgba(255, 255, 255, 0.1);}
.taskbar-icon.active-app {
    background: rgba(79, 163, 255, 0.2);
    border-bottom: 2px solid #4fa3ff;
}
.taskbar-status {
    font-size: 14px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
}
.taskbar-status:hover {
    opacity: 1;
}
.taskbar-datetime {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    padding: 0 6px;
}
.taskbar-datetime span:first-child {font-weight: 600;font-size: 11px;}
.monitor-base {width: 100%;height: 8px;background: #1a1a1a;border-radius: 0 0 12px 12px;}
.modal-content.modal-lg::-webkit-scrollbar {width: 6px;}
.modal-content.modal-lg::-webkit-scrollbar-track {background: rgba(255, 255, 255, 0.02);border-radius: 3px;}
.modal-content.modal-lg::-webkit-scrollbar-thumb {background: rgba(255, 255, 255, 0.15);border-radius: 3px;}
.modal-content.modal-lg::-webkit-scrollbar-thumb:hover {background: rgba(255, 255, 255, 0.25);}
.text-center {text-align: center;}
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.hidden {display: none !important;}
@keyframes likePop {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
@keyframes likePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
}
@keyframes burst {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(1.2);
        opacity: 0;
    }
}
@keyframes glowPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
@keyframes renderProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .modal-content.modal-lg {
        padding: 20px;
        max-width: 95%;
        max-height: 98vh;
    }
    .recommend-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .modal-content.modal-lg {
        padding: 15px;
        max-width: 98%;
        border-radius: 12px;
    }
    .modal-layout-single {
        gap: 18px;
    }
    .modal-stats-bar {
        flex-wrap: wrap;
    }
    .btn-like-wallpaper-enhanced {
        min-width: 100%;
        padding: 10px 16px;
    }
    .btn-like-wallpaper-enhanced .like-title {
        font-size: 14px;
    }
    .btn-like-wallpaper-enhanced .like-subtitle {
        font-size: 12px;
    }
    .btn-like-wallpaper-enhanced .like-count {
        font-size: 18px;
    }
    .btn-like-wallpaper-enhanced .like-icon {
        font-size: 20px;
    }
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .recommend-box {
        padding: 14px;
        margin-top: 20px;
    }
    .recommend-title {
        font-size: 1.15rem;
    }
    .custom-size-inputs input {
        width: 60px;
    }
    .wallforge-row {
        flex-wrap: wrap;
    }
    .wallforge-select {
        flex: 1;
        min-width: 120px;
    }
    .preview-modes {
        gap: 6px;
    }
    .preview-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .desktop-icon {
        min-width: 40px;
    }
    .desktop-icon img {
        width: 30px;
        height: 30px;
    }
    .desktop-icon span {
        font-size: 8px;
    }
    .desktop-taskbar {
        height: 32px;
        padding: 0 8px;
    }
    .taskbar-icon {
        width: 22px;
        height: 22px;
    }
    .taskbar-datetime {
        font-size: 8px;
    }
    .taskbar-datetime span:first-child {
        font-size: 9px;
    }
    .preview-intro {
        font-size: 16px;
        padding: 8px 0;
    }
    .display-preview-standard {
        max-width: 100%;
        aspect-ratio: 16/9;
    }
    .display-preview-wide {
        max-width: 100%;
        aspect-ratio: 21/9;
    }
    .display-preview-vertical {
        max-width: 200px;
        aspect-ratio: 9/16;
    }
}

@media (max-width: 480px) {
    .modal-content.modal-lg {
        padding: 12px;
        border-radius: 10px;
    }
    .modal-layout-single {
        gap: 12px;
    }
    .recommend-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .recommend-item .recommend-name {
        font-size: 11px;
    }
    .recommend-item .recommend-score {
        font-size: 10px;
        padding: 2px 8px;
    }
    .recommend-item .recommend-mini {
        font-size: 9px;
        gap: 6px;
    }
    .recommend-tooltip {
        min-width: 160px;
        padding: 10px 12px;
        font-size: 11px;
    }
    .recommend-tooltip div {
        font-size: 10px;
    }
    .download-btn2 {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 36px;
        border-radius: 8px;
    }
    .palette-colors .palette-color {
        width: 32px;
        height: 32px;
    }
    .share-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .custom-size-inputs input {
        width: 50px;
        padding: 6px 8px;
        font-size: 12px;
    }
    .preview-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    .preview-intro {
        font-size: 14px;
        padding: 6px 0;
    }
    .btn-like-wallpaper-enhanced {
        padding: 8px 14px;
    }
    .btn-like-wallpaper-enhanced .like-title {
        font-size: 13px;
    }
    .btn-like-wallpaper-enhanced .like-subtitle {
        font-size: 11px;
    }
    .btn-like-wallpaper-enhanced .like-count {
        font-size: 16px;
    }
    .btn-like-wallpaper-enhanced .like-icon {
        font-size: 18px;
    }
    .btn-like-wallpaper-enhanced .like-icon-wrapper {
        width: 34px;
        height: 34px;
    }
    .immersion-panel {
        min-width: 140px;
        padding: 8px 14px;
        bottom: 12px;
    }
    .immersion-title {
        font-size: 13px;
    }
    .immersion-panel div {
        font-size: 10px;
    }
    .display-preview-standard {
        max-width: 100%;
        aspect-ratio: 16/9;
    }
    .display-preview-wide {
        max-width: 100%;
        aspect-ratio: 21/9;
    }
    .display-preview-vertical {
        max-width: 150px;
        aspect-ratio: 9/16;
    }
}

@media (max-width: 400px) {
    .recommend-grid {
        grid-template-columns: 1fr;
    }
}
