/* Evcil hayvan bonusu — sabit sol rail (ana modalı kaydırmaz) */

.dominara-page-shell {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 0;
}

.dominara-page-shell .main-content {
    margin-top: 0;
    width: 100%;
}

.slot-farm-shell {
    margin-top: 80px;
    max-width: 1200px;
}

.dps-pet-rail {
    position: fixed;
    z-index: 100;
    width: 11.5rem;
    pointer-events: auto;
}

.dps-pet-rail[hidden] {
    display: none !important;
}

.dps-pet-panel {
    width: 100%;
    padding: 1rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 200, 120, 0.28);
    background: linear-gradient(165deg, rgba(28, 18, 10, 0.97) 0%, rgba(12, 8, 6, 0.98) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    text-align: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.dps-pet-panel.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.dps-pet-panel[hidden] {
    display: none !important;
}

.dps-pet-panel__badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fcd9a8;
    background: rgba(252, 165, 116, 0.14);
    border: 1px solid rgba(252, 165, 116, 0.25);
}

.dps-pet-panel__img-wrap {
    width: 7rem;
    height: 7rem;
    margin: 0 auto 0.65rem;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    box-sizing: border-box;
}

.dps-pet-panel__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.dps-pet-panel__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff7ed;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.dps-pet-panel__detail {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 237, 213, 0.88);
}

/* Boss ödül modalı — panel solunda, modal merkezini kaydırmaz */
.bm-reward-modal__frame {
    position: relative;
    flex-shrink: 0;
}

.dps-pet-rail-modal {
    position: absolute;
    top: 0;
    right: calc(100% + 1rem);
    width: 11.5rem;
}

@media (max-width: 900px) {
    .dps-pet-rail {
        width: 6.75rem;
    }

    .dps-pet-rail .dps-pet-panel {
        padding: 0.65rem 0.5rem;
    }

    .dps-pet-rail .dps-pet-panel__img-wrap {
        width: 4.5rem;
        height: 4.5rem;
    }

    .dps-pet-rail .dps-pet-panel__badge {
        font-size: 0.58rem;
    }

    .dps-pet-rail .dps-pet-panel__name {
        font-size: 0.78rem;
    }

    .dps-pet-rail .dps-pet-panel__detail {
        font-size: 0.68rem;
    }

    .dps-pet-rail-modal {
        width: 6.75rem;
        right: calc(100% + 0.5rem);
    }
}

@media (max-width: 640px) {
    .dps-pet-rail-modal {
        position: static;
        width: min(100%, 10rem);
        margin: 0 auto 0.75rem;
    }

    .bm-reward-modal__frame {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
