@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html, body {
    font-family: Inter, Arial, sans-serif;
}

.my-listing-page,
.my-listing-page *,
.my-listing-page *::before,
.my-listing-page *::after {
    box-sizing: border-box;
}

.ml-content {
    padding-top: 70px;
    padding-bottom: 100px;
}

.ml-listing-page .ml-active-link {
    color: #edf3f5;
}

.ml-title {
    margin: 0;
    color: #edf3f5;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.ml-statistics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.ml-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 116px;
    padding: 20px 12px;
    text-align: center;
    background: #0d1115;
    border: 1px solid #20282f;
    border-radius: 9px;
}

.ml-stat strong {
    color: #edf3f5;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.ml-stat span {
    color: #8B969E;
    font-size: 12px;
    line-height: 1.4;
}

.ml-list {
    display: grid;
    gap: 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ml-listing {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 16px 18px;
    background: #0d1115;
    border: 1px solid #20282f;
    border-radius: 9px;
}

.ml-status {
    display: inline-block;
    flex-shrink: 0;
    min-width: 62px;
    padding: 3px 7px;
    border: 1px solid;
    border-radius: 4px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.ml-status__active {
    color: #7DFFB8;
    background: #101b16;
    border-color: #347255;
}

.ml-status__sold {
    color: #8B969E;
    background: #12191d;
    border-color: #414b52;
}

.ml-listing-info {
    flex: 1;
    min-width: 0;
}

.ml-listing-info h2 {
    margin: 0 0 5px;
    color: #edf3f5;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ml-listing-info p {
    margin: 0;
    color: #8B969E;
    font-size: 10px;
    line-height: 1.5;
}

.ml-edit-button {
    flex-shrink: 0;
    min-width: 90px;
    min-height: 36px;
    padding: 8px 18px;
    background: #202528;
    border: 1px solid #30373c;
    border-radius: 7px;
    color: #edf3f5;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.ml-edit-button:hover {
    background: #2c3439;
    border-color: #53616a;
}

.ml-edit-button:active {
    transform: scale(0.98);
}

.my-listing-page a:focus-visible,
.my-listing-page button:focus-visible {
    outline: 2px solid #7DFFB8;
    outline-offset: 4px;
}

.ml-archived {
    flex-shrink: 0;
    color: #8B969E;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .my-listing-page .header {
        height: auto;
    }

    .my-listing-page .header_container {
        width: calc(100% - 32px);
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 0;
    }

    .my-listing-page .Navigation {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
    }

    .my-listing-page .profile_info {
        height: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 800px) {
    .ml-content {
        width: calc(100% - 32px);
        padding-top: 40px;
    }

    .ml-statistics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 500px) {
    .my-listing-page .Navigation {
        gap: 14px;
    }

    .my-listing-page .Logo {
        flex-basis: 100%;
    }

    .my-listing-page .Links {
        font-size: 13px;
    }

    .ml-content {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .ml-title {
        font-size: 34px;
        letter-spacing: -1px;
        overflow-wrap: anywhere;
    }

    .ml-stat {
        min-height: 100px;
        padding: 16px 10px;
    }

    .ml-stat strong {
        font-size: 26px;
    }

    .ml-listing {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .ml-listing-info {
        width: 100%;
    }

    .ml-listing-info h2 {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .ml-listing-info p {
        font-size: 12px;
    }

    .ml-edit-button {
        width: 100%;
        min-height: 44px;
    }
}
