.section-myapps-overview {
    width: 100%;
}

.section-myapps-overview__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-myapps-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.myapp-tile {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid #d9e7e8;
    border-radius: 16px;
    overflow: hidden;
}

.myapp-tile__head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 20px 12px;
}

.myapp-tile__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
}

.myapp-tile__logo img {
    display: block;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 15px;
    object-fit: contain;
}

.myapp-tile__title {
    margin: 0 0 6px;
    color: #006068;
    font-size: 1.22rem;
    line-height: 1.18;
    font-weight: 600;
}

.myapp-tile__manufacturer,
.myapp-tile__license {
    color: #5b6d70;
    font-size: 0.86rem;
    line-height: 1.25;
}

.myapp-tile__languages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 0 20px 12px;
}

.myapp-tile__language-flag {
    display: block;
    width: 20px;
    height: 13px;
    object-fit: cover;
}

.myapp-tile__language-code {
    color: #5b6d70;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 13px;
}

.myapp-tile__description {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 20px 14px;
    padding-right: 8px;
    overflow: auto;
    color: #243335;
    font-size: 0.95rem;
    line-height: 1.45;
}

.myapp-tile__description > :first-child {
    margin-top: 0;
}

.myapp-tile__description > :last-child {
    margin-bottom: 0;
}

.myapp-tile__links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 40px;
    padding: 0 20px;
    border-top: 1px solid #d9e7e8;
    background: #f3f7f7;
}

.myapp-tile__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    color: var(--myapp-link-color, #078d8a);
    font: inherit;
    line-height: 0;
    text-decoration: none;
    cursor: pointer;
}

.myapp-tile__link svg {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 5px;
}

.myapp-tile__link:hover,
.myapp-tile__link:focus-visible {
    color: #f59b10;
}

.myapp-tile__link:focus,
.myapp-tile__link:focus-visible {
    outline: none;
}

.myapps-screenshot-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.78);
}

.myapps-screenshot-overlay.is-visible {
    display: flex;
}

.myapps-screenshot-overlay__frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1100px, 100%);
    max-height: 90vh;
}

.myapps-screenshot-overlay__image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.myapps-screenshot-overlay__close,
.myapps-screenshot-overlay__prev,
.myapps-screenshot-overlay__next {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #f59b10;
    border-radius: 50%;
    background: #f59b10;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.myapps-screenshot-overlay__close:hover,
.myapps-screenshot-overlay__prev:hover,
.myapps-screenshot-overlay__next:hover {
    background: #fff;
    color: #f59b10;
}

.myapps-screenshot-overlay__close {
    top: -18px;
    right: -18px;
}

.myapps-screenshot-overlay__prev {
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
}

.myapps-screenshot-overlay__next {
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 640px) {
    .myapps-screenshot-overlay {
        padding: 18px;
    }

    .myapps-screenshot-overlay__close {
        top: 8px;
        right: 8px;
    }

    .myapps-screenshot-overlay__prev {
        left: 8px;
    }

    .myapps-screenshot-overlay__next {
        right: 8px;
    }
}

.myapps-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.78);
}

.myapps-video-overlay.is-visible {
    display: flex;
}

.myapps-video-overlay__box {
    position: relative;
    width: min(1100px, 100%);
    box-sizing: border-box;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.myapps-video-overlay__title {
    margin: 0 44px 16px 0;
    color: #006068;
    font-size: 1.35rem;
    line-height: 1.25;
}

.myapps-video-overlay__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #0f2f34;
}

.myapps-video-overlay__close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #f59b10;
    border-radius: 50%;
    background: #f59b10;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.myapps-video-overlay__close:hover {
    background: #fff;
    color: #f59b10;
}

@media (max-width: 640px) {
    .myapps-video-overlay {
        padding: 12px;
    }

    .myapps-video-overlay__box {
        padding: 16px;
    }
}

.myapps-feature-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.78);
}

.myapps-feature-overlay.is-visible {
    display: flex;
}

