/* =========================================================
   MYKINO.CC — ADVANCED FILTER
   ========================================================= */

.mk-filter {
    width: min(1600px, calc(100% - 36px));
    margin: 28px auto 42px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: #14161c;
    color: #eef3f8;
}

.mk-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.mk-filter-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.mk-filter-subtitle {
    margin: 5px 0 0;
    color: #7f8999;
    font-size: 12px;
}

.mk-filter-form {
    margin-top: 12px;
}

.mk-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mk-filter-field {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mk-filter-label {
    color: #8d98a9;
    font-size: 11px;
    font-weight: 700;
}

.mk-filter-select,
.mk-filter-input {
    width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    outline: none;
    background: #14161c;
    color: #dce4ee;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    padding: 0 12px;
    transition:
        border-color .15s ease,
        background-color .15s ease;
}

button.mk-filter-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.mk-filter-select:focus,
.mk-filter-input:focus {
    border-color: rgba(255,120,62,.62);
    background: #14161c;
}

.mk-filter-search-field {
    grid-column: span 1;
}

.mk-filter-year-field {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding: 13px 12px 10px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: #14161c;
}

.mk-filter-year-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mk-filter-year-value {
    color: #dbe7f4;
    font-size: 11px;
    font-weight: 800;
}

.mk-filter-range {
    position: relative;
    height: 46px;
    margin-top: 6px;
    overflow: visible;
}

/*
 * Screenshot-style base line.
 * The repeating gradient creates the small decorative tick marks
 * under the horizontal range line.
 */
.mk-filter-range-track,
.mk-filter-range-fill {
    position: absolute;
    left: 0;
    right: 0;
    top: 25px;
    height: 5px;
    border-radius: 999px;
}

.mk-filter-range-track {
    z-index: 1;
    background: #272a33;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 1px 0 rgba(0,0,0,.22);
}

.mk-filter-range-track::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 5px;
    pointer-events: none;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(123,139,164,.34) 0 1px,
            transparent 1px 5%
        );
}

.mk-filter-range-fill {
    z-index: 2;
    right: auto;
    background: #ff783e;
    box-shadow: 0 0 9px rgba(255,120,62,.14);
}

.mk-filter-range-input {
    position: absolute;
    inset: 0;
    z-index: 4;

    width: 100%;
    height: 46px;
    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;
    pointer-events: none;
    outline: none;
}

.mk-filter-range-input::-webkit-slider-runnable-track {
    height: 5px;
    background: transparent;
}

.mk-filter-range-input::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -5.5px;

    appearance: none;
    -webkit-appearance: none;

    border: 3px solid #15171d;
    border-radius: 50%;

    background: #fff1e8;

    box-shadow:
        0 0 0 2px #ff783e,
        0 0 10px rgba(255,120,62,.15);

    pointer-events: auto;
    cursor: grab;
}

.mk-filter-range-input::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.mk-filter-range-input::-moz-range-track {
    height: 5px;
    background: transparent;
}

.mk-filter-range-input::-moz-range-progress {
    background: transparent;
}

.mk-filter-range-input::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border: 3px solid #15171d;
    border-radius: 50%;

    background: #fff1e8;

    box-shadow:
        0 0 0 2px #ff783e,
        0 0 10px rgba(255,120,62,.15);

    pointer-events: auto;
    cursor: grab;
}

/* Floating value bubble, like the supplied reference screenshot. */
.mk-filter-year-bubble {
    position: absolute;
    z-index: 8;
    top: -4px;
    left: 0;
    min-width: 34px;
    height: 23px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 5px;
    background: #ff783e;
    color: #f3f8ff;
    box-shadow: 0 5px 14px rgba(0,0,0,.26);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-2px);
    pointer-events: none; transition: opacity .12s ease, visibility .12s ease, transform .12s ease;
}

.mk-filter-year-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;

    width: 7px;
    height: 7px;

    background: #ff783e;
    border-right: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);

    transform: translateX(-50%) rotate(45deg);
}

.mk-filter-year-bubble.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mk-filter-year-bubble.is-start {
    transform: translateX(0) translateY(0);
}

.mk-filter-year-bubble.is-start::after {
    left: 9px;
    transform: rotate(45deg);
}

.mk-filter-year-bubble.is-end {
    transform: translateX(-100%) translateY(0);
}

