.account-hero {
    padding-top: 18px;
    padding-bottom: 96px;
}
@media (min-width: 760px) and (max-width: 991px) {
    body.account-page-body,
    body.account-edit-body,
    body:has(.account-hero),
    body:has(.edit-profile) {
        max-width: 960px;
    }
    body.account-page-body #top-navbar,
    body.account-edit-body #top-navbar,
    body:has(.account-hero) #top-navbar,
    body:has(.edit-profile) #top-navbar,
    body.account-page-body .splash-btns-bottom,
    body.account-edit-body .splash-btns-bottom,
    body:has(.account-hero) .splash-btns-bottom,
    body:has(.edit-profile) .splash-btns-bottom {
        max-width: 960px;
    }
}
.account-profile-card {
    display: flex;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f6f4ff 100%);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.12);
    border: 1px solid rgba(129, 72, 247, 0.08);
}
.account-photo {
    position: relative;
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
}
.account-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}
.verification-badge {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #0f9d58;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(15, 157, 88, 0.22);
}
.verification-badge img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}
.account-profile-info {
    min-width: 0;
    flex: 1;
}
.account-name-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}
.account-name {
    margin: 0;
    min-width: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--LUVIO-text);
    overflow-wrap: anywhere;
}
.account-location {
    margin: 6px 0 0;
    color: var(--LUVIO-description);
    font-size: 14px;
}
.account-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border-radius: 999px;
    background: rgba(129, 72, 247, 0.12);
    color: var(--LUVIO-primary);
    font-weight: 600;
}
.account-edit-btn svg {
    width: 16px;
    height: 16px;
}
.quick-purchases {
    margin-top: 22px;
}
.quick-purchases h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}
.quick-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}
.quick-item {
    --quick-accent: #8148f7;
    --quick-accent-soft: rgba(129, 72, 247, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--LUVIO-text);
    border-radius: 16px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 76px;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.07);
    border: 1px solid rgba(129, 72, 247, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.quick-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 10%, var(--quick-accent-soft), transparent 34%);
    pointer-events: none;
}
.quick-item::after {
    content: "›";
    color: var(--quick-accent);
    font-size: 24px;
    line-height: 1;
    margin-left: auto;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}
