.overlay { position: fixed; inset: 0; z-index: 700; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; } .panel { width: 400px; max-width: 100%; height: 100%; background: rgba(8, 8, 14, 0.97); border-left: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; animation: slideIn 0.2s ease; } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* ── Header ───────────────────────────────────────────────────────────────── */ .panelHeader { display: flex; align-items: center; justify-content: space-between; padding: 68px 20px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); flex-shrink: 0; } .title { margin: 0; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 0.02em; } .closeBtn { background: none; border: none; color: rgba(255, 255, 255, 0.4); font-size: 18px; cursor: pointer; padding: 4px; line-height: 1; transition: color 0.12s; } .closeBtn:hover { color: #fff; } /* ── Body ─────────────────────────────────────────────────────────────────── */ .body { flex: 1; overflow-y: auto; padding: 8px 0; } .state { padding: 20px; margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.35); text-align: center; } .errorState { padding: 20px; margin: 0; font-size: 13px; color: rgba(248, 113, 113, 0.8); text-align: center; line-height: 1.5; } /* ── Row ──────────────────────────────────────────────────────────────────── */ .row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.12s; } .row:hover { background: rgba(255, 255, 255, 0.03); } .row:last-child { border-bottom: none; } .rowMain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .rowTop { display: flex; align-items: center; gap: 8px; } .rowName { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .youBadge { flex-shrink: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 4px; background: rgba(245, 158, 11, 0.15); color: #f59e0b; } .creator { font-size: 12px; color: rgba(255, 255, 255, 0.35); } .ratingRow { display: flex; align-items: center; } .viewBtn { flex-shrink: 0; padding: 6px 14px; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 7px; color: #f59e0b; font-size: 12px; font-weight: 500; cursor: pointer; transition: background 0.12s; } .viewBtn:hover { background: rgba(245, 158, 11, 0.18); }