/* Centralized canvas-like panel */
.search-canvas{
  width:min(920px, 94vw);
  margin:0 auto;
  background:transparent; /* invisible background */
  border:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.search-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:rgba(255,255,255,0.8);
  padding:0 4px;
}
.result-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow-y:auto;
  max-height:calc(100vh - var(--topbar-height) - 60px);
  padding-right:4px;
}
.result-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px;
  border:1px solid rgba(255,255,255,0.06);
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
}
.result-thumb{
  flex:0 0 96px;
  width:96px; height:54px;
  border-radius:8px;
  overflow:hidden;
  background:#000;
  border:1px solid rgba(255,255,255,0.06);
}
.result-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.result-info{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.result-title{
  font-size:13px; font-weight:700; color:#fff;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.result-meta{ font-size:11px; color:rgba(255,255,255,0.75); display:flex; gap:8px; }
.rec-strip{
  display:flex; gap:8px; flex-wrap:wrap; padding:2px 4px;
  align-items:center;
}
.rec-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:30px;
  padding:0 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  background:linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.05) 100%);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.1px;
  line-height:30px;
  white-space:nowrap;
  cursor:pointer;
  transition:transform .12s ease, background .14s ease, box-shadow .14s ease, border-color .14s ease, filter .14s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow:0 6px 18px rgba(0,0,0,0.35);
}
.rec-chip:hover{
  background:linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.08) 100%);
  transform:translateY(-1px);
  border-color:rgba(255,255,255,0.18);
  box-shadow:0 10px 28px rgba(0,0,0,0.45);
}
.rec-chip:active{
  transform:translateY(0) scale(0.98);
  filter:saturate(110%);
}
.rec-chip:focus{
  outline:none;
  box-shadow:0 0 0 4px rgba(255,255,255,0.10), 0 8px 22px rgba(0,0,0,0.5);
}
.rec-chip.active{
  background:linear-gradient(180deg, #e11d48 0%, #b91c1c 100%);
  border-color:rgba(255,255,255,0.22);
  box-shadow:0 12px 32px rgba(185,28,28,0.35);
}
.rec-chip svg{
  width:16px; height:16px;
  display:block;
  color:#fff;
  opacity:0.95;
}