.mk-filter-year-bubble.is-end::after {
    left: auto;
    right: 6px;
    transform: rotate(45deg);
}

/* Five main labels: min / 25% / 50% / 75% / max. */
.mk-filter-year-scale {
    position: relative;
    width: 100%;
    height: 18px;
    margin-top: -4px;

    color: #9398a6;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.mk-filter-year-tick {
    position: absolute;
    top: 0;
    min-width: 36px;
    transform: translateX(-50%);
    text-align: center;
}

.mk-filter-year-tick--q0 {
    left: 0%;
    transform: translateX(0);
    text-align: left;
}

.mk-filter-year-tick--q1 {
    left: 25%;
}

.mk-filter-year-tick--q2 {
    left: 50%;
}

.mk-filter-year-tick--q3 {
    left: 75%;
}

.mk-filter-year-tick--q4 {
    left: 100%;
    transform: translateX(-100%);
    text-align: right;
}

.mk-filter-year-tick-label {
    color: #9398a6;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

/* The floating bubble replaces the old top-right range text visually. */
.mk-filter-year-value {
    display: none;
}

@media (max-width: 520px) {
    .mk-filter-range {
        height: 44px;
    }

    .mk-filter-range-track,
    .mk-filter-range-fill {
        top: 24px;
    }

    .mk-filter-year-bubble {
        min-width: 32px;
        height: 22px;
        font-size: 10px;
    }

    .mk-filter-year-tick-label {
        font-size: 9px;
    }

    .mk-filter-year-scale {
        height: 17px;
    }
}

/*
 * Genre / Quality / Sort use the exact same visible control.
 * This fixes native-select size differences and gives all 3
 * dropdowns the same animated chevron.
 */
.mk-filter-genre-toggle,
.mk-filter-dropdown-toggle {
    position: relative;
    height: 42px;
    min-height: 42px;
    padding: 0 36px 0 12px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.mk-filter-genre-toggle > span:first-child,
.mk-filter-dropdown-toggle > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mk-filter-chevron {
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #9297a2;
    border-bottom: 2px solid #9297a2;
    transform: translateY(-70%) rotate(45deg);
    transform-origin: 55% 55%;
    transition:
        transform .16s ease,
        border-color .16s ease;
    pointer-events: none;
}

/* Open state: chevron looks upward on all 3 controls. */
.mk-filter-genre-toggle[aria-expanded="true"] .mk-filter-chevron,
.mk-filter-dropdown-toggle[aria-expanded="true"] .mk-filter-chevron {
    transform: translateY(-30%) rotate(225deg);
    border-color: #a4b0c1;
}


/* =========================================================
   QUALITY / SORT CUSTOM DROPDOWNS
   ---------------------------------------------------------
   Native selects remain in the form, but are visually hidden.
   This preserves FormData/AJAX/reset/URL behavior.
   ========================================================= */

.mk-filter-native-select {
    display: none !important;
}

.mk-filter-dropdown-field {
    position: relative;
}

.mk-filter-dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 72;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    background: #14161c;
    box-shadow: 0 18px 40px rgba(0,0,0,.38);
}

.mk-filter-dropdown-menu[hidden] {
    display: none !important;
}

.mk-filter-dropdown-option {
    width: 100%;
    min-height: 34px;
    padding: 6px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #aeb8c6;
    font: inherit;
    font-size: 11px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.mk-filter-dropdown-option:hover,
.mk-filter-dropdown-option:focus-visible {
    outline: none;
    background: rgba(255,255,255,.04);
    color: #fff;
}

.mk-filter-dropdown-option.is-selected {
    background: rgba(255,120,62,.10);
    color: #ffb18b;
}

.mk-filter-genre-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 70;
    max-height: 330px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    background: #14161c;
    box-shadow: 0 18px 40px rgba(0,0,0,.38);
    overflow: hidden;
}

.mk-filter-genre-search-wrap {
    padding: 9px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.mk-filter-genre-search {
    width: 100%;
    height: 34px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    outline: none;
    background: #14161c;
    color: #e8eef5;
    padding: 0 10px;
    font: inherit;
    font-size: 11px;
}

.mk-filter-genre-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
}

.mk-filter-genre-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 7px;
    color: #aeb8c6;
    font-size: 11px;
    cursor: pointer;
}

.mk-filter-genre-option:hover {
    background: rgba(255,255,255,.04);
    color: #fff;
}

