.mypets-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.mypets-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: 30px;
    color: #5a2d82;
}

.mypets-section {
    margin-bottom: 30px;
}

.mypets-section-title {
    margin: 0 0 14px;
    font-size: 22px;
    color: #6b3f96;
    border-bottom: 2px solid #e7d8f7;
    padding-bottom: 6px;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(3, 316px);
    justify-content: center;
    max-width: 950px;
    margin: 0 auto;
}

.pet-slot {
    width: 316px;
    min-height: 240px;
    box-sizing: border-box;
    text-align: center;
    padding: 18px 22px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #fffdfd, #f7f1ff);
}

.active-pet {
    background: #fbf5ff;
}

.pet-slot{
    background: linear-gradient(to bottom, #fffdfd, #f7f1ff);
}

.pet-image-wrap {
   width: 100%;
    height: 150px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    overflow: hidden;
}

.pet-image {
    max-width: 180px;
    height: 150px;
    object-fit: contain;
}

.pet-profile-link {
   margin: 2px 0 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

/* PET PROFILE LINK */
.fake-link {
    color: #6b3f91;
    font-weight: 700;
    text-decoration: none;
}

.fake-link:hover {
    text-decoration: underline;
}
.pet-action-links {
    margin-top: 6px;
    font-size: 13px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    white-space: nowrap; /* 🔥 prevents line break */
}

.pet-action-links a {
    color: #6b3f91;
    font-weight: 700;
    text-decoration: none;
}

.pet-action-links a:hover {
    text-decoration: underline;
}

/* Active label */
.active-pet-label {
    color: #2e9e5b;
    font-weight: 800;
}
.pet-separator {
    opacity: 0.5;
}

.disabled-link {
    color: #888;
    font-weight: 600;
    cursor: not-allowed;
}

.current-active {
    color: #7a43b6;
    font-weight: 700;
}

.pet-meta {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
}

.empty-pets-message,
.mini-pets-placeholder {
    background: #faf7ff;
    border: 1px solid #e3d5f6;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.create-pet-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d492fd, #91caff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.create-pet-button:hover {
    opacity: 0.95;
}

.pet-slot:hover {
    background: #fcf8ff;
}

.pet-message {
    max-width: 700px;
    margin: 12px auto 18px;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

.pet-message-error {
    background: #ffe5e5;
    border: 1px solid #d96b6b;
    color: #b10000;
}

.pet-message-success {
    background: #e8f9ea;
    border: 1px solid #70b77a;
    color: #226a2f;
}

/* REMOVE DEFAULT LINK STYLING IN PETS */
.pet-slot a {
    text-decoration: none;
    color: inherit;
}