.myapps-feature-overlay__box {
    position: relative;
    width: min(760px, 100%);
    max-height: 88vh;
    overflow: auto;
    box-sizing: border-box;
    padding: 34px;
    border-radius: 12px;
    background: #fff;
    color: #243335;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.myapps-feature-overlay__content h3 {
    margin: 0 0 18px;
    color: #006068;
    font-size: 1.35rem;
    line-height: 1.2;
}

.myapps-feature-overlay__content > :last-child {
    margin-bottom: 0;
}

.myapps-feature-overlay__close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #f59b10;
    border-radius: 50%;
    background: #f59b10;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.myapps-feature-overlay__close:hover {
    background: #fff;
    color: #f59b10;
}

@media (max-width: 640px) {
    .myapps-feature-overlay {
        padding: 18px;
    }

    .myapps-feature-overlay__box {
        padding: 28px 20px 22px;
    }
}

@media (max-width: 480px) {
    .section-myapps-overview__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .myapp-tile {
        max-width: none;
        aspect-ratio: auto;
        min-height: 375px;
    }
}

.section-myapps-overview__filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid #d9e7e8;
    border-radius: 14px;
    background: #f3f7f7;
}

.section-myapps-overview__filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.section-myapps-overview__filter-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.section-myapps-overview__filters.is-collapsed {
    display: flex;
    justify-content: flex-end;
}

.section-myapps-overview__filters.is-collapsed .section-myapps-overview__filter-head {
    display: contents;
}

.section-myapps-overview__filters.is-collapsed .section-myapps-overview__filter--search,
.section-myapps-overview__filters.is-collapsed .section-myapps-overview__filter-body {
    display: none;
}

.section-myapps-overview__filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #006068;
    font-weight: 400;
}

.section-myapps-overview__filter--search {
    flex: 0 1 460px;
    min-width: min(100%, 280px);
}

.section-myapps-overview__search-wrap {
    position: relative;
    display: block;
}

.section-myapps-overview__search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 17px;
    height: 17px;
    color: #006068;
    opacity: 0.7;
    transform: translateY(-50%);
    pointer-events: none;
}

.section-myapps-overview__search-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.section-myapps-overview__filter-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.section-myapps-overview__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #243335;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
}

.section-myapps-overview__sort input {
    width: 18px;
    height: 18px;
    accent-color: #f59b10;
}

.section-myapps-overview__filter select,
.section-myapps-overview__filter input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 8px 38px 8px 12px;
    border: 1px solid #d9e7e8;
    border-radius: 8px;
    background: #fff;
    color: #243335;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
}

.section-myapps-overview__filter input {
    padding-left: 40px;
    padding-right: 12px;
}

.section-myapps-overview__reset,
.section-myapps-overview__filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #f59b10;
    border-radius: 8px;
    background: #f59b10;
    color: #fff;
    cursor: pointer;
}

.section-myapps-overview__reset svg,
.section-myapps-overview__filter-toggle svg {
    width: 20px;
    height: 20px;
}

.section-myapps-overview__filter-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.section-myapps-overview__reset:hover,
.section-myapps-overview__reset:focus-visible,
.section-myapps-overview__filter-toggle:hover,
.section-myapps-overview__filter-toggle:focus-visible {
    background: #fff;
    color: #f59b10;
    outline: none;
}

.section-myapps-overview__filter select:focus,
.section-myapps-overview__filter input:focus {
    outline: none;
    border-color: #f59b10;
    box-shadow: 0 0 0 2px rgba(245, 155, 16, 0.18);
}

.section-myapps-overview__empty {
    margin: 28px 0 0;
    text-align: center;
    color: #5b6d70;
}

.myapp-tile[hidden] {
    display: none;
}

@media (max-width: 800px) {
    .section-myapps-overview__filter-head,
    .section-myapps-overview__filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .section-myapps-overview__filter-body {
        grid-template-columns: 1fr;
    }

    .section-myapps-overview__filter--search {
        flex-basis: auto;
        width: 100%;
    }

    .section-myapps-overview__reset,
    .section-myapps-overview__filter-toggle {
        align-self: flex-end;
    }
}
