/* Liked-games panel — slides in from the left over the trending feed. */
.for-you-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  background: #07070d;
  transform: translateX(-100%);
  transition: transform 340ms cubic-bezier(.2,.8,.3,1);
  pointer-events: none;
  visibility: hidden;
}
.for-you-panel.open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.fy-header {
  flex-shrink: 0;
  padding: calc(env(safe-area-inset-top) + 56px) 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fy-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ff2e63 0%, #ff6b9d 55%, #ffb3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fy-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.fy-list-wrap {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 12px calc(env(safe-area-inset-bottom) + 88px);
}
.fy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fy-list.hidden { display: none; }

.fy-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 100ms cubic-bezier(.2,.8,.3,1),
    background 120ms ease,
    border-color 120ms ease,
    opacity 100ms ease;
}
.fy-item.bb-pressed {
  transform: scale(0.97);
  background: rgba(255,46,99,0.12);
  border-color: rgba(255,46,99,0.35);
  opacity: 0.92;
}

.fy-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.fy-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fy-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fy-score {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.fy-score b {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fy-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.28);
}

.fy-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
  color: rgba(255,255,255,0.55);
}
.fy-empty.hidden { display: none; }
.fy-empty-icon { font-size: 40px; line-height: 1; }
.fy-empty p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.fy-empty-hint {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.45) !important;
  max-width: 220px;
  line-height: 1.45;
}

body.for-you-open #feed {
  pointer-events: none;
}
