/* GENERADO desde ../../styles.css por extract_export_css.mjs (no editar a mano).
   Reglas del Save Image (export) y de las clases de decoración que se copian dentro del PNG,
   para que la imagen salga igual que en el diseño clásico. */

/* El diseño nuevo usa box-sizing:border-box y otra tipografía: el export conserva lo del clásico. */
.export-container, .export-container *, .export-container *::before, .export-container *::after { box-sizing: content-box; }
.export-container { font-family: 'Inter', sans-serif; color: #ffffff; line-height: normal; letter-spacing: normal; font-weight: 400; text-align: left; }

.export-container {
    position: absolute;
    left: -9999px; /* Oculto del viewport */
    top: 0;
    width: 1600px; /* Tamaño fijo para buena resolución */
    background-color: #0b0b10;
background-image: 
    radial-gradient(circle at top right, rgba(255, 50, 100, 0.08) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(50, 100, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at top, #1a1b26 0%, transparent 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
}

.export-header {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.export-layout {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.export-half {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.export-row {
    display: grid;
    grid-template-columns: repeat(8, 80px);
    gap: 15px;
}

.export-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    height: 120px;
    border: 1px solid transparent;
}

.export-empty-slot {
    width: 80px;
    height: 120px;
    background: transparent;
    border: none;
}

.export-card.has-sprite {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.export-card.has-sprite.owned {
    border-color: #4ade80;
}

.export-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.5));
}

.export-check {
    width: 20px;
    height: 20px;
    background-color: #1a1a1a;
    border: 1px solid #555;
    border-radius: 4px;
    display: none; /* Hide by default, show if has-sprite */
    align-items: center;
    justify-content: center;
}

.export-card.has-sprite .export-check {
    display: flex;
}

.export-card.owned .export-check {
    background-color: #4ade80;
    border-color: #4ade80;
}

.export-card.owned .export-check::after {
    content: "";
    display: block;
    width: 3px;
    height: 7px;
    border: solid #111;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

body.exporting .export-container {
    opacity: 1;
}

.batman-img {
    position: absolute !important;
    z-index: 0 !important;
    opacity: 0.88 !important;
    pointer-events: none !important;
    filter: drop-shadow(0 6px 16px rgba(26, 5, 5, 0.6)) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.batman-img.svg-deco {
    filter: drop-shadow(0 4px 12px rgba(248, 113, 113, 0.45)) !important;
    animation: float 6s ease-in-out infinite !important;
}

.batman-img {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.rs-img {
    position: absolute;
    z-index: 0;
    opacity: 0.88;
    pointer-events: none;
    filter: drop-shadow(0 6px 16px rgba(43, 17, 59, 0.5));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.rs-img.svg-deco {
    filter: drop-shadow(0 4px 12px rgba(191, 128, 255, 0.45));
    animation: float 6s ease-in-out infinite;
}

.luan-img {
    position: absolute;
    z-index: 0;
    opacity: 0.88;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(255, 179, 217, 0.4));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.luan-img.svg-deco {
    filter: drop-shadow(0 4px 12px rgba(255, 153, 204, 0.45));
    animation: float 6s ease-in-out infinite;
}

.yue-img {
    position: absolute;
    z-index: 0;
    opacity: 0.88;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(0, 69, 44, 0.12));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.yue-img.svg-deco {
    filter: drop-shadow(0 4px 10px rgba(0, 187, 119, 0.25));
}

.david-img {
    position: absolute;
    z-index: 0;
    opacity: 0.88;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(0, 45, 85, 0.18));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.david-img.svg-deco {
    filter: drop-shadow(0 4px 10px rgba(0, 75, 135, 0.3));
    animation: float 6s ease-in-out infinite;
}

body.theme-david .export-header { color: #002D55; text-shadow: 0 2px 10px rgba(255,255,255,0.8); }

body.theme-david .export-card.has-sprite { background: linear-gradient(180deg, #002D55 0%, #001F3F 100%); border: 2px solid #6A9BD1; border-radius: 10px; }

body.theme-david .export-card.owned .export-check { background-color: #00e5ff; border-color: #00e5ff; }

body.theme-yue .export-header { color: #00452C; text-shadow: 0 2px 10px rgba(255,255,255,0.8); }

body.theme-yue .export-card.has-sprite { background: linear-gradient(180deg, #eefbf6 0%, #ccf2e4 100%); border: 2px solid #00E893; border-radius: 10px; }

body.theme-yue .export-card.owned .export-check { background-color: #00E893; border-color: #00E893; }

body.theme-luan .export-header { color: #fdf2f8; text-shadow: 0 2px 10px rgba(244, 114, 182, 0.8); }

body.theme-luan .export-card.has-sprite { background: linear-gradient(180deg, #db2777 0%, #9d174d 100%); border: 2px solid #f9a8d4; border-radius: 10px; }

body.theme-luan .export-card.owned .export-check { background-color: #f9a8d4; border-color: #f9a8d4; }

body.theme-georgette .export-header { color: #f5f3ff; text-shadow: 0 2px 10px rgba(167, 139, 250, 0.8); }

body.theme-georgette .export-card.has-sprite { background: linear-gradient(180deg, #6d28d9 0%, #4c1d95 100%); border: 2px solid #a78bfa; border-radius: 10px; }

body.theme-georgette .export-card.owned .export-check { background-color: #a78bfa; border-color: #a78bfa; }

body.theme-aaron .export-header { color: #fef2f2; text-shadow: 0 2px 10px rgba(248, 113, 113, 0.8); }

body.theme-aaron .export-card.has-sprite { background: linear-gradient(180deg, #991b1b 0%, #450a0a 100%); border: 2px solid #f87171; border-radius: 10px; }

body.theme-aaron .export-card.owned .export-check { background-color: #f87171; border-color: #f87171; }

body.theme-jerick .export-header { color: #f3e8ff; text-shadow: 0 2px 10px rgba(216, 180, 226, 0.8); }

body.theme-jerick .export-card.has-sprite { background: linear-gradient(180deg, #4a1f63 0%, #2b113b 100%); border: 2px solid #d8b4e2; border-radius: 10px; }

body.theme-jerick .export-card.owned .export-check { background-color: #d8b4e2; border-color: #d8b4e2; }

.georgette-img {
    position: absolute !important;
    z-index: 0 !important;
    opacity: 0.88 !important;
    pointer-events: none !important;
    filter: drop-shadow(0 6px 14px rgba(216, 180, 254, 0.35)) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.georgette-img.svg-deco {
    filter: drop-shadow(0 4px 10px rgba(192, 132, 252, 0.35)) !important;
    animation: float 6s ease-in-out infinite !important;
}

.david-img,
.yue-img,
.rs-img,
.luan-img,
.georgette-img,
.batman-img {
    will-change: translate, scale;
    animation: floatGentle 5.5s ease-in-out infinite;
}

.david-img:nth-child(2n),
.yue-img:nth-child(2n),
.rs-img:nth-child(2n),
.luan-img:nth-child(2n),
.georgette-img:nth-child(2n),
.batman-img:nth-child(2n) {
    animation: floatDriftAlt 6.2s ease-in-out infinite;
}

.david-img:nth-child(3n),
.yue-img:nth-child(3n),
.rs-img:nth-child(3n),
.luan-img:nth-child(3n),
.georgette-img:nth-child(3n),
.batman-img:nth-child(3n) {
    animation: floatDrift 5s ease-in-out infinite;
}

.david-img:nth-child(4n),
.yue-img:nth-child(4n),
.rs-img:nth-child(4n),
.luan-img:nth-child(4n),
.georgette-img:nth-child(4n),
.batman-img:nth-child(4n) {
    animation: floatGentleAlt 6.8s ease-in-out infinite;
}

.david-img:nth-child(1),
.yue-img:nth-child(1),
.rs-img:nth-child(1),
.luan-img:nth-child(1),
.georgette-img:nth-child(1),
.batman-img:nth-child(1) { animation-delay: 0s; }

.david-img:nth-child(2),
.yue-img:nth-child(2),
.rs-img:nth-child(2),
.luan-img:nth-child(2),
.georgette-img:nth-child(2),
.batman-img:nth-child(2) { animation-delay: 0.6s; }

.david-img:nth-child(3),
.yue-img:nth-child(3),
.rs-img:nth-child(3),
.luan-img:nth-child(3),
.georgette-img:nth-child(3),
.batman-img:nth-child(3) { animation-delay: 1.3s; }

.david-img:nth-child(4),
.yue-img:nth-child(4),
.rs-img:nth-child(4),
.luan-img:nth-child(4),
.georgette-img:nth-child(4),
.batman-img:nth-child(4) { animation-delay: 2.1s; }

.david-img:nth-child(5),
.yue-img:nth-child(5),
.rs-img:nth-child(5),
.luan-img:nth-child(5),
.georgette-img:nth-child(5),
.batman-img:nth-child(5) { animation-delay: 0.9s; }

.david-img:nth-child(6),
.yue-img:nth-child(6),
.rs-img:nth-child(6),
.luan-img:nth-child(6),
.georgette-img:nth-child(6),
.batman-img:nth-child(6) { animation-delay: 1.8s; }

.david-img:nth-child(7),
.yue-img:nth-child(7),
.rs-img:nth-child(7),
.luan-img:nth-child(7),
.georgette-img:nth-child(7),
.batman-img:nth-child(7) { animation-delay: 2.7s; }

.david-img:nth-child(8),
.yue-img:nth-child(8),
.rs-img:nth-child(8),
.luan-img:nth-child(8),
.georgette-img:nth-child(8),
.batman-img:nth-child(8) { animation-delay: 0.4s; }

.david-img:nth-child(9),
.yue-img:nth-child(9),
.rs-img:nth-child(9),
.luan-img:nth-child(9),
.georgette-img:nth-child(9),
.batman-img:nth-child(9) { animation-delay: 1.5s; }

.david-img:nth-child(10),
.yue-img:nth-child(10),
.rs-img:nth-child(10),
.luan-img:nth-child(10),
.georgette-img:nth-child(10),
.batman-img:nth-child(10) { animation-delay: 2.4s; }

.david-img:nth-child(11),
.yue-img:nth-child(11),
.rs-img:nth-child(11),
.luan-img:nth-child(11),
.georgette-img:nth-child(11),
.batman-img:nth-child(11) { animation-delay: 3.1s; }

.david-img:nth-child(12),
.yue-img:nth-child(12),
.rs-img:nth-child(12),
.luan-img:nth-child(12),
.georgette-img:nth-child(12),
.batman-img:nth-child(12) { animation-delay: 0.8s; }

.david-img:nth-child(13),
.yue-img:nth-child(13),
.rs-img:nth-child(13),
.luan-img:nth-child(13),
.georgette-img:nth-child(13),
.batman-img:nth-child(13) { animation-delay: 1.9s; }

.david-img:nth-child(14),
.yue-img:nth-child(14),
.rs-img:nth-child(14),
.luan-img:nth-child(14),
.georgette-img:nth-child(14),
.batman-img:nth-child(14) { animation-delay: 2.8s; }

.david-img:nth-child(15),
.yue-img:nth-child(15),
.rs-img:nth-child(15),
.luan-img:nth-child(15),
.georgette-img:nth-child(15),
.batman-img:nth-child(15) { animation-delay: 3.5s; }

.geo-cloud {
    animation: cloudDriftSlow 7s ease-in-out infinite !important;
}

.aaron-star,
.luan-sparkle,
.luan-shooting-star {
    animation: starTwinkleGlow 3.5s ease-in-out infinite !important;
}

body .export-card.mastered .export-check {
    background: linear-gradient(135deg, #FFE066 0%, #FFC107 50%, #D4A017 100%);
    border-color: #B8860B !important;
}

body .export-card.mastered .export-check::after {
    content: "";
    display: block;
    width: 3px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

@keyframes floatGentle {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -9px;
    }
}

@keyframes floatGentleAlt {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 8px;
    }
}

@keyframes floatDrift {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 5px -7px;
    }
}

@keyframes floatDriftAlt {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: -5px -6px;
    }
}

@keyframes starTwinkleGlow {
    0%, 100% {
        scale: 0.95;
        opacity: 0.75;
    }
    50% {
        scale: 1.15;
        opacity: 1;
    }
}

@keyframes cloudDriftSlow {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 10px -5px;
    }
}
