.syay-wrap,
#buddypress .syay-wrap,
.tie-container .syay-wrap {
    --syay-border: #dfe5ee;
    --syay-soft-border: #edf1f6;
    --syay-text: #172033;
    --syay-muted: #6b778c;
    --syay-bg: #ffffff;
    --syay-soft-bg: #f7f9fc;
    --syay-hover-bg: #fbfdff;
    --syay-blue: var(--syay-accent, #0073aa);
    --syay-blue-dark: color-mix(in srgb, var(--syay-blue) 82%, #000000 18%);
    --syay-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 26px auto;
    padding: 0;
    color: var(--syay-text);
    isolation: isolate;
}

.syay-wrap *,
.syay-wrap *::before,
.syay-wrap *::after {
    box-sizing: border-box;
}

.syay-modal-open {
    overflow: hidden;
}

.syay-card {
    overflow: visible;
    border: 1px solid var(--syay-border);
    border-radius: 18px;
    background: var(--syay-bg);
    box-shadow: var(--syay-shadow);
}

.syay-heading-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--syay-soft-border);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-radius: 18px 18px 0 0;
}

.syay-title-block {
    min-width: 0;
}

.syay-title {
    margin: 0;
    color: var(--syay-text);
    font-size: clamp(22px, 2.4vw, 31px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.syay-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin: 10px 0 0;
    padding: 4px 11px;
    border: 1px solid var(--syay-soft-border);
    border-radius: 999px;
    background: var(--syay-soft-bg);
    color: var(--syay-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.syay-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 12px;
    min-width: 0;
}

.syay-control,
.syay-limit-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.syay-control-label {
    color: var(--syay-muted);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.syay-limit-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.syay-sort,
.syay-keyword,
.syay-category-search {
    min-height: 42px;
    border: 1px solid var(--syay-border);
    border-radius: 12px;
    background: #fff;
    color: var(--syay-text);
    font-size: 14px;
    line-height: 1.2;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.syay-sort:focus,
.syay-keyword:focus,
.syay-category-search:focus {
    border-color: var(--syay-blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--syay-blue) 15%, transparent);
}

.syay-sort {
    min-width: 225px;
    padding: 0 36px 0 12px;
}

.syay-keyword,
.syay-category-search {
    width: 100%;
    padding: 0 12px;
}

.syay-filter-wrap {
    position: relative;
}

.syay-filter-toggle,
.syay-filter-close,
.syay-apply-filter,
.syay-clear-filter,
.syay-page,
.syay-limit,
.syay-filter-chip {
    appearance: none;
    border: 1px solid var(--syay-border);
    border-radius: 12px;
    background: #fff;
    color: var(--syay-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.syay-filter-toggle,
.syay-apply-filter,
.syay-clear-filter,
.syay-page,
.syay-limit {
    min-height: 40px;
}

.syay-filter-toggle {
    position: relative;
    padding: 0 16px;
}

.syay-filter-toggle::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.syay-filter-toggle[aria-expanded="true"],
.syay-filter-toggle.has-active-filters {
    border-color: var(--syay-blue);
    color: var(--syay-blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--syay-blue) 12%, transparent);
}

.syay-filter-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg) translate(-1px, -1px);
}

.syay-filter-toggle:hover,
.syay-apply-filter:hover,
.syay-clear-filter:hover,
.syay-page:hover,
.syay-limit:hover,
.syay-filter-chip:hover {
    border-color: var(--syay-blue);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.syay-filter-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 50;
    width: min(420px, calc(100vw - 34px));
    padding: 0;
    border: 1px solid var(--syay-border);
    border-radius: 16px;
    background: var(--syay-bg);
    box-shadow: 0 24px 65px rgba(15, 23, 42, .18);
}

.syay-filter-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    border-top: 1px solid var(--syay-border);
    border-left: 1px solid var(--syay-border);
    background: var(--syay-bg);
    transform: rotate(45deg);
}

.syay-filter-head {
    display: none;
}

.syay-filter-scroll {
    padding: 16px 16px 0;
}

.syay-filter-block + .syay-filter-block {
    margin-top: 16px;
}

.syay-filter-title {
    display: block;
    margin: 0 0 9px;
    color: var(--syay-text);
    font-size: 13px;
    font-weight: 900;
}

.syay-category-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    max-height: 250px;
    margin-top: 10px;
    padding: 2px 4px 2px 0;
    overflow: auto;
    scrollbar-width: thin;
}