.mk-filter-genre-option input {
    accent-color: #ff783e;
}

.mk-filter-genre-loading {
    padding: 15px 10px;
    color: #6f7b8d;
    font-size: 11px;
}

.mk-filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.mk-filter-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.mk-filter-reset,
.mk-filter-submit {
    height: 38px;
    border-radius: 8px;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.mk-filter-reset {
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.09);
    background: #ff783e;
    color: #000000;
}

.mk-filter-reset:hover {
    color: #000000;
    background: #ff9565;
}

.mk-filter-submit {
    min-width: 96px;
    padding: 0 16px;
    border: 0;
    background: #ff783e;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.mk-filter-submit:hover {
    background: #ff9565;
}

.mk-filter-submit svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1400px) {
    .mk-filter-results {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .mk-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mk-filter-search-field {
        grid-column: span 1;
    }

    .mk-filter-results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .mk-filter-year-scale {
        height: 31px;
        margin-top: 3px;
    }

    .mk-filter-year-tick {
        min-width: 30px;
        gap: 4px;
    }

    .mk-filter-year-tick-label {
        font-size: 9px;
    }

    .mk-filter-year-tick-line {
        height: 6px;
    }
}

@media (max-width: 760px) {
    .mk-filter {
        width: calc(100% - 20px);
        margin-top: 16px;
        padding: 12px;
    }

    .mk-filter-head {
        align-items: center;
    }

    .mk-filter-subtitle,
    .mk-filter-reset-top {
        display: none;
    }

    .mk-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mk-filter-search-field,
    .mk-filter-year-field {
        grid-column: 1 / -1;
    }

    .mk-filter-actions {
        align-items: flex-end;
        flex-direction: column;
    }

    .mk-filter-active {
        width: 100%;
    }

    .mk-filter-action-buttons {
        width: 100%;
    }

    .mk-filter-reset,
    .mk-filter-submit {
        flex: 1;
    }

    .mk-filter-results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .mk-filter-grid {
        grid-template-columns: 1fr;
    }

    .mk-filter-search-field,
    .mk-filter-year-field {
        grid-column: auto;
    }

    .mk-filter-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-filter-card-title {
        font-size: 11px;
    }
}


/* =========================================================
   ROOT CATEGORY FILTER INTEGRATION
   ========================================================= */

#mkFilter[hidden] {
    display: none !important;
}





/* =========================================================
   FILTER STATUS — LIGHTWEIGHT
   ---------------------------------------------------------
   Filter CSS styles only the controls/status.
   Search results themselves are rendered with the site's
   normal .card / .poster / .card-body classes from styles.css.
   ========================================================= */

.mk-filter-status {
    min-height: 22px;
    margin-top: 10px;
    color: #7f8b9d;
    font-size: 11px;
}

.mk-filter-status[hidden] {
    display: none !important;
}

.mk-filter-submit.is-loading {
    pointer-events: none;
    opacity: .72;
}

/*
 * No animated skeletons here:
 * they create continuous repaint/compositor work on large grids.
 */


/* =========================================================
   CATEGORY BADGE + "OUR DUBBED" CHECKBOX
   PERFORMANCE-SAFE
   ========================================================= */

.mk-filter-dub-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px 0 0;
    color: #9aa5b5;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/*
 * Clickable area is ONLY the 20x20 checkbox control.
 * The text next to it is informational and does not toggle the checkbox.
 */
.mk-filter-dub-control {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mk-filter-dub-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
}

.mk-filter-dub-box {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    background: #14161c;
    display: grid;
    place-items: center;
    color: transparent;
    pointer-events: none;
    transition:
        background-color .12s ease,
        border-color .12s ease,
        color .12s ease;
}

.mk-filter-dub-box svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mk-filter-dub-input:checked + .mk-filter-dub-box {
    border-color: #ff783e;
    background: #ff783e;
    color: #061018;
}

.mk-filter-dub-input:focus-visible + .mk-filter-dub-box {
    outline: 2px solid rgba(255,120,62,.28);
    outline-offset: 3px;
}

.mk-filter-dub-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    cursor: default;
    pointer-events: none;
}

.mk-filter-dub-copy strong {
    color: #cbd4df;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
}

.mk-filter-dub-copy small {
    color: #999999;
    font-size: 10px;
    line-height: 1.2;
}

.mk-filter-dub-control:hover .mk-filter-dub-box {
    border-color: rgba(255,120,62,.55);
}