.quick-item:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--quick-accent) 22%, transparent);
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.11);
}
.quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--quick-accent-soft);
    color: var(--quick-accent);
    flex: 0 0 42px;
    position: relative;
    z-index: 1;
}
.quick-icon img {
    width: 22px;
    height: 22px;
    filter: none;
}
.quick-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}
.quick-title {
    color: var(--LUVIO-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}
.quick-copy small {
    color: var(--LUVIO-description);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
}
.quick-price {
    border-radius: 999px;
    background: #f6f4fb;
    color: var(--quick-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 9px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
.quick-item--superlike {
    --quick-accent: #e94f88;
    --quick-accent-soft: rgba(233, 79, 136, 0.12);
}
.quick-item--boost {
    --quick-accent: #e57c36;
    --quick-accent-soft: rgba(229, 124, 54, 0.14);
}
.account-cards {
    margin-top: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}
.account-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(129, 72, 247, 0.08);
    position: relative;
    overflow: hidden;
}
.account-card h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--LUVIO-text);
}
.account-card p {
    margin: 0;
    color: var(--LUVIO-description);
    font-size: 13px;
}
.account-card .card-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.account-card .card-status {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}
.account-card .card-desc {
    font-size: 13px;
}
.account-card .card-meta {
    font-size: 12px;
    color: var(--LUVIO-inactive);
}
.account-card .card-cta {
    min-width: 94px;
    padding: 11px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #342042;
    font-weight: 700;
    font-size: 12px;
    align-self: flex-start;
    text-align: center;
    box-shadow: 0 10px 22px rgba(31, 23, 49, 0.18);
}
.account-card .card-cta.is-active {
    background: rgba(255, 255, 255, 0.94);
    color: #6a3d08;
}
.account-card .card-count {
    font-size: 22px;
    font-weight: 700;
    color: var(--LUVIO-text);
}
.account-card-premium {
    min-height: 270px;
    grid-column: 1 / -1;
    padding: 0;
    background: #fbf8ff;
    border: 0;
    color: #171336;
}
.account-card-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/account/luvio-premium-bg.22ce3e157eb0.png");
    background-position: right center;
    background-size: cover;
    opacity: 0.58;
}
.account-card-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 86% 24%, rgba(244, 203, 255, 0.22), transparent 32%),
        radial-gradient(circle at 74% 54%, rgba(126, 73, 248, 0.1), transparent 36%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 255, 0.9) 58%, rgba(255, 241, 255, 0.54));
}
.premium-card-content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    min-height: 244px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.72fr);
    grid-template-rows: auto 1fr;
    gap: 20px 32px;
    padding: 28px 30px 26px 42px;
}
.premium-card-copy {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: grid;
    gap: 8px;
    align-self: center;
    justify-items: start;
}
.account-card-premium h4 {
    max-width: 620px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--LUVIO-primary);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.08;
}
.premium-title-text {
    background: linear-gradient(92deg, #4f18c7 0%, #8a3df2 44%, #f06ccd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.premium-title-crown {
    display: inline-flex;
    font-size: 0.6em;
    filter: drop-shadow(0 6px 12px rgba(255, 196, 74, 0.22));
}
.premium-card-copy p {
    max-width: 620px;
    margin: 0;
    color: #6f6792;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}
.premium-feature-grid {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: end;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 14px 28px rgba(108, 61, 242, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px);
}
.premium-feature-card {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 12px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(130, 105, 175, 0.18);
    border-radius: 0;
    background: transparent;
    color: #171336;
    line-height: 1.2;
    text-align: left;
    box-shadow: none;
    backdrop-filter: none;
}
.premium-feature-card:first-child {
    padding-left: 0;
}
.premium-feature-card:last-child {
    padding-right: 0;
    border-right: 0;
}
.premium-feature-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(246, 232, 255, 0.98), rgba(255, 232, 252, 0.98));
    box-shadow: 0 8px 14px rgba(109, 53, 242, 0.1);
    font-size: 23px;
}
.premium-feature-text {
    min-width: 0;
    display: grid;
    gap: 4px;
}
.premium-feature-text strong {
    color: #171336;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.15;
}
.premium-feature-text small {
    color: #766f98;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
.premium-upgrade-btn {
    width: 100%;
    min-height: 60px;
    padding: 0 24px;
    gap: 12px;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: end;
    justify-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #9454f6, #6d35df 70%, #5724c8);
    color: #ffffff;
    font-size: 18px;
    font-weight: 750;
    box-shadow: 0 14px 24px rgba(92, 43, 214, 0.22);
    cursor: pointer;
}
.premium-upgrade-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.account-card-mini {
    min-height: 150px;
    justify-content: space-between;
    gap: 12px;
}
.account-card-mini::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 86% 12%, rgba(129, 72, 247, 0.11), transparent 34%);
    pointer-events: none;
}
.account-card-mini > * {
    position: relative;
    z-index: 1;
}
.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 72, 247, 0.11);
}
.card-icon img {
    width: 19px;
    height: 19px;
}
.account-card-superlikes .card-icon {
    background: rgba(233, 79, 136, 0.11);
}
.account-card-boosts .card-icon {
    background: rgba(229, 124, 54, 0.13);
}
.mini-card-cta {
    width: 100%;
    min-height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 72, 247, 0.1);
    color: var(--LUVIO-primary);
    font-size: 12px;
    font-weight: 800;
}
.account-card-superlikes .mini-card-cta {
    background: rgba(233, 79, 136, 0.1);
    color: #d83a74;
}
.account-card-boosts .mini-card-cta {
    background: rgba(229, 124, 54, 0.12);
    color: #d56825;
}
.account-items {
    margin-top: 22px;
    width: 100%;
}
.account-items-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.account-items-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.account-items-header p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--LUVIO-description);
}
.account-items-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--LUVIO-primary);
}
.account-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.account-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 20px rgba(17, 24, 39, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(129, 72, 247, 0.08);
}
.account-item-media {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 14px;
    background: #f4f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.account-item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(129, 72, 247, 0.14);
    color: var(--LUVIO-primary);
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 600;
}
.account-item h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--LUVIO-text);
}
.account-item p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--LUVIO-description);
}
.account-items-empty {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    font-size: 12px;
    color: var(--LUVIO-description);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.quick-modal {
    border-radius: 20px;
    padding: 0;
    border: none;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.18);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(129, 72, 247, 0.12), transparent 34%),
        radial-gradient(circle at 95% 18%, rgba(233, 79, 136, 0.1), transparent 26%),
        #ffffff;
}
.quick-modal .modal-body {
    padding: 24px;
}
.quick-purchase-options {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}
.quick-option {
    --option-accent: #8148f7;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(129, 72, 247, 0.12);
    background: #ffffff;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-option::before {
    content: "";
    width: 4px;
    align-self: stretch;
    border-radius: 999px;
    background: var(--option-accent);
    flex: 0 0 4px;
}
.quick-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(129, 72, 247, 0.15);
}
.quick-option[data-kind="superlike"] {
    --option-accent: #e94f88;
}
.quick-option[data-kind="boost"] {
    --option-accent: #e57c36;
}
.quick-option h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--LUVIO-text);
}
.quick-option p {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--LUVIO-description);
}
.quick-option-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--LUVIO-primary);
    white-space: nowrap;
}
.quick-purchase-custom {
    margin-top: 16px;
}
.quick-purchase-custom .next-btn {
    min-height: 52px;
    padding: 14px 20px;
}
.quick-purchase-empty {
    border-radius: 16px;
    border: 1px dashed rgba(129, 72, 247, 0.22);
    background: #faf8ff;
    padding: 18px 16px;
    color: var(--LUVIO-description, #6b6b6b);
    font-size: 13px;
    text-align: center;
}

@media (min-width: 992px) {
    .account-hero {
        max-width: 1060px;
        padding-top: 22px;
        padding-bottom: 44px;
    }
    .account-profile-card {
        padding: 24px 28px;
        gap: 22px;
        border-radius: 18px;
        box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
    }
    .account-photo {
        width: 104px;
        height: 104px;
        flex-basis: 104px;
    }
    .account-photo img {
        border-radius: 22px;
    }
    .account-profile-info {
        min-width: 0;
    }
    .account-name {
        font-size: 26px;
        line-height: 1.15;
    }
    .account-location {
        font-size: 15px;
    }
    .account-edit-btn {
        min-height: 44px;
        padding: 0;
    }
    .quick-purchases,
    .account-cards,
    .account-items {
        margin-top: 20px;
    }
    .quick-purchases h3,
    .account-items-header h3 {
        font-size: 17px;
    }
    .quick-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .quick-item {
        min-height: 82px;
        padding: 15px;
        border-radius: 16px;
    }
    .account-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .account-card {
        border-radius: 16px;
        min-height: 132px;
        padding: 18px;
    }
    .account-card-premium {
        min-height: 252px;
        padding: 0;
    }
    .premium-card-content {
        min-height: 252px;
        padding: 24px;
    }
    .account-card.account-card-premium h4 {
        font-size: 32px;
    }
    .account-card h4 {
        font-size: 16px;
    }
    .account-items-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
    .account-items-empty {
        padding: 18px;
        font-size: 13px;
    }
}

@media (min-width: 641px) and (max-width: 991px) {
    .account-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 641px) and (max-width: 1100px) {
    .premium-card-content {
        min-height: 292px;
        grid-template-columns: minmax(0, 1.75fr) minmax(210px, 0.58fr);
        gap: 18px 24px;
        padding: 26px 28px 26px 42px;
    }
    .account-card-premium h4 {
        font-size: 42px;
    }
    .premium-card-copy p {
        font-size: 20px;
    }
    .premium-feature-grid {
        padding: 14px 16px;
        border-radius: 20px;
    }
    .premium-feature-card {
        gap: 10px;
        padding: 0 12px;
    }
    .premium-feature-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .premium-feature-text strong {
        font-size: 13px;
    }
    .premium-feature-text small {
        font-size: 11px;
    }
    .premium-upgrade-btn {
        min-height: 60px;
        padding: 0 22px;
        border-radius: 20px;
        font-size: 20px;
    }
    .premium-upgrade-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (min-width: 641px) and (max-width: 800px) {
    .premium-card-content {
        min-height: 350px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 18px;
        padding: 32px 42px;
    }
    .premium-card-copy,
    .premium-feature-grid,
    .premium-upgrade-btn {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .premium-card-copy {
        max-width: 520px;
    }
    .account-card-premium h4 {
        font-size: 42px;
    }
    .premium-card-copy p {
        font-size: 19px;
    }
    .premium-feature-grid {
        width: 100%;
        padding: 14px;
        border-radius: 20px;
    }
    .premium-feature-card {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 8px;
        min-height: 88px;
        padding: 8px 10px;
        text-align: center;
    }
    .premium-feature-card:first-child,
    .premium-feature-card:last-child {
        padding: 8px 10px;
    }
    .premium-feature-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
    .premium-feature-text {
        justify-items: center;
    }
    .premium-feature-text strong {
        font-size: 13px;
        line-height: 1.15;
    }
    .premium-feature-text small {
        display: none;
    }
    .premium-upgrade-btn {
        min-height: 58px;
        justify-self: stretch;
        font-size: 19px;
    }
}

@media (max-width: 640px) {
    .quick-list {
        grid-template-columns: 1fr;
    }
    .quick-price {
        font-size: 10px;
        padding-inline: 8px;
    }
    .account-card-premium::before {
        background-position: right center;
        opacity: 0.7;
    }
    .account-card-premium::after {
        background:
            radial-gradient(circle at 88% 26%, rgba(244, 203, 255, 0.34), transparent 34%),
            radial-gradient(circle at 74% 60%, rgba(126, 73, 248, 0.16), transparent 40%),
            linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 255, 0.78) 58%, rgba(255, 241, 255, 0.5));
    }
    .premium-card-content {
        min-height: 286px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 16px;
        padding: 22px;
    }
    .account-card.account-card-premium h4 {
        font-size: 30px;
        gap: 8px;
    }
    .premium-card-copy,
    .premium-feature-grid,
    .premium-upgrade-btn {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .premium-card-copy {
        align-self: start;
    }
    .premium-title-text {
        background: linear-gradient(92deg, #4f18c7 0%, #8a3df2 44%, #f06ccd 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
    .premium-card-copy p {
        font-size: 14px;
        color: #6f6792;
    }
    .premium-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow:
            0 18px 34px rgba(108, 61, 242, 0.1),
            inset 0 0 0 1px rgba(255, 255, 255, 0.56);
        backdrop-filter: blur(18px);
    }
    .premium-feature-card {
        aspect-ratio: auto;
        grid-template-columns: minmax(0, 1fr);
        align-content: center;
        justify-items: center;
        min-height: 82px;
        padding: 6px 8px;
        border: 0;
        border-right: 1px solid rgba(130, 105, 175, 0.18);
        border-radius: 0;
        background: transparent;
        font-size: 10px;
        font-weight: 600;
        gap: 7px;
        text-align: center;
        box-shadow: none;
        backdrop-filter: none;
    }
    .premium-feature-card:first-child,
    .premium-feature-card:last-child {
        padding: 6px 8px;
    }
    .premium-feature-card:last-child {
        border-right: 0;
    }
    .premium-feature-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
    .premium-feature-text {
        justify-items: center;
    }
    .premium-feature-text strong {
        font-size: 10px;
        font-weight: 600;
    }
    .premium-feature-text small {
        display: none;
    }
    .premium-upgrade-btn {
        justify-self: stretch;
        min-height: 52px;
        border-radius: 18px;
        background: linear-gradient(135deg, #9d5bff, #6d2ee8 68%, #501cc8);
        color: #ffffff;
        font-size: 16px;
        box-shadow: 0 16px 28px rgba(92, 43, 214, 0.28);
    }
    .premium-upgrade-btn svg {
        width: 20px;
        height: 20px;
    }
    .account-cards {
        grid-template-columns: 1fr;
    }
    .account-items-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.blocked-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blocked-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--LUVIO-bg, #fff);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.blocked-item-photo,
.blocked-item-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.blocked-item-placeholder {
    background: var(--LUVIO-substrate, #eee);
}
.blocked-item-info {
    flex: 1;
    min-width: 0;
}
.blocked-item-name {
    font-weight: 600;
    color: var(--LUVIO-text);
}
.blocked-item-unblock {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

/* ========== Public profile /profile/<uuid>/ — social-style layout ========== */
.profile-public-page {
    padding-bottom: 32px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0));
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}
.profile-public-error {
    padding: 48px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}
.profile-public-error-card {
    text-align: center;
    max-width: 320px;
}
.profile-public-error-text {
    color: var(--LUVIO-description);
    font-size: 16px;
    margin: 0 0 20px;
}
.profile-public-error-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--LUVIO-radius-button);
}

.profile-public-content {
    padding-top: 12px;
    padding-bottom: 24px;
}

/* Layout: mobile — stacked; desktop — photo left, info right */
.profile-public-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.profile-public-left {
    flex-shrink: 0;
}
.profile-public-photo-main-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--LUVIO-substrate, #f0f0f0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.profile-public-photo-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-public-online-dot {
    position: absolute;
    bottom: 14px;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.profile-public-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}
.profile-public-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
}
.profile-public-thumb:hover {
    opacity: 0.9;
}
.profile-public-thumb-active {
    border-color: var(--LUVIO-primary);
}
.profile-public-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-public-right {
    flex: 1;
    min-width: 0;
}

/* Header: name + badges + meta */
.profile-public-header {
    margin-bottom: 20px;
}
.profile-public-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.profile-public-name {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--LUVIO-text);
    line-height: 1.2;
}
.profile-public-badges {
    display: flex;
    align-items: center;
    gap: 6px;
}
.profile-public-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}
.profile-public-badge-verified {
    background: #0f9d58;
    color: #fff;
}
.profile-public-badge-premium {
    background: linear-gradient(135deg, #8148f7, #eaa7ee);
    color: #fff;
}
.profile-public-meta {
    margin: 0;
    font-size: 15px;
    color: var(--LUVIO-description);
    line-height: 1.4;
}
.profile-public-meta-online {
    color: #22c55e;
    font-weight: 600;
}

/* Quick actions */
.profile-public-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.profile-public-btn-primary,
.profile-public-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--LUVIO-radius-button);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.05s;
}
.profile-public-btn-primary:active,
.profile-public-btn-secondary:active {
    transform: scale(0.98);
}
.profile-public-btn-icon {
    font-size: 18px;
}
.profile-public-btn-primary {
    background: var(--LUVIO-btn-primary);
    color: #fff;
}
.profile-public-btn-primary:hover {
    background: var(--LUVIO-btn-primary-hover);
    color: #fff;
}
.profile-public-btn-secondary {
    background: var(--LUVIO-secondary-light, #f0eef5);
    color: var(--LUVIO-primary);
}
.profile-public-btn-secondary:hover {
    background: var(--LUVIO-secondary-mid, #e5e2ec);
    color: var(--LUVIO-primary);
}
.profile-public-btn-disabled,
.profile-public-btn-disabled:hover {
    background: var(--LUVIO-secondary-light, #f0eef5);
    color: #6e6a76;
    cursor: default;
    pointer-events: none;
    opacity: 0.85;
}

/* Cards */
.profile-public-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.profile-public-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.profile-public-card-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--LUVIO-text);
}
.profile-public-bio,
.profile-public-looking {
    margin: 0;
    font-size: 15px;
    color: var(--LUVIO-description);
    line-height: 1.5;
}
.profile-public-details-card .profile-public-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profile-public-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.profile-public-detail-label {
    font-size: 14px;
    color: var(--LUVIO-description);
}
.profile-public-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--LUVIO-text);
}
.profile-public-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.profile-public-interest-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(129, 72, 247, 0.12);
    color: var(--LUVIO-primary);
    font-size: 13px;
    font-weight: 500;
}
.profile-public-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Mobile: touch-friendly and spacing */
@media (max-width: 991px) {
    .profile-public-page {
        padding-top: 8px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
    }
    .profile-public-content {
        padding-top: 8px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .profile-public-layout {
        gap: 20px;
    }
    .profile-public-photo-main-wrap {
        border-radius: 20px;
        max-width: 100%;
    }
    .profile-public-header {
        margin-bottom: 16px;
    }
    .profile-public-name {
        font-size: 24px;
    }
    .profile-public-meta {
        font-size: 14px;
    }
    .profile-public-actions {
        gap: 12px;
        margin-bottom: 24px;
    }
    .profile-public-btn-primary,
    .profile-public-btn-secondary {
        min-height: 48px;
        padding: 14px 20px;
        -webkit-tap-highlight-color: transparent;
    }
    .profile-public-cards {
        gap: 14px;
    }
    .profile-public-card {
        padding: 18px 16px;
        border-radius: 18px;
    }
    .profile-public-card-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .profile-public-thumb {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        -webkit-tap-highlight-color: transparent;
    }
    .profile-public-photo-cell {
        -webkit-tap-highlight-color: transparent;
    }
    .profile-public-interest-tag {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.profile-public-photo-cell {
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: var(--LUVIO-substrate, #eee);
    cursor: pointer;
    aspect-ratio: 1;
}
.profile-public-photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop: two columns */
@media (min-width: 992px) {
    .profile-public-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    .profile-public-left {
        position: sticky;
        top: 88px;
        width: 340px;
        flex-shrink: 0;
    }
    .profile-public-photo-main-wrap {
        margin: 0;
        max-width: 100%;
    }
    .profile-public-right {
        flex: 1;
        max-width: 440px;
    }
    .profile-public-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .profile-public-actions .profile-public-btn-primary,
    .profile-public-actions .profile-public-btn-secondary {
        flex: 1;
        min-width: 140px;
    }
    .profile-public-photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Header notifications link + badge */
.header-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-right: 4px;
}
.header-icon-link img {
    width: 22px;
    height: 22px;
}
.header-icon-link .notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--LUVIO-pink, #E40C4E);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
    display: none;
}
.header-icon-link.has-notification .notification-badge {
    display: inline-block;
}

/* Notifications feed page */
.notifications-feed-page .page-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 12px;
}
.notifications-feed-section {
    padding: 16px 12px 24px;
}
.notifications-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.notifications-feed-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--LUVIO-text, #1a1a1a);
}
@media (min-width: 576px) {
    .notifications-feed-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}
.notifications-feed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.notifications-feed-loading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.notifications-feed-empty {
    margin: 0;
}
.notifications-feed-state {
    background: #ffffff;
    border: 1px solid rgba(129, 72, 247, 0.1);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
    padding: 34px 20px;
    text-align: center;
}
.notifications-feed-state-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: rgba(129, 72, 247, 0.12);
    color: var(--LUVIO-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}
.notifications-feed-state h2 {
    margin: 0;
    color: var(--LUVIO-text, #1a1a1a);
    font-size: 18px;
    font-weight: 700;
}
.notifications-feed-state p {
    max-width: 340px;
    margin: 8px auto 0;
    color: var(--LUVIO-description, #666);
    font-size: 14px;
    line-height: 1.45;
}
.notifications-feed-error .notifications-feed-state-icon {
    background: rgba(228, 12, 78, 0.12);
    color: var(--LUVIO-pink, #E40C4E);
}
.notifications-feed-retry {
    margin-top: 18px;
    padding: 9px 18px;
    font-size: 14px;
}
.notification-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--LUVIO-substrate, #f5f5f5);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.notification-card--unread {
    background: linear-gradient(135deg, #fff 0%, #fef5f8 100%);
    border-color: rgba(228, 12, 78, 0.12);
    box-shadow: 0 4px 12px rgba(228, 12, 78, 0.08);
}
.notification-card-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}
.notification-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(129, 72, 247, 0.1);
    border-radius: 12px;
    color: var(--LUVIO-primary);
}
.notification-card--unread .notification-card-icon {
    background: rgba(228, 12, 78, 0.12);
    color: var(--LUVIO-pink, #E40C4E);
}
.notification-card-content {
    flex: 1;
    min-width: 0;
}
.notification-card-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--LUVIO-text, #1a1a1a);
}
.notification-card--unread .notification-card-title {
    color: var(--LUVIO-text, #1a1a1a);
}
.notification-card-body {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--LUVIO-description, #666);
}
.notification-card-date {
    display: block;
    font-size: 12px;
    color: var(--LUVIO-description, #888);
}
.notification-card--placeholder {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}
.notification-card--placeholder .notification-card-icon,
.notification-card-placeholder-line {
    overflow: hidden;
    position: relative;
    background: #eef0f6;
}
.notification-card--placeholder .notification-card-icon::after,
.notification-card-placeholder-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.74), transparent);
    animation: luvioShimmer 1.4s ease-in-out infinite;
}
.notification-card-placeholder-content {
    flex: 1;
    display: grid;
    gap: 8px;
    padding-top: 2px;
}
.notification-card-placeholder-line {
    display: block;
    width: min(100%, 460px);
    height: 12px;
    border-radius: 999px;
}
.notification-card-placeholder-line--title {
    width: min(72%, 300px);
    height: 16px;
}
.notification-card-placeholder-line--meta {
    width: 84px;
    height: 10px;
}
.notifications-mark-all-read {
    font-size: 14px;
    padding: 8px 14px;
}