.syay-category-option {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--syay-text);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.syay-category-option:hover,
.syay-category-option.is-selected {
    border-color: color-mix(in srgb, var(--syay-blue) 25%, var(--syay-border));
    background: color-mix(in srgb, var(--syay-blue) 7%, #ffffff);
}

.syay-category-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--syay-blue);
}

.syay-category-option span {
    overflow: hidden;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.syay-category-search-empty,
.syay-filter-muted {
    margin: 8px 0 0;
    color: var(--syay-muted);
    font-size: 13px;
    font-weight: 700;
}

.syay-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--syay-soft-border);
    background: #fff;
    border-radius: 0 0 16px 16px;
}

.syay-apply-filter {
    border-color: var(--syay-blue);
    background: var(--syay-blue);
    color: #fff;
}

.syay-apply-filter:hover {
    background: var(--syay-blue-dark);
    color: #fff;
}

.syay-clear-filter {
    color: var(--syay-muted);
}

.syay-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--syay-soft-border);
    background: #fff;
}

.syay-active-filter-label {
    color: var(--syay-muted);
    font-size: 13px;
    font-weight: 850;
}

.syay-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 0 9px 0 11px;
    border-color: color-mix(in srgb, var(--syay-blue) 22%, var(--syay-border));
    background: color-mix(in srgb, var(--syay-blue) 7%, #fff);
    color: var(--syay-blue);
}

.syay-filter-chip.is-clear-all {
    border-color: #f2d6d6;
    background: #fff7f7;
    color: #b42318;
}

.syay-chip-x {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .06);
    font-size: 15px;
    line-height: 1;
}

.syay-results {
    position: relative;
    min-height: 84px;
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.syay-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 !important;
    padding: 10px 0 !important;
    list-style: none !important;
}

.syay-post {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin: 0 !important;
    padding: 13px 24px;
    border-bottom: 1px solid var(--syay-soft-border);
    transition: background-color .16s ease, transform .16s ease;
}

.syay-post:last-child {
    border-bottom: 0;
}

.syay-post:hover {
    background: var(--syay-hover-bg);
}

.syay-thumb {
    display: block;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 13px;
    background: var(--syay-soft-bg);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
    text-decoration: none;
}

.syay-thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.syay-thumb-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(135deg, var(--syay-blue), color-mix(in srgb, var(--syay-blue) 60%, #111827));
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.syay-post-content {
    min-width: 0;
}

.syay-post-title {
    display: inline-block;
    max-width: 100%;
    color: var(--syay-blue) !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.28;
    text-decoration: none !important;
}

.syay-post-title:hover {
    color: var(--syay-blue-dark) !important;
    text-decoration: underline !important;
}

.syay-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
    margin-top: 4px;
    color: var(--syay-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.syay-post-meta span:not(:last-child)::after {
    content: '•';
    margin-left: 9px;
    color: #b3bdcb;
}

.syay-post-categories a {
    color: inherit !important;
    text-decoration: none !important;
}

.syay-post-categories a:hover {
    color: var(--syay-blue) !important;
}

.syay-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0 0 !important;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.syay-layout-cards .syay-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px !important;
}

.syay-layout-cards .syay-post {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
    border: 1px solid var(--syay-soft-border);
    border-radius: 15px;
    background: #fff;
    padding: 14px;
}

.syay-layout-cards .syay-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.syay-layout-cards .syay-thumb {
    width: 86px;
    height: 86px;
}

.syay-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0;
    padding: 42px 18px;
    color: var(--syay-muted);
    text-align: center;
}

.syay-empty-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--syay-blue) 9%, #fff);
    color: var(--syay-blue);
    font-size: 22px;
    font-weight: 900;
}

.syay-empty strong {
    color: var(--syay-text);
    font-size: 17px;
    font-weight: 900;
}

.syay-empty p {
    max-width: 480px;
    margin: 0 !important;
    color: var(--syay-muted);
    font-size: 14px;
    line-height: 1.5;
}

.syay-empty-clear {
    min-height: 38px;
    margin-top: 4px;
    padding: 0 14px;
    border-color: var(--syay-blue);
    color: var(--syay-blue);
}

.syay-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 16px 22px;
    border-top: 1px solid var(--syay-soft-border);
    background: var(--syay-soft-bg);
    border-radius: 0 0 18px 18px;
}

.syay-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.syay-page,
.syay-limit {
    min-width: 40px;
    padding: 0 12px;
}

.syay-limit.is-active,
.syay-page.is-active {
    border-color: var(--syay-blue);
    background: var(--syay-blue);
    color: #fff;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--syay-blue) 26%, transparent);
}

.syay-page.is-disabled,
.syay-page:disabled {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none;
}