@media (max-width: 760px) {
    .mk-filter-dub-toggle {
        width: 100%;
    }

    .mk-filter-dub-copy small {
        display: none;
    }
}


/* =========================================================
   ACTIVE FILTER TAGS — TOP RIGHT
   ========================================================= */

.mk-filter-active-top {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 1px;
}

.mk-filter-chip {
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid rgb(255 120 62 / 56%);
    border-radius: 999px;
    background: rgb(70 34 20 / 37%);
    color: #ffb18b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.mk-filter-chip.is-dubbed {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: #d5dde7;
}

@media (max-width: 760px) {
    .mk-filter-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .mk-filter-active-top {
        width: 100%;
        justify-content: flex-start;
    }
}
/* MYKINO.CC — Advanced Filter V1 | Orange Noir. Scoped integration only. */
body.mk-dle #mkFilter { width:100%; margin:calc(var(--header,76px) + 18px) 0 22px; padding:clamp(14px,2vw,25px); border:1px solid #ffffff20; border-radius:16px; background:radial-gradient(ellipse at 100% 0%,#ff783e0c,transparent 45%),#14161c; color:#f7f7f8; box-shadow:0 15px 40px #0003; position:relative; z-index:8; scroll-margin-top:12px; }
body.mk-dle #mkFilter .mk-filter-head { align-items:center; gap:16px; padding-bottom:17px; }
#mkFilter .mk-filter-heading { display:flex; align-items:center; gap:12px; min-width:0; }
#mkFilter .mk-filter-emblem { display:grid; place-items:center; flex:0 0 43px; height:43px; border-radius:11px; border:1px solid #ff783e40; background:#ff783e10; color:#ff9565; }
#mkFilter .mk-filter-emblem svg { width:23px; height:23px; }
#mkFilter .mk-filter-title { font-size:18px; line-height:1.4; color:#fff; }
#mkFilter .mk-filter-subtitle { color:#a4a9b4; font-size:11px; line-height:1.6; }
#mkFilter .mk-filter-form { margin-top:17px; }
#mkFilter .mk-filter-grid { gap:15px; grid-template-columns:repeat(4,minmax(0,1fr)); }
#mkFilter .mk-filter-label { font-size:12px; color:#c4c7d0; line-height:1.5; }
#mkFilter :is(.mk-filter-select,.mk-filter-input,.mk-filter-genre-search) { background:#101218; border-color:#ffffff20; color:#f1f1f4; border-radius:10px; font-size:13px; min-width:0; }
#mkFilter :is(.mk-filter-select,.mk-filter-input) { height:46px; min-height:46px; }
#mkFilter :is(.mk-filter-select,.mk-filter-input,.mk-filter-genre-search):focus, #mkFilter button[aria-expanded="true"] { border-color:#ff783eaa; box-shadow:0 0 0 3px #ff783e16; }
#mkFilter :is(.mk-filter-select,.mk-filter-input)::placeholder { color:#858b99; }
#mkFilter :is(.mk-filter-dropdown-menu,.mk-filter-genre-menu) { background:#1b1e25; border-color:#ff783e45; border-radius:12px; box-shadow:0 15px 35px #0009; z-index:30; }
#mkFilter .mk-filter-field:has(button[aria-expanded="true"]) { z-index:35; }
#mkFilter .mk-filter-dropdown-option { font-size:12px; min-height:38px; }
#mkFilter .mk-filter-genre-option { font-size:12px; min-height:38px; }
#mkFilter .mk-filter-genre-option[hidden] { display:none!important; }
#mkFilter .mk-filter-genre-list { scrollbar-width:thin; scrollbar-color:#ff783e80 #171920; }
#mkFilter .mk-filter-year-field { grid-column:1/-1; padding:14px 18px 12px; background:#101218; border:1px solid #ffffff15; border-radius:12px; }
#mkFilter .mk-filter-year-value { display:block; color:#ffb18b; font-size:12px; white-space:nowrap; }
#mkFilter .mk-filter-year-bubble { color:#1b110c; border-color:#ff9565; }
#mkFilter .mk-filter-range-fill { right:0; }
#mkFilter .mk-filter-range-input:focus-visible { outline:2px solid #ff783e80; outline-offset:2px; border-radius:5px; }
#mkFilter .mk-filter-actions { gap:12px; margin-top:16px; padding-top:15px; }
#mkFilter .mk-filter-dub-copy strong { color:#e7e8ed; font-size:12px; }
#mkFilter .mk-filter-dub-copy small { color:#9699a2; }
#mkFilter .mk-filter-dub-box { background:#101218; }
#mkFilter .mk-filter-dub-input:checked + .mk-filter-dub-box { background:#ff783e; color:#19100b; }
#mkFilter :is(.mk-filter-reset,.mk-filter-submit) { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 17px; font-size:12px; border-radius:10px; }
#mkFilter .mk-filter-reset { color:#d0d3dc; background:#1b1e25; border:1px solid #ffffff20; }
#mkFilter .mk-filter-reset:hover { background:#242630; color:#ff9565; border-color:#ff783e80; }
#mkFilter .mk-filter-submit { min-width:118px; background:#ff783e; color:#170e08; box-shadow:0 6px 18px #ff783e20; }
#mkFilter .mk-filter-submit:hover { background:#ff9565; }
#mkFilter .mk-filter-reset svg { width:15px; height:15px; flex:none; }
#mkFilter .mk-filter-chip { max-width:100%; min-height:26px; padding:5px 9px; white-space:normal; overflow-wrap:anywhere; line-height:1.4; }
#mkFilter .mk-filter-status { color:#ffb18b; border-top:1px solid #ffffff14; padding-top:13px; margin-top:15px; font-size:12px; }
body.mk-dle #mk-page-content .mk-filter-native-grid, body.mk-dle #mk-filter-results { padding-top:0; }
body.mk-dle #mk-page-content .mk-filter-native-grid > #dle-content { display:contents; }
body.mk-dle #mk-filter-results { margin:0; min-height:0; }
body.mk-dle #mk-filter-results .mk-filter-empty { grid-column:1/-1; display:grid; justify-items:center; gap:10px; padding:46px 16px; border:1px dashed #ffffff27; background:#14161c; border-radius:14px; text-align:center; color:#a7aab5; font-size:12px; }
#mk-filter-results .mk-filter-empty strong { color:#eee; font-size:15px; }
#mk-filter-results .mk-filter-empty svg { width:34px; height:34px; color:#ff9565; }
#mk-filter-results .mk-filter-poster-empty { display:grid; place-content:center; height:100%; color:#a2a4ac; font-weight:900; font-size:15px; }
#mk-filter-results .mk-filter-poster-empty span { display:inline; color:#ff783e; }
#mk-filter-results .mk-filter-edit { display:grid; place-items:center; width:30px; height:30px; background:#101217df; border:1px solid #ffffff45; border-radius:8px; color:#fff; pointer-events:auto; }
#mk-filter-results .mk-filter-edit svg { width:16px; height:16px; }
#mk-filter-results .mk-filter-edit:hover { color:#ff9565; border-color:#ff783e; }
#mk-filter-results .save-button:disabled { opacity:.55; cursor:wait; }
@media (hover:hover) and (pointer:fine) { #mk-filter-results .mk-filter-edit { pointer-events:none; } #mk-filter-results .poster-card:is(:hover,:focus-within) .mk-filter-edit { pointer-events:auto; } }
@media(max-width:1100px) { #mkFilter .mk-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { body.mk-dle #mkFilter { margin-top:calc(var(--header,62px) + 12px); padding:14px; } body.mk-dle #mkFilter .mk-filter-head { align-items:flex-start; flex-direction:column; gap:10px; } #mkFilter .mk-filter-subtitle { display:block; } #mkFilter .mk-filter-grid { gap:12px; } #mkFilter .mk-filter-search-field { grid-column:1/-1; } #mkFilter .mk-filter-active-top { justify-content:flex-start; } #mkFilter .mk-filter-actions { align-items:stretch; } #mkFilter .mk-filter-action-buttons { width:100%; } #mkFilter .mk-filter-input,#mkFilter .mk-filter-genre-search { font-size:16px; } #mkFilter .mk-filter-year-field { padding:12px; } }
@media(max-width:520px) { #mkFilter .mk-filter-grid { grid-template-columns:1fr; } #mkFilter .mk-filter-year-scale { height:18px; } #mkFilter .mk-filter-title { font-size:16px; } #mkFilter .mk-filter-emblem { flex-basis:38px; height:38px; } }
@media(prefers-reduced-motion:reduce) { #mkFilter * { transition:none!important; } }
