.ave-sp, .ave-sp * { box-sizing: border-box; font-style: normal; }
.ave-sp { position: fixed; inset: 0; z-index: 2147483000; display: flex; justify-content: center; align-items: flex-start; padding: clamp(16px, 9vh, 140px) 16px 16px; background: rgba(18, 18, 20, .62); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s; font-family: Montserrat, Arial, sans-serif; font-size: clamp(15px, 1vw, 22px); line-height: 1.4; color: #1d1d1f; }
.ave-sp--open { opacity: 1; visibility: visible; transition: opacity .18s ease; }
.ave-sp__panel { display: flex; flex-direction: column; width: 100%; max-width: clamp(640px, 46vw, 1200px); max-height: 100%; padding: clamp(20px, 1.8vw, 42px); border-radius: clamp(16px, 1.2vw, 26px); background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); transform: translateY(-10px); transition: transform .18s ease; }
.ave-sp--open .ave-sp__panel { transform: none; }
.ave-sp__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 .9em; }
.ave-sp__title { margin: 0; font-size: 1.45em; font-weight: 800; line-height: 1.2; color: #1d1d1f; }
.ave-sp__close { flex: none; display: flex; align-items: center; justify-content: center; width: 2.4em; height: 2.4em; padding: 0; border: 0; border-radius: 50%; background: #eff0f2; color: #1d1d1f; cursor: pointer; }
.ave-sp__close:hover { background: #de3533; color: #fff; }
.ave-sp__close svg { display: block; width: 42%; height: 42%; }
.ave-sp__form { display: flex; gap: .7em; margin: 0 0 .8em; }
.ave-sp__input { flex: 1; min-width: 0; height: 3.5em; margin: 0; padding: 0 1.1em; border: 2px solid #e2e3e6; border-radius: .8em; background: #fff; font: inherit; color: #1d1d1f; outline: 0; box-shadow: none; }
.ave-sp__input:focus { border-color: #de3533; }
.ave-sp__btn { flex: none; height: 3.5em; padding: 0 1.8em; border: 0; border-radius: .8em; background: #de3533; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ave-sp__btn:hover { background: #c32a28; }
.ave-sp__tags { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 .9em; }
.ave-sp__tag { padding: .45em .9em; border: 0; border-radius: .6em; background: #eff0f2; color: #1d1d1f; font: inherit; font-size: .9em; font-weight: 600; cursor: pointer; }
.ave-sp__tag:hover { background: #de3533; color: #fff; }
.ave-sp__st { min-height: 1.4em; margin: 0 0 .5em; font-weight: 600; color: #5c5f66; }
.ave-sp__st a { color: #de3533; }
.ave-sp__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -.6em; }
.ave-sp__item { display: block; padding: .7em .6em; border-radius: .7em; color: #1d1d1f !important; text-decoration: none !important; }
.ave-sp__item:hover, .ave-sp__item:focus-visible { background: #f5f5f7; outline: 0; }
.ave-sp__type { display: block; margin: 0 0 .15em; color: #de3533; font-size: .72em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ave-sp__name { display: block; font-weight: 700; line-height: 1.3; }
.ave-sp__all { display: none; margin: .8em 0 0; text-align: center; color: #de3533 !important; font-weight: 700; text-decoration: none !important; }
.ave-sp__all:hover { text-decoration: underline !important; }
.ave-sp__all--on { display: block; }
@media (max-width: 760px) {
  .ave-sp { padding: 10px; font-size: 15px; }
  .ave-sp__panel { max-width: none; padding: 16px; }
  .ave-sp__input { font-size: 16px; }
  .ave-sp__btn { padding: 0 1.1em; }
}
@media (prefers-reduced-motion: reduce) {
  .ave-sp, .ave-sp__panel { transition: none; }
}

.ave-sp__list .ave-sp__item { position: relative; display: flex; gap: .85em; padding: .65em .6em; border-radius: .7em; }
.ave-sp__list .ave-sp__item:hover { background: #f5f5f7; }
.ave-sp__thumb { flex: none; width: 6.4em; aspect-ratio: 16 / 10; border-radius: .5em; overflow: hidden; background: #f1f1f3; }
.ave-sp__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ave-sp__body { flex: 1; min-width: 0; }
.ave-sp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .7em; margin: 0 0 .2em; color: #7a7d85; font-size: .8em; }
.ave-sp__meta .ave-sp__type { margin: 0; font-size: .9em; }
.ave-sp__name { color: #1d1d1f !important; text-decoration: none !important; }
.ave-sp__name::after { content: ""; position: absolute; inset: 0; border-radius: .7em; }
.ave-sp__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; margin-top: .2em; color: #5c5f66; font-size: .86em; }
.ave-sp__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .35em; margin-top: .4em; }
.ave-sp__chip { padding: .12em .55em; border-radius: .45em; background: #eff0f2; color: #1d1d1f !important; font-size: .76em; font-weight: 600; text-decoration: none !important; }
.ave-sp__chip:hover { background: #de3533; color: #fff !important; }
@media (max-width: 760px) { .ave-sp__thumb { width: 5.2em; } }
