/* ============================================================
   Tarot del Amor — Specific Styles
   ============================================================ */

/* Intention Widget Additional Styles */
.ts-love-status-widget {
    margin: 1.5rem 0;
    text-align: center;
}

.ts-love-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 400px;
    margin: 0.75rem auto 0;
}

.ts-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.6rem 1rem;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ts-chip-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.ts-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.ts-chip--active {
    background: var(--ts-primary, #e91e63) !important;
    border-color: var(--ts-primary, #e91e63) !important;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.4);
}

/* Reveal Amor Scene Specifics */

.ts-scene--reveal-amor .ts-card-widget {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0;
    flex: 0 0 auto;
    width: 25%;
}
/* Amor specific grid for 5 cards */
.ts-scene--reveal-amor .ts-reveal-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 900px;
    gap: 120px 5px;
}



.ts-reveal-stage--revealed .ts-reveal-card {
    width: calc(var(--ts-card-w) * 0.75);
    height: calc(var(--ts-card-h) * 0.75);
}

@media (max-width: 767px) {
    .ts-reveal-stage--revealed .ts-reveal-card {
        width: calc(var(--ts-card-w) * 0.65);
        height: calc(var(--ts-card-h) * 0.65);
    }
}

.ts-scene--reveal-amor .ts-grid-pos,
.ts-scene--reveal-amor .ts-card-widget__label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.ts-scene--reveal-amor .ts-grid-name,
.ts-scene--reveal-amor .ts-card-widget__name {
    font-size: 1rem;
    min-height: 1.5em;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 767px) {
    .ts-scene--reveal-amor .ts-grid-pos,
    .ts-scene--reveal-amor .ts-card-widget__label {
        font-size: 1rem;
    }
    .ts-scene--reveal-amor .ts-grid-name,
    .ts-scene--reveal-amor .ts-card-widget__name {
        font-size: 1rem;
    }
}


/* Positioning labels inside the animated wrapper */
.ts-scene--reveal-amor .ts-card-widget__scaler .ts-card-widget__label {
    margin-bottom: 10px;
    white-space: normal;
    pointer-events: none;
    z-index: 5;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
    line-height: 1.1;
}

.ts-scene--reveal-amor .ts-card-widget__scaler .ts-card-widget__name {
    margin-top: 10px;
    white-space: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    z-index: 5;
    font-size: 1.5rem;
    min-height: 1.5em;
    font-weight: 700;
    line-height: 1.1;
}

/* Pick Amor Scene Specifics */
.ts-scene--pick-amor .ts-sacred-space {
    width: 100%;
    height: auto;
    min-height: 180px;
    overflow-x: hidden;
    touch-action: none;
    z-index: 20;
}

.ts-scene--pick-amor .ts-sacred-space-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px;
    padding-left: calc(50% - 40px);
    padding-right: calc(50% - 40px);
    will-change: transform;
}

.ts-scene--pick-amor .ts-altar {
    width: 17%;
    min-width: 60px;
    max-width: 120px;
    height: auto;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.ts-scene--pick-amor .ts-altar .ts-altar__visual {
    width: 100%;
    aspect-ratio: 1817/3500;
    border: 1px dashed var(--ts-gold-dim);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.ts-scene--pick-amor .ts-altar--active .ts-altar__visual {
    border-color: var(--ts-gold);
    border-style: solid;
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.ts-scene--pick-amor .ts-altar .ts-altar__label {
    font-size: 0.9rem;
    color: var(--ts-gold);
    text-align: center;
    margin-bottom: 5px;
    font-weight: 700;
    white-space: nowrap;
}

.ts-scene--pick-amor .ts-altar .ts-altar__name {
    display: none;
}

@media (max-width: 500px) {
    .ts-scene--pick-amor .ts-sacred-space-inner {
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .ts-scene--pick-amor .ts-sacred-space-inner {
        gap: 4px;
    }
    .ts-scene--pick-amor .ts-altar {
        width: 18%;
        min-width: 55px;
    }
}
