@charset "utf-8";
/* Local browser bookmarks. Existing card dimensions and grid are unchanged. */
.mf-favorites-nav,
.mf-page,
.mf-page * {
    box-sizing: border-box;
}
.mf-favorites-nav {
    max-width: 980px;
    margin: 6px auto 10px;
    padding: 0 8px;
    text-align: right;
}
.mf-favorites-nav .mf-favorites-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 42px;
    padding: 7px 15px;
    color: #791507;
    background: #fff;
    border: 1px solid #791507;
    border-radius: 7px;
    font: 600 14px/1.25 Arial, sans-serif;
    text-decoration: none;
}
.mf-save, .mf-clear, .mf-remove {
    appearance: none;
    font: 600 14px/1.2 Arial, sans-serif;
    color: #737373;
    background: #fff;
    border: 1px solid #737373;
    border-radius: 25px;
    cursor: pointer;
    opacity: 0.85;
}
.girlsBox > .mf-save {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 32px;
    line-height: 1;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
}

.mf-save[aria-pressed="true"] {
    color: #fff;
    background: #ff009e;
    border-color: #ff93ee;
    opacity: 0.83;
    font-size: 37px;
}
.mf-save:disabled { opacity: .45; cursor: not-allowed; }
.mf-save-profile { min-height: 44px; padding: 8px 12px; margin: 8px 0; }
.mf-page { max-width: 980px; margin: 20px auto 70px; padding: 24px; border: 1px solid #d6c9c3; background: #fff; color: #302523; font: 15px/1.6 Arial, sans-serif; }
.mf-page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mf-page .mf-page-head h2 { margin: 0; padding: 0; height: auto; border: 0; font: 600 26px/1.2 Arial, sans-serif; color: #791507; }
.mf-page-count { color: #791507; font-weight: 700; }
.mf-page > p { margin: 0 0 12px; }
.mf-page-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0; }
.mf-back { color: #791507; text-decoration: underline; }
.mf-clear, .mf-remove { min-height: 44px; padding: 8px 12px; flex: 0 0 auto; }
.mf-page .mf-saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mf-saved-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #dfcfc5; padding: 10px 12px; margin: 0; border-radius: 7px; }
.mf-saved-list a { color: #791507; font-weight: 600; overflow-wrap: anywhere; }
.mf-empty { border: 1px dashed #cdbdb5; padding: 20px; text-align: center; }
.mf-page [hidden], .mf-favorites-nav [hidden], [data-mf-count][hidden] { display: none !important; }
.mf-save:focus-visible, .mf-page a:focus-visible, .mf-page button:focus-visible, .mf-favorites-link:focus-visible { outline: 3px solid #1458a5; outline-offset: 2px; }
.mf-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media screen and (max-width: 768px) {
    .mf-favorites-nav { width: 94%; margin: 2vw auto; padding: 0; }
    .mf-favorites-nav .mf-favorites-link { font-size: clamp(13px, 3.5vw, 16px); padding: 1.5vw 3vw; }
    .girlsBox > .mf-save { top: 0.85vw; right: 0.5vw; }
    .mf-page { width: 94%; margin: 4vw auto 24vw; padding: 4vw; font-size: clamp(14px, 3.8vw, 16px); }
    .mf-page .mf-page-head h2 { font-size: clamp(22px, 5.5vw, 28px); }
    .mf-page-actions { margin: 4vw 0; }
    .mf-saved-list li { padding: 2vw 3vw; }
    .girlsBox > .mf-save {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
    width: 32px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
}

.mf-save[aria-pressed="true"] {
    font-size: 30px;
}
}




/* Favorites v2: profile button outside the fixed-height photo panel. */
.mf-profile-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto 10px;
    box-sizing: border-box;
}
.mf-profile-actions .mf-save-profile {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 0;
    padding: 9px 14px;
    font-size: 15px;
    line-height: 1.2;
    color: #676767;
    border-color: #717171;
    opacity: 1;
}
.mf-profile-actions .mf-save-profile[aria-pressed="true"] {
    color: #fff;
    font-size: 14px;
}
/* Reset the shared mobile heading styles within this page only. */
#mfFavoritesPage .mf-page-head h2 {
    background: transparent;
    box-shadow: none;
    width: auto;
    text-indent: 0;
    color: #791507;
    min-width: 0;
}
#mfFavoritesPage .mf-saved-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}
#mfFavoritesPage .mf-saved-photo {
    display: block;
    flex: 0 0 auto;
    width: 84px;
    height: 112px;
    object-fit: cover;
    border-radius: 4px;
}
@media screen and (max-width: 768px) {
    .mf-profile-actions {
        width: 95%;
        margin: 0 auto 1vw;
    }
    #mfFavoritesPage .mf-saved-link { gap: 10px; }
    #mfFavoritesPage .mf-saved-photo {
        width: 66px;
        height: 88px;
    }
}