.syay-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    color: var(--syay-muted);
    font-weight: 900;
}

.syay-wrap.is-loading .syay-results {
    opacity: .56;
    pointer-events: none;
}

.syay-wrap.is-loading .syay-card::after {
    content: 'Yükleniyor...';
    position: absolute;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    margin-top: -58px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .86);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}

@media (max-width: 1024px) {
    .syay-heading-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .syay-toolbar {
        justify-content: flex-start;
        width: 100%;
    }

    .syay-limit-wrap-top {
        width: 100%;
        justify-content: space-between;
    }

    .syay-sort-control {
        flex: 1 1 260px;
    }

    .syay-sort {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 782px) {
    .syay-wrap {
        margin: 18px auto;
    }

    .syay-card {
        border-radius: 15px;
    }

    .syay-heading-row {
        padding: 18px 16px;
        border-radius: 15px 15px 0 0;
    }

    .syay-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .syay-limit-wrap,
    .syay-control {
        width: 100%;
        align-items: stretch;
    }

    .syay-control-label {
        display: flex;
        align-items: center;
        min-width: 94px;
    }

    .syay-limit-buttons {
        flex: 1 1 auto;
    }

    .syay-limit {
        flex: 1 1 0;
    }

    .syay-filter-wrap,
    .syay-filter-toggle {
        width: 100%;
    }

    .syay-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .syay-sort-control {
        display: grid;
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 8px;
    }

    .syay-active-filters {
        padding: 12px 16px;
    }

    .syay-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 99998;
        background: rgba(15, 23, 42, .48);
        backdrop-filter: blur(2px);
    }

    .syay-filter-panel {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 99999;
        display: flex;
        width: 100vw;
        max-height: min(86vh, 720px);
        overflow: hidden;
        flex-direction: column;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -18px 55px rgba(15, 23, 42, .24);
    }

    .syay-filter-panel::before {
        display: none;
    }

    .syay-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
        border-bottom: 1px solid var(--syay-soft-border);
    }

    .syay-filter-head strong {
        color: var(--syay-text);
        font-size: 17px;
        font-weight: 900;
    }

    .syay-filter-close {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        padding: 0;
        border-radius: 50%;
        color: var(--syay-muted);
        font-size: 25px;
        line-height: 1;
    }

    .syay-filter-scroll {
        flex: 1 1 auto;
        min-height: 0;
        padding: 15px 16px 0;
        overflow: auto;
    }

    .syay-category-list {
        max-height: none;
        overflow: visible;
    }

    .syay-filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin-top: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-radius: 0;
        box-shadow: 0 -10px 24px rgba(15, 23, 42, .06);
    }

    .syay-post {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 16px;
    }

    .syay-thumb {
        width: 68px;
        height: 68px;
        border-radius: 12px;
    }

    .syay-post-title {
        font-size: 15px;
    }

    .syay-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .syay-post-meta {
        font-size: 11px;
    }

    .syay-footer {
        justify-content: center;
        padding: 14px 12px;
    }

    .syay-pagination {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .syay-title {
        font-size: 23px;
    }

    .syay-status {
        font-size: 11px;
    }

    .syay-layout-cards .syay-posts {
        grid-template-columns: 1fr;
        padding: 10px !important;
    }

    .syay-layout-cards .syay-post {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .syay-layout-cards .syay-thumb {
        width: 70px;
        height: 70px;
    }

    .syay-page {
        min-width: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .syay-page.syay-prev,
    .syay-page.syay-next {
        min-width: 74px;
    }
}

@media (max-width: 430px) {
    .syay-heading-row {
        padding: 16px 13px;
    }

    .syay-limit-wrap-top,
    .syay-sort-control {
        grid-template-columns: 1fr;
    }

    .syay-control-label {
        min-width: 0;
    }

    .syay-post {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 12px;
    }

    .syay-thumb {
        width: 58px;
        height: 58px;
    }

    .syay-post-meta span:not(:last-child)::after {
        margin-left: 7px;
    }
}

/* 1.0.4 - Mobile filter refinements */
.syay-filter-panel .syay-category-search,
.syay-filter-panel .syay-keyword {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.syay-panel-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--syay-soft-border);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.syay-panel-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 9px 0 11px;
    border: 1px solid color-mix(in srgb, var(--syay-blue) 25%, var(--syay-border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--syay-blue) 8%, #fff);
    color: var(--syay-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}

.syay-panel-filter-chip:hover {
    border-color: var(--syay-blue);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.syay-filter-close span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

.syay-modal-open,
.syay-modal-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.syay-modal-open #go-to-top,
.syay-modal-open .go-to-top,
.syay-modal-open .back-to-top,
.syay-modal-open .scroll-to-top,
.syay-modal-open .tie-scroll-top,
.syay-modal-open .tie-scroll-to-top,
.syay-modal-open .td-scroll-up,
.syay-modal-open .to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 782px) {
    .syay-filter-panel {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: min(82dvh, 720px);
        max-height: calc(100dvh - 18px) !important;
        border: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        background: #fff;
        transform: translate3d(0, 0, 0);
    }

    .syay-filter-panel[hidden] {
        display: none !important;
    }

    .syay-filter-backdrop {
        display: block;
    }

    .syay-filter-head {
        position: relative;
        min-height: 64px;
        padding: 18px 18px 14px !important;
    }

    .syay-filter-head::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        width: 44px;
        height: 5px;
        border-radius: 999px;
        background: #d9dee8;
        transform: translateX(-50%);
    }

    .syay-filter-head strong {
        margin-top: 6px;
    }

    .syay-filter-close {
        width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 50% !important;
        background: #f4f7fb !important;
        color: #172033 !important;
        font-size: 28px !important;
        box-shadow: none !important;
    }

    .syay-panel-active-filters {
        padding: 10px 16px 12px;
        max-height: 112px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .syay-filter-scroll {
        padding: 16px 18px 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .syay-filter-title {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .syay-filter-panel .syay-category-search,
    .syay-filter-panel .syay-keyword {
        min-height: 52px !important;
        padding: 0 16px !important;
        border-radius: 14px !important;
        font-size: 16px !important;
    }

    .syay-category-list {
        gap: 7px;
        margin-top: 12px;
        padding-right: 0;
    }

    .syay-category-option {
        min-height: 48px;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 12px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .syay-category-option input {
        width: 20px;
        height: 20px;
    }

    .syay-category-option span {
        font-size: 15px;
        font-weight: 850;
    }

    .syay-filter-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) !important;
        background: rgba(255,255,255,.96) !important;
        backdrop-filter: blur(10px);
    }

    .syay-apply-filter,
    .syay-clear-filter {
        min-height: 50px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
    }

    .syay-post:hover {
        background: #fff;
        transform: none;
    }
}

@media (max-width: 430px) {
    .syay-filter-panel {
        height: min(84dvh, 720px);
    }

    .syay-panel-active-filters {
        gap: 6px;
    }

    .syay-panel-filter-chip,
    .syay-filter-chip {
        max-width: 100%;
    }
}


/* 1.0.6 - iOS/Jannah fallback: mobile filter is moved to <body> and forced as real bottom sheet. */
body > .syay-filter-backdrop.syay-force-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: block !important;
    background: rgba(15, 23, 42, .48) !important;
    backdrop-filter: blur(2px) !important;
}

body > .syay-filter-panel.syay-force-sheet {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 2147483001 !important;
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: min(86dvh, 720px) !important;
    max-height: calc(100dvh - 14px) !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #ffffff !important;
    box-shadow: 0 -18px 55px rgba(15, 23, 42, .28) !important;
    transform: translate3d(0, 0, 0) !important;
}

body > .syay-filter-panel.syay-force-sheet::before {
    display: none !important;
}

body > .syay-filter-panel.syay-force-sheet .syay-filter-head {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 64px !important;
    padding: 18px 18px 14px !important;
    border-bottom: 1px solid var(--syay-soft-border) !important;
}

body > .syay-filter-panel.syay-force-sheet .syay-filter-head::before {
    content: '' !important;
    position: absolute !important;
    top: 8px !important;
    left: 50% !important;
    width: 44px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: #d9dee8 !important;
    transform: translateX(-50%) !important;
}

body > .syay-filter-panel.syay-force-sheet .syay-filter-close {
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f4f7fb !important;
    color: #172033 !important;
    font-size: 28px !important;
    box-shadow: none !important;
}

body > .syay-filter-panel.syay-force-sheet .syay-filter-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 16px 18px 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

body > .syay-filter-panel.syay-force-sheet .syay-filter-actions {
    position: sticky !important;
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid var(--syay-soft-border) !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(10px) !important;
}

body.syay-sheet-open #go-to-top,
body.syay-sheet-open .go-to-top,
body.syay-sheet-open .back-to-top,
body.syay-sheet-open .scroll-to-top,
body.syay-sheet-open .tie-scroll-top,
body.syay-sheet-open .tie-scroll-to-top,
body.syay-sheet-open .td-scroll-up,
body.syay-sheet-open .to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
