@media (max-width: 820px) {
    .mobile-search--v2 { background: #f7f7fb; }
    .mobile-search--v2 svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
    .mobile-search--v2 .mobile-search__bar { height: 68px; gap: 9px; padding: 0 10px; background: rgba(255,255,255,.97); }
    .mobile-search--v2 .mobile-search__bar > div { min-width: 0; flex: 1; }
    .mobile-search--v2 .mobile-search__bar small { display: block; color: #716a7d; font-size: .63rem; font-weight: 750; line-height: 1.15; }
    .mobile-search--v2 .mobile-search__bar h2 { font-size: 1rem; line-height: 1.25; }
    .mobile-search--v2 .mobile-search__back,
    .mobile-search--v2 .mobile-search__close { display: grid; width: 44px; height: 44px; min-height: 44px; padding: 0; place-items: center; color: #211c2d; background: transparent; border: 0; border-radius: 12px; }
    .mobile-search--v2 .mobile-search__back svg,
    .mobile-search--v2 .mobile-search__close svg { width: 22px; height: 22px; }
    .mobile-search--v2 .mobile-search__close { background: #f1eef8; }
    .mobile-search--v2 .mobile-search__form { margin: 0; padding: 18px 16px 14px; background: #fff; border-bottom: 1px solid #e3e0ea; }
    .mobile-search__intents { margin: 0 0 16px; padding: 0; border: 0; }
    .mobile-search__intents legend { margin: 0 0 8px; color: #676277; font-size: .74rem; font-weight: 800; }
    .mobile-search__intents > div { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 4px; scrollbar-width: none; }
    .mobile-search__intents > div::-webkit-scrollbar { display: none; }
    .mobile-search__intents button { flex: 0 0 auto; min-height: 38px; padding: 7px 12px; color: #4f4960; background: #f4f2f8; border: 1px solid #ded9e8; border-radius: 999px; font-size: .78rem; font-weight: 800; }
    .mobile-search__intents button.is-active { color: #fff; background: #4f2acb; border-color: #4f2acb; }
    .mobile-search--v2 .mobile-search__label { margin-bottom: 7px; color: #2c2638; font-size: .8rem; font-weight: 800; }
    .mobile-search--v2 .mobile-search__field { grid-template-columns: 27px minmax(0,1fr); min-height: 62px; padding: 4px 12px 4px 13px; background: #fff; border: 2px solid #cfc7e3; border-radius: 16px; }
    .mobile-search--v2 .mobile-search__field-icon { width: 20px; height: 20px; color: #4f2acb; }
    .mobile-search--v2 .mobile-search__field input { height: 50px; padding: 0 6px; font-size: 1rem; font-weight: 650; }
    .mobile-search__hint { min-height: 18px; margin: 6px 2px 10px; color: #6d6678; font-size: .72rem; line-height: 1.4; }
    .mobile-search__hint.is-match { color: #126b4b; font-weight: 800; }
    .mobile-search__submit { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 8px; color: #fff; background: #4f2acb; border: 0; border-radius: 13px; font-size: .92rem; font-weight: 850; }
    .mobile-search__submit svg { width: 19px; height: 19px; }
    .mobile-search__examples { display: flex; gap: 7px; align-items: center; overflow-x: auto; margin-top: 12px; color: #716b7b; font-size: .7rem; scrollbar-width: none; }
    .mobile-search__examples::-webkit-scrollbar { display: none; }
    .mobile-search__examples > span { flex: 0 0 auto; font-weight: 800; }
    .mobile-search__examples button { flex: 0 0 auto; min-height: 32px; padding: 5px 9px; color: #4323ad; background: #f2effc; border: 1px solid #ddd5f6; border-radius: 9px; font-size: .7rem; font-weight: 750; }
    .mobile-search__recent { padding: 14px 16px 5px; background: #fff; border-bottom: 1px solid #e3e0ea; }
    .mobile-search__recent > div { display: flex; align-items: center; justify-content: space-between; }
    .mobile-search__recent p { margin: 0; color: #676277; font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
    .mobile-search__recent > div button { min-height: 34px; padding: 4px 8px; color: #4f2acb; background: transparent; border: 0; font-size: .72rem; font-weight: 800; }
    .mobile-search__recent ul { display: flex; gap: 7px; overflow-x: auto; margin: 7px 0 9px; padding: 0 0 2px; list-style: none; scrollbar-width: none; }
    .mobile-search__recent li { flex: 0 0 auto; }
    .mobile-search__recent li button { min-height: 36px; max-width: 210px; overflow: hidden; padding: 6px 11px; color: #302a3b; background: #f5f3f8; border: 1px solid #e1ddea; border-radius: 10px; font-size: .76rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-search--v2 .mobile-search__quick { padding: 15px 16px calc(28px + env(safe-area-inset-bottom,0px)); }
    .mobile-search--v2 .mobile-search__quick > p { margin-bottom: 4px; }
    .mobile-search--v2 .mobile-search__quick > a { min-height: 67px; }
    .mobile-search--v2 .mobile-search__quick b { display: grid; width: 42px; height: 42px; place-items: center; }
    .mobile-search--v2 .mobile-search__quick b svg { width: 22px; height: 22px; }
    .mobile-search--v2 .mobile-search__quick i { font-size: 1.3rem; }
    .mobile-search--v2 button:focus-visible,
    .mobile-search--v2 a:focus-visible,
    .mobile-search--v2 input:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
}

@media (max-width: 380px) {
    .mobile-search--v2 .mobile-search__field { grid-template-columns: 25px minmax(0,1fr); }
    .mobile-search__intents button { padding-right: 10px; padding-left: 10px; }
}

@media (min-width: 821px) {
    body.mobile-search-open { overflow: hidden; }
    .mobile-search--v2 { position: fixed; z-index: 12000; inset: 0; display: block; overflow-y: auto; padding: max(42px,7vh) 24px; background: rgba(20,14,38,.6); backdrop-filter: blur(7px); animation: desktop-search-backdrop .18s ease-out; }
    .mobile-search--v2 svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
    .mobile-search--v2 > * { width: min(100%,760px); margin-right: auto; margin-left: auto; box-sizing: border-box; }
    .mobile-search--v2 .mobile-search__bar { position: relative; display: flex; height: 72px; align-items: center; gap: 12px; padding: 0 18px; background: #fff; border-bottom: 1px solid #e3e0ea; border-radius: 20px 20px 0 0; box-shadow: 0 20px 65px rgba(16,10,35,.24); }
    .mobile-search--v2 .mobile-search__bar > div { min-width: 0; flex: 1; }
    .mobile-search--v2 .mobile-search__bar small { display: block; color: #716a7d; font-size: .65rem; font-weight: 750; }
    .mobile-search--v2 .mobile-search__bar h2 { margin: 1px 0 0; font-size: 1.12rem; }
    .mobile-search--v2 .mobile-search__back { display: none; }
    .mobile-search--v2 .mobile-search__close { display: grid; width: 42px; height: 42px; min-height: 42px; padding: 0; place-items: center; color: #302a3b; background: #f2eff8; border: 0; border-radius: 12px; }
    .mobile-search--v2 .mobile-search__close svg { width: 21px; height: 21px; }
    .mobile-search--v2 .mobile-search__form { padding: 22px 24px 18px; background: #fff; }
    .mobile-search--v2 .mobile-search__intents { margin: 0 0 17px; padding: 0; border: 0; }
    .mobile-search--v2 .mobile-search__intents legend { margin-bottom: 8px; color: #676277; font-size: .75rem; font-weight: 800; }
    .mobile-search--v2 .mobile-search__intents > div { display: flex; gap: 8px; }
    .mobile-search--v2 .mobile-search__intents button { min-height: 38px; padding: 7px 13px; color: #4f4960; background: #f4f2f8; border: 1px solid #ded9e8; border-radius: 999px; font-size: .78rem; font-weight: 800; }
    .mobile-search--v2 .mobile-search__intents button.is-active { color: #fff; background: #4f2acb; border-color: #4f2acb; }
    .mobile-search--v2 .mobile-search__label { display: block; margin-bottom: 7px; color: #2c2638; font-size: .82rem; font-weight: 800; }
    .mobile-search--v2 .mobile-search__field { display: grid; min-height: 62px; grid-template-columns: 30px minmax(0,1fr); align-items: center; padding: 4px 14px; background: #fff; border: 2px solid #cfc7e3; border-radius: 15px; }
    .mobile-search--v2 .mobile-search__field:focus-within { border-color: #4f2acb; box-shadow: 0 0 0 4px rgba(79,42,203,.12); }
    .mobile-search--v2 .mobile-search__field-icon { width: 21px; height: 21px; color: #4f2acb; }
    .mobile-search--v2 .mobile-search__field input { min-width: 0; height: 52px; padding: 0 7px; background: transparent; border: 0; outline: 0; font-size: 1.05rem; font-weight: 650; }
    .mobile-search--v2 .mobile-search__hint { min-height: 18px; margin: 7px 2px 11px; color: #6d6678; font-size: .73rem; }
    .mobile-search--v2 .mobile-search__hint.is-match { color: #126b4b; font-weight: 800; }
    .mobile-search--v2 .mobile-search__submit { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 8px; color: #fff; background: #4f2acb; border: 0; border-radius: 12px; font-size: .92rem; font-weight: 850; }
    .mobile-search--v2 .mobile-search__submit svg { width: 19px; height: 19px; }
    .mobile-search--v2 .mobile-search__examples { display: flex; gap: 8px; align-items: center; margin-top: 12px; color: #716b7b; font-size: .72rem; }
    .mobile-search--v2 .mobile-search__examples > span { font-weight: 800; }
    .mobile-search--v2 .mobile-search__examples button { min-height: 32px; padding: 5px 10px; color: #4323ad; background: #f2effc; border: 1px solid #ddd5f6; border-radius: 9px; font-size: .72rem; font-weight: 750; }
    .mobile-search--v2 .mobile-search__recent { padding: 12px 24px; background: #fff; border-top: 1px solid #eeeaf4; }
    .mobile-search--v2 .mobile-search__recent > div { display: flex; justify-content: space-between; align-items: center; }
    .mobile-search--v2 .mobile-search__recent p { margin: 0; color: #676277; font-size: .7rem; font-weight: 850; text-transform: uppercase; }
    .mobile-search--v2 .mobile-search__recent > div button { color: #4f2acb; background: transparent; border: 0; font-size: .72rem; font-weight: 800; }
    .mobile-search--v2 .mobile-search__recent ul { display: flex; gap: 7px; margin: 8px 0 0; padding: 0; list-style: none; }
    .mobile-search--v2 .mobile-search__recent li button { min-height: 34px; padding: 5px 10px; color: #302a3b; background: #f5f3f8; border: 1px solid #e1ddea; border-radius: 9px; font-size: .74rem; }
    .mobile-search--v2 .mobile-search__quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; padding: 14px 24px 22px; background: #e3e0ea; border-radius: 0 0 20px 20px; box-shadow: 0 25px 65px rgba(16,10,35,.24); }
    .mobile-search--v2 .mobile-search__quick > p { grid-column: 1/-1; margin: -14px -24px 0; padding: 12px 24px 8px; color: #676277; background: #fff; font-size: .7rem; font-weight: 850; text-transform: uppercase; }
    .mobile-search--v2 .mobile-search__quick > a { display: grid; min-height: 108px; grid-template-columns: 42px 1fr; gap: 9px; align-items: center; padding: 13px; color: #211d2d; background: #fff; text-decoration: none; }
    .mobile-search--v2 .mobile-search__quick b { display: grid; width: 42px; height: 42px; place-items: center; color: #4f2acb; background: #f1edff; border-radius: 11px; }
    .mobile-search--v2 .mobile-search__quick b svg { width: 22px; height: 22px; }
    .mobile-search--v2 .mobile-search__quick span { min-width: 0; }
    .mobile-search--v2 .mobile-search__quick strong,.mobile-search--v2 .mobile-search__quick small { display: block; }
    .mobile-search--v2 .mobile-search__quick strong { font-size: .8rem; }
    .mobile-search--v2 .mobile-search__quick small { margin-top: 3px; color: #716b7b; font-size: .67rem; line-height: 1.35; }
    .mobile-search--v2 .mobile-search__quick i { display: none; }
    .mobile-search--v2 button:focus-visible,.mobile-search--v2 a:focus-visible,.mobile-search--v2 input:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
    @keyframes desktop-search-backdrop { from { opacity: 0; } to { opacity: 1; } }
}
