/* Search / Playlist */
/* 8. Search / Playlist */
#search-screen,
#playlist-screen,
#playlists-screen{
  position: fixed;
  inset: 0;
  z-index: 3001;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  color: var(--text-color);
  overflow: hidden;
}

.search-screen-page,
.playlist-screen-page{
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.search-screen-body{
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#search-screen.hidden,
#playlist-screen.hidden,
#playlists-screen.hidden{
  display: none !important;
}

/* ========= Search sheet ========= */
.search-sheet{
  position: fixed;
  inset: 0;
  z-index: 3500;
  pointer-events: none;
}

.search-sheet-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .18s ease;
}

.search-sheet-panel{
  position:absolute;
  inset: 0;
  background: var(--app-bg);
  color: var(--text-color);
  transform: translateY(100%);
  transition: transform .22s ease;
  display:flex;
  flex-direction: column;
  padding-top: calc(env(safe-area-inset-top, 0px));
}

.search-sheet.is-open{ pointer-events: auto; }
.search-sheet.is-open .search-sheet-backdrop{ opacity: 1; }
.search-sheet.is-open .search-sheet-panel{ transform: translateY(0); }

.search-sheet-top{
  display:flex;
  align-items:center;
  gap: 0;
  padding: 12px 12px;
  padding-top: calc(var(--tg-top, var(--safe-top, 0px)) + 8px);
  border-bottom: none;
}

.search-sheet-top.no-back{
  padding-left: 16px;
}
.search-sheet-top.no-back .search-sheet-back{
  display: none;
}

.search-sheet-back,
.search-sheet-voice{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  font-size: 0;
  color: var(--text-color);
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.search-sheet-voice svg{
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
  opacity: .85;
}

.search-sheet-voice.is-disabled{
  opacity: .45;
}

.search-sheet-voice.is-listening{
  color: var(--accent-color);
}

.search-sheet-voice.is-listening::after{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  animation: mgPulse 1.1s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mgPulse{
  0%,100%{ opacity:.35; transform: scale(1); }
  50%{ opacity:.75; transform: scale(1.04); }
}

.search-sheet-box{
  flex: 1;
  min-width: 0;
  position: relative;
}

.search-sheet-voice--inline{
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: var(--tg-hint-color, #888);
  z-index: 2;
}

#search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 52px 0 46px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);
  color: var(--tg-text-color, #000);
  width: 100%;
  outline: none;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 20px;
}

#search-input:focus{
  border-color: rgba(0,0,0,.10);
  box-shadow: none;
}

#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

@keyframes spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.search-action{
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--tg-hint-color, #888);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.search-action:active{
  transform: translateY(-50%);
  background: transparent;
}

.search-action svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.search-action.is-loading svg{ animation: spin 0.9s linear infinite; }

.search-sheet-body{
  flex: 1;
  min-height: 0;
  overflow: auto;
  display:flex;
  flex-direction: column;
  padding-bottom: calc(var(--safe-bottom) + 12px);
  -webkit-overflow-scrolling: touch;
  background: transparent;
}

.search-sheet-content{
  padding: 12px 16px 0;
  flex: 1;
  min-height: 0;
}

#search-results{
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  padding: 8px 0 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom) + var(--player-h, 0px));
}

/* ========= Results list ========= */
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  margin: 8px 0;
  cursor: pointer;
  position: relative;

  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
  background: var(--tg-secondary-bg-color, rgba(255,255,255,.88));

  box-shadow: 0 1px 0 rgba(0,0,0,0.04);

  transition: transform 0.08s ease, background 0.2s ease, border-color 0.2s ease;
}

.search-item:hover { background: color-mix(in srgb, var(--tg-secondary-bg-color, rgba(255,255,255,.88)) 92%, var(--text-color) 8%); }
.search-item:active { transform: none; }

.thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 999px;
  flex: 0 0 52px;
  background: color-mix(in srgb, var(--tg-secondary-bg-color, #f5f5f5) 70%, transparent);
}

.track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--tg-link-color, var(--accent-color));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  color: var(--tg-hint-color, #888);
  font-size: 12px;
  opacity: 0.95;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-duration {
  font-size: 11px;
  opacity: 0.85;
  color: var(--tg-hint-color, #888);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-duration:empty {
  display: none;
}
.src-ico{
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  line-height: 0;
}

.src-ico svg{
  width: 100%;
  height: 100%;
  display: block;
}

.track-actions{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-more{
  appearance: none;
  background: transparent;
  border: none;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.track-more svg{
  width: 20px;
  height: 20px;
  fill: var(--tg-hint-color);
  opacity: 0.8;
}

.track-more:active{
  opacity: 0.6;
}

.history-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 4px 10px;
  padding: 10px 10px;
  border: none;
  background: transparent;
  color: var(--tg-link-color, var(--accent-color));
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.95;
}

.history-link:active{ opacity: 0.75; }



body.dark .search-item,
body.dark #search-input,
body.dark .mg-history-item{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
body.dark .mg-thumb-card,
body.dark .playlist-page-card{
  background: var(--tg-secondary-bg-color, rgba(255,255,255,.88));
  border-color: rgba(255,255,255,.08);
}

.playlists-page-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}
.playlists-group{
  gap: 0;
}
.playlists-group .settings-group-title{
  padding-bottom: 10px;
}

.playlist-track-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}
.playlist-page-card{
  width: 100%;
  border: none;
  background: var(--tg-secondary-bg-color, rgba(255,255,255,.88));
  border-radius: 22px;
  padding: 0 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--text-color);
  -webkit-tap-highlight-color: transparent;
}
.playlist-page-card-icon{
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--playlist-accent, color-mix(in srgb, var(--brand-blue) 76%, var(--brand-purple) 24%));
  color: #fff;
  flex: 0 0 28px;
  box-shadow: none;
}
.playlist-page-card-icon svg{ width: 18px; height: 18px; }
.playlist-page-card-body{ flex: 1; min-width: 0; display:flex; align-items:center; gap:12px; }
.playlist-page-card-title{ color: inherit; font-size: 17px; font-weight: 400; line-height: 1.28; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.playlist-page-card-subtitle{ margin-top: 0; margin-left: auto; color: var(--tg-hint-color, #8e8e93); font-size: 17px; font-weight: 400; white-space: nowrap; }
.playlist-page-card-arrow{ font-size: 22px; line-height:1; color: var(--tg-hint-color, #c7c7cc); opacity: 1; }
.playlist-page-card:active{ opacity: 1; }

.play-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--accent-grad);
  color: var(--accent-text, #fff);
  transition: transform .15s ease, opacity .15s ease, box-shadow .2s ease;
  margin-left: auto;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.play-btn:active { transform: scale(0.96); box-shadow: 0 4px 12px rgba(0,0,0,0.10); }
.play-btn[data-state="playing"] { box-shadow: 0 0 0 3px rgba(0,0,0,.05) inset; }
.play-btn[data-state="loading"] svg{ animation: spin 0.9s linear infinite; }

.play-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.search-item audio,
.search-item iframe {
  margin-top: 8px;
  width: 100%;
  border-radius: 8px;
}

.loading-dots::after {
  content: '';
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: dots 1s steps(3, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* ========= Placeholder (Search) ========= */
.search-placeholder{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0 18px;
}

.mg-ph-section{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mg-ph-title{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--tg-hint-color, #8e8e93);
  padding: 0 8px 10px;
}

.mg-thumb-row{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px;
  scroll-snap-type: x mandatory;
}

.mg-thumb-row::-webkit-scrollbar{ height: 0; }

.mg-thumb-card{
  appearance: none;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--tg-secondary-bg-color, rgba(255,255,255,.88));
  color: var(--text-color);
  border-radius: 16px;
  padding: 0;
  flex: 0 0 auto;
  width: 118px;
  text-align: left;
  overflow: hidden;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.mg-thumb-card:active{ transform: none; }

.mg-thumb{
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
  background: rgba(0,0,0,.06);
}

.mg-thumb-cap{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 10px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .98;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.68) 100%);
}

.mg-history{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mg-history-item{
  appearance: none;
  border: 0;
  background: var(--tg-secondary-bg-color, rgba(255,255,255,.88));
  color: var(--text-color);
  border-radius: 0;
  padding: 0 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.mg-history > .mg-history-item:first-child{
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.mg-history > .mg-history-item:last-child{
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
.mg-history > .mg-history-item + .mg-history-item::before{
  content:'';
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background: rgba(60,60,67,.12);
}
body.dark .mg-history > .mg-history-item + .mg-history-item::before{
  background: rgba(84,84,88,.35);
}

.mg-history-item:active{ background: var(--tg-secondary-bg-color, rgba(255,255,255,.88)); }

.mg-ico{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(127,127,127,0.10);
  font-size: 14px;
  flex: 0 0 auto;
}

.mg-text{
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-go{
  flex: 0 0 auto;
  opacity: .6;
  font-size: 16px;
}

.mg-empty-note{
  font-size: 13px;
  opacity: .65;
  padding: 4px 8px 0;
  font-weight: 700;
}

.sk{
  background: rgba(127,127,127,0.12);
  position: relative;
  overflow: hidden;
}
.sk::after{
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: skShimmer 1.1s infinite;
}
@keyframes skShimmer { to { transform: translateX(120%); } }

.mg-thumb.sk{ height: 78px; }
.mg-thumb-cap.sk{ height: 14px; margin: 10px; border-radius: 10px; }
.mg-history-item.sk{ border-color: rgba(0,0,0,0.04); }
.mg-history-item.sk .mg-ico.sk{ width: 26px; height: 26px; border-radius: 9px; }
.mg-history-item.sk .mg-text.sk{ height: 14px; border-radius: 10px; width: 70%; }
.mg-history-item.sk .mg-go.sk{ width: 18px; height: 18px; border-radius: 6px; margin-left: auto; }

@media (prefers-color-scheme: dark){
  .mg-thumb-card{ border-color: rgba(255,255,255,.10); }
  .mg-history-item{ border-color: rgba(255,255,255,.10); }
  .mg-ico{ background: rgba(255,255,255,.10); }
  .sk{ background: rgba(255,255,255,0.10); }
}


/* ========= Playlist sheet ========= */
.playlist-sheet-panel{
  background: var(--app-bg);
}

.playlist-sheet-box{
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}

.playlist-sheet-title-wrap{
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.playlist-sheet-title{
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-sheet-subtitle{
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tg-hint-color, #888);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ========= Playlist list polish ========= */
#playlist-results{
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom) + var(--player-h, 0px));
}

.playlist-page-homecard{
  width: 100%;
  aspect-ratio: auto;
  min-height: 120px;
}

/* 12. Dark tweaks / Media */
/* ========= Dark tweaks ========= */
body.dark .home-card--playlist{
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(48,230,220,.14) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(139,92,246,.16) 0%, transparent 58%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--bg-color) 92%, #111827 8%) 0%,
      color-mix(in srgb, var(--bg-color) 90%, #1f2937 10%) 100%);
  border-color: color-mix(in srgb, #fff 10%, transparent);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

body.dark .track-actions-source-chip{
  border-color: rgba(255,255,255,.08);
}

/* ========== Search loading skeletion ========= */
.search-skeleton{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sk-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.sk-cover{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  flex: 0 0 52px;
}

.sk-line{
  height: 10px;
  border-radius: 999px;
}

.sk-title{
  width: 68%;
}

.sk-sub{
  width: 42%;
  margin-top: 6px;
}

.search-skeleton .track-info{
  flex: 1;
  min-width: 0;
}

.search-empty{
  padding: 18px 4px;
  text-align: center;
  color: var(--tg-hint-color, #888);
  font-weight: 700;
  font-size: 14px;
}
.playlists-page-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding: 4px 0 12px;
}
.playlist-page-homecard{
  max-width: 172px;
}
#playlists-screen .settings-body,
#playlist-screen .search-screen-body,
#search-screen .search-screen-body{
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
body[data-theme="system"] .settings-row,
body[data-theme="system"] .search-item,
body[data-theme="system"] .profile-page-card,
body[data-theme="system"] .home-card--playlist,
body[data-theme="system"] .track-actions-panel,
body[data-theme="system"] .mini-player{
  box-shadow: none;
}


#profile-screen .settings-body,
#feedback-screen .settings-body,
#playlists-screen .settings-body{
  overscroll-behavior-y: contain;
}

#profile-screen .settings-body::after,
#playlists-screen .settings-body::after{
  content: '';
  display: block;
  flex: 0 0 auto;
  height: max(180px, 34vh);
}

#feedback-screen .settings-body::after{
  content: '';
  display: block;
  flex: 0 0 auto;
  height: calc(max(180px, 34vh) + var(--player-h, 0px));
}


.history-section-title{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--tg-hint-color, #8e8e93);
  padding: 0 8px 10px;
  background: transparent;
}

#history-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}

#playlist-screen .search-screen-body{
  padding: 12px 16px 0;
}

#playlist-screen #playlist-results{
  padding-top: 0;
}

#home-results > .home{
  width: 100%;
}

#home-results > .home .home-section{
  width: 100%;
}

#playlist-results.playlist-track-list{
  background: transparent;
}
#playlist-results .search-item{
  margin: 0;
  border-radius: 0;
  border-width: 0;
  box-shadow: none;
}
#playlist-results .search-item:first-child{
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
#playlist-results .search-item:last-child{
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
#playlist-results .search-item + .search-item::before{
  content:'';
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background: rgba(60,60,67,.12);
}
body.dark #playlist-results .search-item + .search-item::before{
  background: rgba(84,84,88,.35);
}

#feedback-screen .feedback-page-actions{
  padding-bottom: calc(6px + var(--safe-bottom));
}

#playlist-results.playlist-track-list .search-item,
#history-list .search-item,
#home-recent .search-item {
  margin: 0;
  border-radius: 0;
  border-width: 0;
  box-shadow: none;
  background: var(--tg-secondary-bg-color, rgba(255,255,255,.88));
}
#playlist-results.playlist-track-list .search-item:first-child,
#history-list .search-item:first-child,
#home-recent .search-item:first-child {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
#playlist-results.playlist-track-list .search-item:last-child,
#history-list .search-item:last-child,
#home-recent .search-item:last-child {
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
#playlist-results.playlist-track-list .search-item + .search-item::before,
#history-list .search-item + .search-item::before,
#home-recent .search-item + .search-item::before {
  content:'';
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background: rgba(60,60,67,.12);
}
body.dark #playlist-results.playlist-track-list .search-item + .search-item::before,
body.dark #history-list .search-item + .search-item::before,
body.dark #home-recent .search-item + .search-item::before {
  background: rgba(84,84,88,.35);
}
#home-recent {
  display:flex;
  flex-direction:column;
  gap:0;
}
#home-recent .history-link{
  margin-top: 12px;
}


