/* ===== For You recommendations ===== */
.for-you-row{
  width:100%;
  max-width:720px;
  margin:8px auto 2px;
  display:flex;
  justify-content:flex-end;
  padding-right:0;
}
.for-you-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  transition:border-color .18s ease, background .18s ease, transform .18s ease, opacity .18s ease;
}
.for-you-btn:hover{
  border-color:rgba(154,139,255,.58);
  background:rgba(154,139,255,.16);
  transform:translateY(-1px);
}
.for-you-btn[aria-pressed="true"],
.for-you-btn.is-active{
  border-color:rgba(154,139,255,.72);
  background:rgba(154,139,255,.22);
}
.for-you-btn .material-symbols-outlined{ font-size:19px; }

.for-you-wrap{
  width:100%;
  display:grid;
  gap:14px;
  position:relative;
}
.for-you-head{
  width:100%;
  max-width:900px;
  margin:0 auto;
  display:grid;
  gap:5px;
  text-align:center;
}
.for-you-title{
  margin:0;
  font-size:clamp(20px, 3vw, 30px);
  line-height:1.15;
}
.for-you-copy{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.for-you-grid-wrap{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  position:relative;
}
.for-you-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(9, minmax(0, 1fr));
  gap:8px;
  transition:filter .2s ease, opacity .2s ease, transform .2s ease;
}
.for-you-grid.is-blurred{
  filter:blur(8px) saturate(.86);
  opacity:.46;
  pointer-events:none;
  transform:scale(.992);
}
.for-you-card{
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(255,255,255,.035);
  cursor:pointer;
  padding:0;
  color:var(--text);
  display:grid;
  place-items:center;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.for-you-card:hover{
  border-color:rgba(255,255,255,.34);
  background:rgba(255,255,255,.07);
  transform:translateY(-1px);
}
.for-you-card:focus-visible{
  outline:2px solid rgba(255,255,255,.35);
  outline-offset:3px;
}
.for-you-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:rgba(255,255,255,.025);
}
.for-you-card-meta{
  position:absolute;
  left:5px;
  right:5px;
  bottom:5px;
  padding:4px 5px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.75);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.for-you-empty{
  max-width:760px;
  margin:0 auto;
  border:1px dashed var(--border);
  border-radius:var(--radius);
  padding:22px;
  color:var(--muted);
  text-align:center;
  line-height:1.5;
}
.for-you-popover{
  position:fixed;
  inset:0;
  z-index:2350;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.18);
}
.for-you-popover.open{ display:flex; }
.for-you-popover-card{
  width:min(92vw, 360px);
  display:grid;
  gap:12px;
  justify-items:center;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg, rgba(21,23,26,.92) 0%, rgba(16,17,20,.96) 100%);
  box-shadow:0 24px 70px rgba(0,0,0,.62);
}
.for-you-popover-media{
  width:100%;
  max-width:320px;
  aspect-ratio:3/4;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.10);
}
.for-you-popover-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.for-you-popover-title{
  width:100%;
  display:grid;
  gap:3px;
  text-align:center;
  font-size:13px;
  line-height:1.35;
}
.for-you-popover-title strong{ font-size:14px; }
.for-you-popover-title span{ color:var(--muted); }
.for-you-actions{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-top:2px;
}
.for-you-action{
  appearance:none;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.94);
  cursor:pointer;
  padding:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .15s ease, opacity .15s ease, color .15s ease;
}
.for-you-action .material-symbols-outlined{
  font-size:30px;
  line-height:1;
}
.for-you-action:hover{
  transform:translateY(-1px) scale(1.05);
  color:#fff;
}
.for-you-action:active{ transform:scale(.96); }
.for-you-action.is-active .material-symbols-outlined{
  font-variation-settings:'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.for-you-close{
  margin-left:auto;
}
.for-you-close .material-symbols-outlined{
  font-size:30px;
  line-height:1;
}
.for-you-loading{
  max-width:760px;
  margin:0 auto;
  padding:22px;
  color:var(--muted);
  text-align:center;
}
@media (max-width:900px){
  .for-you-grid{ grid-template-columns:repeat(6, minmax(0, 1fr)); gap:7px; }
}
@media (max-width:520px){
  .for-you-row{
    justify-content:center;
    margin-top:9px;
  }
  .for-you-btn{
    width:100%;
    max-width:220px;
  }
  .for-you-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:6px;
  }
  .for-you-card-meta{
    font-size:8px;
    left:4px;
    right:4px;
    bottom:4px;
  }
  .for-you-popover{
    align-items:center;
    justify-content:center;
    padding:14px;
  }
  .for-you-popover-card{
    width:min(94vw, 330px);
  }
}