.mg-thumb-card--recent-track{
  width: 148px;
  border-radius: 18px;
}
.mg-thumb-card--recent-track .mg-thumb{
  height: 92px;
}
.mg-thumb-card--recent-track .mg-thumb-cap{
  font-size: 12px;
  font-weight: 700;
  padding: 26px 10px 10px;
}
.mg-thumb-card--recent-track .home-card-more{
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  z-index: 3;
}
.mg-thumb-card--recent-track .home-card-more svg{
  width: 16px;
  height: 16px;
}

.screen,
.app-screen,
#home-screen,
#settings-screen,
#profile-screen,
#feedback-screen,
#theme-screen,
#language-screen,
#search-screen,
#playlist-screen,
#playlists-screen {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

#home-results,
.settings-body,
.search-screen-body,
.search-sheet-body,
#search-results,
#playlist-results {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

.search-results-card{
  background: var(--tg-secondary-bg-color, #fff);
  border: 1px solid color-mix(in srgb, var(--text-color, #000) 8%, transparent);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

body.dark .search-results-card{
  border-color: rgba(255,255,255,.06);
}

.search-results-card .search-item{
  border-radius: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.search-results-card .search-item + .search-item::before{
  content:'';
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background: rgba(60,60,67,.12);
}

body.dark .search-results-card .search-item + .search-item::before{
  background: rgba(84,84,88,.35);
}

.search-results-card .search-skeleton{
  display: flex;
  flex-direction: column;
}

.search-results-card .sk-item{
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  min-height: 74px;
}

.search-results-card .sk-item + .sk-item::before{
  content:'';
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background: rgba(60,60,67,.12);
}

body.dark .search-results-card .sk-item + .sk-item::before{
  background: rgba(84,84,88,.35);
}